Edit esp-3dprinterpow.yaml
This commit is contained in:
1 parent
1f7552968b
commit
c7f4126a75
1 file changed
+1
-1
@@ -469,7 +469,7 @@ script:
|
|||||||
- mqtt.publish:
|
- mqtt.publish:
|
||||||
topic: "${mqtt_local_status_topic}"
|
topic: "${mqtt_local_status_topic}"
|
||||||
payload: !lambda |-
|
payload: !lambda |-
|
||||||
return id(relay).state ? "ON" : "OFF";
|
return id(relay).state ? "On" : "Off";
|
||||||
retain: false
|
retain: false
|
||||||
qos: 1
|
qos: 1
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user