Edit esp-officeusbhubpower.yaml
This commit is contained in:
1 parent
a11ef51d71
commit
b74d0b02d9
1 file changed
+4
-4
@@ -203,12 +203,12 @@ binary_sensor:
|
||||
on_press:
|
||||
- mqtt.publish:
|
||||
topic: "${mqtt_status_topic}"
|
||||
payload: "ON"
|
||||
payload: "On"
|
||||
retain: false
|
||||
on_release:
|
||||
- mqtt.publish:
|
||||
topic: "${mqtt_status_topic}"
|
||||
payload: "OFF"
|
||||
payload: "Off"
|
||||
retain: false
|
||||
|
||||
#:########################################################################################:#
|
||||
@@ -229,11 +229,11 @@ status_led:
|
||||
mqtt:
|
||||
on_message:
|
||||
- topic: "${mqtt_command_topic}"
|
||||
payload: "ON"
|
||||
payload: "On"
|
||||
then:
|
||||
- switch.turn_on: relay1
|
||||
|
||||
- topic: "${mqtt_command_topic}"
|
||||
payload: "OFF"
|
||||
payload: "Off"
|
||||
then:
|
||||
- switch.turn_off: relay1
|
||||
Reference in new issue
Block a user