Edit esp-garagelights.yaml
This commit is contained in:
@@ -271,5 +271,5 @@ mqtt:
|
|||||||
then:
|
then:
|
||||||
- mqtt.publish:
|
- mqtt.publish:
|
||||||
topic: "${mqtt_status_topic_1}"
|
topic: "${mqtt_status_topic_1}"
|
||||||
payload: !lambda 'return id(relay1).state ? "ON" : "OFF";'
|
payload: !lambda 'return id(relay1).state ? "On" : "Off";'
|
||||||
#retain: true
|
#retain: true
|
||||||
|
|||||||
Reference in New Issue
Block a user