Water Sensor
- class st.zigbee.defaults.waterSensor
- zigbee_handlers: table
- attribute_configurations: table
- capability_handlers: table
- default_ias_zone_configuration: st.zigbee.defaults.waterSensor.IASZoneConfiguration
- static ias_zone_status_attr_handler(driver, device, zone_status, zb_rx)
Default handler for zoneStatus attribute on the IAS Zone cluster
This converts the 2 byte bitmap value to waterSensor.water.”dry” or waterSensor.water.”wet”
- Parameters
driver (
Driver
) – The current driver running containing necessary context for executiondevice (
st.zigbee.Device
) – The device this message was received from containing identifying informationzone_status (
st.zigbee.zcl.types.IasZoneStatus
) – 2 byte bitmap zoneStatus attribute value of the IAS Zone clusterzb_rx (
st.zigbee.ZigbeeMessageRx
) – the full message this report came in
- static ias_zone_status_change_handler(driver, device, zb_rx)
Default handler for zoneStatus change handler
This converts the 2 byte bitmap value to waterSensor.water.”dry” or waterSensor.water.”wet”
- Parameters
driver (
Driver
) – The current driver running containing necessary context for executiondevice (
st.zigbee.Device
) – The device this message was received from containing identifying informationzb_rx (
st.zigbee.ZigbeeMessageRx
) – containing zoneStatus attribute value of the IAS Zone cluster