Skip to content
Snippets Groups Projects
Commit babd5c8b authored by jabertwo's avatar jabertwo
Browse files

Nodered automations in ha, now working

parent b5a9b1ee
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,10 @@
payload: "CLOSED"
then:
- switch.turn_off: relay
- topic: warpzone/door/status_once
payload: "OPEN"
then:
- switch.turn_on: relay
status_led:
pin:
......
......@@ -19,6 +19,10 @@
payload: "CLOSED"
then:
- switch.turn_off: relay
- topic: warpzone/door/status_once
payload: "OPEN"
then:
- switch.turn_on: relay
status_led:
pin:
......
......@@ -19,6 +19,10 @@
payload: "CLOSED"
then:
- switch.turn_off: relay
- topic: warpzone/door/status_once
payload: "OPEN"
then:
- switch.turn_on: relay
substitutions:
plug_name: {{ devicename }}
......
......@@ -15,6 +15,10 @@
payload: "OFF"
then:
- switch.turn_off: relay
- topic: warpzone/door/status_once
payload: "OPEN"
then:
- switch.turn_on: relay
substitutions:
plug_name: {{ devicename }}
......
......@@ -736,32 +736,15 @@ automation ansible:
- conditions:
- condition: state
entity_id: input_select.zonenstatus
state: ""
state: "opened"
sequence:
- type: turn_on
device_id: 9f6aded98a4a96ab85c96b829895f449
entity_id: switch.esphome_plug02_relay
domain: switch
- type: turn_on
device_id: 502f88ff07aa71cb053ad4112e0dd6bd
entity_id: switch.esphome_plug03_relay
domain: switch
- type: turn_on
device_id: 1637a583963ba02dc7baa17427f8ac00
entity_id: switch.esphome_plug07_relay
domain: switch
- type: turn_on
device_id: 1da3229859c49c822fd8e9c630fa9004
entity_id: switch.esphome_plug08_relay
domain: switch
- type: turn_on
device_id: 5e6ae37116ba1d3f3d95b8d571d28149
entity_id: light.liba_logo_leds
domain: light
- type: turn_on
device_id: 5e6ae37116ba1d3f3d95b8d571d28149
entity_id: light.kuehl_leds
domain: light
- service: light.turn_on
data:
effect: Rainbow
target:
entity_id:
- light.liba_logo_leds
- light.kuehl_leds
- type: turn_on
device_id: 7ba91dde6b1413340fdc66f2984dfd00
entity_id: light.brightness
......@@ -769,7 +752,7 @@ automation ansible:
- conditions:
- condition: state
entity_id: input_select.zonenstatus
state: ""
state: "closed"
sequence:
- type: turn_off
device_id: 1dace6e3f89d85152cde6383312792eb
......@@ -803,14 +786,12 @@ automation ansible:
device_id: 1da3229859c49c822fd8e9c630fa9004
entity_id: switch.esphome_plug08_relay
domain: switch
- type: turn_off
device_id: 5e6ae37116ba1d3f3d95b8d571d28149
entity_id: light.liba_logo_leds
domain: light
- type: turn_off
device_id: 5e6ae37116ba1d3f3d95b8d571d28149
entity_id: light.kuehl_leds
domain: light
- service: light.turn_off
data: {}
target:
entity_id:
- light.liba_logo_leds
- light.kuehl_leds
- type: turn_off
device_id: 7ba91dde6b1413340fdc66f2984dfd00
entity_id: light.brightness
......
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