Edit esp-officeelvcontrol.yaml

This commit is contained in:
ESPHome Device Builder
2026-07-25 21:56:34 +12:00
parent 8b1ccb4344
commit 476b5cffbb
+2 -2
View File
@@ -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