Skip to content
Snippets Groups Projects
Commit c2bbe4f7 authored by 3d's avatar 3d
Browse files

commit message

parent 902c5c10
No related branches found
No related tags found
No related merge requests found
Showing
with 40 additions and 4 deletions
...@@ -27,6 +27,10 @@ external_components: ...@@ -27,6 +27,10 @@ external_components:
payload: "OFF" payload: "OFF"
then: then:
- light.turn_off: matrix_light - light.turn_off: matrix_light
- topic: warpzone/door/status
payload: "CLOSED"
then:
- light.turn_off: matrix_light
light: light:
- platform: monochromatic - platform: monochromatic
......
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
{% include "/includes/common.inc.yaml" %} {% include "/includes/common.inc.yaml" %}
on_message: on_message:
- topic: ESPHome/{{ devicename }}/state/command - topic: warpzone/status/door
payload: "ON" payload: "OPEN"
then: then:
- light.turn_on: - light.turn_on:
id: logo_led id: logo_led
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
id: kuehl_led id: kuehl_led
effect: "Rainbow" effect: "Rainbow"
brightness: 100% brightness: 100%
- topic: ESPHome/{{ devicename }}/state/command - topic: warpzone/door/status
payload: "OFF" payload: "CLOSED"
then: then:
- light.turn_off: logo_led - light.turn_off: logo_led
- light.turn_off: kuehl_led - light.turn_off: kuehl_led
......
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
payload: "OFF" payload: "OFF"
then: then:
- switch.turn_off: relay - switch.turn_off: relay
- topic: warpzone/door/status
payload: "CLOSED"
then:
- switch.turn_off: relay
status_led: status_led:
pin: pin:
......
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
payload: "OFF" payload: "OFF"
then: then:
- switch.turn_off: relay - switch.turn_off: relay
- topic: warpzone/door/status
payload: "CLOSED"
then:
- switch.turn_off: relay
status_led: status_led:
pin: pin:
......
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
payload: "OFF" payload: "OFF"
then: then:
- switch.turn_off: relay - switch.turn_off: relay
- topic: warpzone/door/status
payload: "CLOSED"
then:
- switch.turn_off: relay
status_led: status_led:
pin: pin:
......
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
payload: "OFF" payload: "OFF"
then: then:
- switch.turn_off: relay - switch.turn_off: relay
- topic: warpzone/door/status
payload: "CLOSED"
then:
- switch.turn_off: relay
status_led: status_led:
pin: pin:
......
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
payload: "OFF" payload: "OFF"
then: then:
- switch.turn_off: relay - switch.turn_off: relay
- topic: warpzone/door/status
payload: "CLOSED"
then:
- switch.turn_off: relay
substitutions: substitutions:
plug_name: {{ devicename }} plug_name: {{ devicename }}
......
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
payload: "OFF" payload: "OFF"
then: then:
- switch.turn_off: relay - switch.turn_off: relay
- topic: warpzone/door/status
payload: "CLOSED"
then:
- switch.turn_off: relay
substitutions: substitutions:
plug_name: {{ devicename }} plug_name: {{ devicename }}
......
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
payload: "OFF" payload: "OFF"
then: then:
- switch.turn_off: relay - switch.turn_off: relay
- topic: warpzone/door/status
payload: "CLOSED"
then:
- switch.turn_off: relay
substitutions: substitutions:
plug_name: {{ devicename }} plug_name: {{ devicename }}
......
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
payload: "OFF" payload: "OFF"
then: then:
- switch.turn_off: relay - switch.turn_off: relay
- topic: warpzone/door/status
payload: "CLOSED"
then:
- switch.turn_off: relay
substitutions: substitutions:
plug_name: {{ devicename }} plug_name: {{ devicename }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment