Edit esp-datacupboardfans.yaml
This commit is contained in:
@@ -624,20 +624,20 @@ mqtt:
|
||||
on_message:
|
||||
# Relay control
|
||||
- topic: "${mqtt_main_topic}/relay/set"
|
||||
payload: "ON"
|
||||
payload: "On"
|
||||
then:
|
||||
- switch.turn_on: fan_relay
|
||||
- topic: "${mqtt_main_topic}/relay/set"
|
||||
payload: "OFF"
|
||||
payload: "Off"
|
||||
then:
|
||||
- switch.turn_off: fan_relay
|
||||
|
||||
# Override control
|
||||
- topic: "${mqtt_main_topic}/override/set"
|
||||
payload: "ON"
|
||||
payload: "On"
|
||||
then:
|
||||
- switch.turn_on: override_fans_on
|
||||
- topic: "${mqtt_main_topic}/override/set"
|
||||
payload: "OFF"
|
||||
payload: "Off"
|
||||
then:
|
||||
- switch.turn_off: override_fans_on
|
||||
Reference in New Issue
Block a user