TuYa TS0601_fan_switch

ModelTS0601_fan_switch
VendorTuYa
DescriptionFan switch
Exposesswitch (state), power_on_behavior, countdown, fan_speed, linkquality
PictureTuYa TS0601_fan_switch
White-labelLerlink T2-Z67/T2-W67

Exposes

Switch

The current state of this switch is in the published state under the state property (value is ON or OFF). To control this switch publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"state": "ON"}, {"state": "OFF"} or {"state": "TOGGLE"}. It's not possible to read (/get) this value.

Power-on behavior (enum)

Controls the behavior when the device is powered on after power loss. If you get an UNSUPPORTED_ATTRIBUTE error, the device does not support it.. Value can be found in the published state on the power_on_behavior 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 {"power_on_behavior": NEW_VALUE}. The possible values are: off, on.

Countdown (numeric)

Max ON time in seconds. Value can be found in the published state on the countdown 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 {"countdown": NEW_VALUE}. The minimal value is 0 and the maximum value is 43200. The unit of this value is s.

Fan speed (numeric)

Speed off the fan. Value can be found in the published state on the fan_speed 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 {"fan_speed": NEW_VALUE}. The minimal value is 1 and the maximum value is 5.

Linkquality (numeric)

Link quality (signal strength). Value can be found in the published state on the linkquality property. It's not possible to read (/get) or write (/set) this value. The minimal value is 0 and the maximum value is 255. The unit of this value is lqi.