Edit esp-3dprinterpow.yaml
This commit is contained in:
@@ -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