Tuya 872WZ
| Model | 872WZ |
| Vendor | Tuya |
| Description | Water level sensor |
| Exposes | liquid_state, liquid_level_percent, liquid_depth, max_set, min_set, liquid_depth_max, installation_height, silent_mode, alarm_duration |
| Picture | ![]() |
Exposes
Liquid state (enum)
Liquid level status. Value can be found in the published state on the liquid_state property. It's not possible to read (/get) or write (/set) this value. The possible values are: low, normal, high.
Liquid level percent (numeric)
Liquid level ratio. Value can be found in the published state on the liquid_level_percent property. It's not possible to read (/get) or write (/set) this value. The unit of this value is %.
Liquid depth (numeric)
Liquid depth. Value can be found in the published state on the liquid_depth property. It's not possible to read (/get) or write (/set) this value. The unit of this value is m.
Max set (numeric)
Liquid maximum percentage. Value can be found in the published state on the max_set property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"max_set": NEW_VALUE}. The minimal value is 0 and the maximum value is 100. The unit of this value is %.
Min set (numeric)
Liquid minimum percentage. Value can be found in the published state on the min_set property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"min_set": NEW_VALUE}. The minimal value is 0 and the maximum value is 100. The unit of this value is %.
Liquid depth max (numeric)
Distance from sensor to liquid surface. Value can be found in the published state on the liquid_depth_max property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"liquid_depth_max": NEW_VALUE}. The minimal value is 0 and the maximum value is 5. The unit of this value is m.
Installation height (numeric)
Distance from sensor to bottom of the tank. Value can be found in the published state on the installation_height property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"installation_height": NEW_VALUE}. The minimal value is 0 and the maximum value is 5. The unit of this value is m.
Silent mode (binary)
Mute the buzzer for all alarms. Value can be found in the published state on the silent_mode property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"silent_mode": NEW_VALUE}. If value equals ON silent mode is ON, if OFF OFF.
Alarm duration (numeric)
Value can be found in the published state on the alarm_duration property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"alarm_duration": NEW_VALUE}. The minimal value is 1 and the maximum value is 60. The unit of this value is min.

