Edit esp-3dprinterpow.yaml
This commit is contained in:
@@ -224,12 +224,12 @@ logger:
|
||||
mqtt:
|
||||
on_message:
|
||||
- topic: "${mqtt_local_command_topic}"
|
||||
payload: "ON"
|
||||
payload: "On"
|
||||
then:
|
||||
- switch.turn_on: relay
|
||||
|
||||
- topic: "${mqtt_local_command_topic}"
|
||||
payload: "OFF"
|
||||
payload: "Off"
|
||||
then:
|
||||
- switch.turn_off: relay
|
||||
|
||||
@@ -419,7 +419,7 @@ switch:
|
||||
|
||||
- mqtt.publish:
|
||||
topic: "${mqtt_local_status_topic}"
|
||||
payload: "ON"
|
||||
payload: "On"
|
||||
retain: false
|
||||
|
||||
on_turn_off:
|
||||
@@ -428,7 +428,7 @@ switch:
|
||||
|
||||
- mqtt.publish:
|
||||
topic: "${mqtt_local_status_topic}"
|
||||
payload: "OFF"
|
||||
payload: "Off"
|
||||
retain: false
|
||||
|
||||
#:########################################################################################:#
|
||||
|
||||
Reference in New Issue
Block a user