Edit esp-officeelvcontrol.yaml
This commit is contained in:
@@ -228,11 +228,11 @@ mqtt:
|
|||||||
on_message:
|
on_message:
|
||||||
# Relay 1 control
|
# Relay 1 control
|
||||||
- topic: "${mqtt_main_topic}/relay1/set"
|
- topic: "${mqtt_main_topic}/relay1/set"
|
||||||
payload: "ON"
|
payload: "On"
|
||||||
then:
|
then:
|
||||||
- switch.turn_on: relay1
|
- switch.turn_on: relay1
|
||||||
|
|
||||||
- topic: "${mqtt_main_topic}/relay1/set"
|
- topic: "${mqtt_main_topic}/relay1/set"
|
||||||
payload: "OFF"
|
payload: "Off"
|
||||||
then:
|
then:
|
||||||
- switch.turn_off: relay1
|
- switch.turn_off: relay1
|
||||||
|
|||||||
Reference in New Issue
Block a user