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