Edit esp-garagelights.yaml
This commit is contained in:
1 parent
c7f4126a75
commit
ea74c6d855
1 file changed
+1
-1
@@ -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