Edit esp-3dprinterpow.yaml

This commit is contained in:
ESPHome Device Builder
2026-07-25 21:55:39 +12:00
parent c0b6f8bebd
commit 5e235fda4e
+4 -4
View File
@@ -224,12 +224,12 @@ logger:
mqtt: mqtt:
on_message: on_message:
- topic: "${mqtt_local_command_topic}" - topic: "${mqtt_local_command_topic}"
payload: "ON" payload: "On"
then: then:
- switch.turn_on: relay - switch.turn_on: relay
- topic: "${mqtt_local_command_topic}" - topic: "${mqtt_local_command_topic}"
payload: "OFF" payload: "Off"
then: then:
- switch.turn_off: relay - switch.turn_off: relay
@@ -419,7 +419,7 @@ switch:
- mqtt.publish: - mqtt.publish:
topic: "${mqtt_local_status_topic}" topic: "${mqtt_local_status_topic}"
payload: "ON" payload: "On"
retain: false retain: false
on_turn_off: on_turn_off:
@@ -428,7 +428,7 @@ switch:
- mqtt.publish: - mqtt.publish:
topic: "${mqtt_local_status_topic}" topic: "${mqtt_local_status_topic}"
payload: "OFF" payload: "Off"
retain: false retain: false
#:########################################################################################:# #:########################################################################################:#