Access to sensortype in automation module
-
- Posts: 15
- Joined: 05 Jan 2015 21:52
Access to sensortype in automation module
Is there a way to access the sensortype from within an automation module? I mean the digit and not the string, so for a electric meter this would be 0x01.
Re: Access to sensortype in automation module
No. HA is "top level" layer, where should be no Z-Wave terms and constants.
You can access it only in Z-Wave API
You can access it only in Z-Wave API
-
- Posts: 15
- Joined: 05 Jan 2015 21:52
Re: Access to sensortype in automation module
I got this solved as follows: global.zway.devices[nodeId].instances[instanceId].commandClasses[commandclass].data[scaleId].sensorType.value