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