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

ha automation for new plugs

parent cb643ad2
No related branches found
No related tags found
No related merge requests found
...@@ -682,7 +682,7 @@ automation ansible: ...@@ -682,7 +682,7 @@ automation ansible:
max: 30 max: 30
# WLED Zonenstatus # WLED Zonenstatus
- alias: "ANSIBLE_WLED_Zonenstatus" - alias: ANSIBLE_WLED_Zonenstatus
description: "Turn WLED devices on, when opened, off when closed" description: "Turn WLED devices on, when opened, off when closed"
mode: single mode: single
trigger: trigger:
...@@ -743,46 +743,85 @@ automation ansible: ...@@ -743,46 +743,85 @@ automation ansible:
- light.liba_logo_leds - light.liba_logo_leds
- light.kuehl_leds - light.kuehl_leds
- type: turn_on - type: turn_on
device_id: 7ba91dde6b1413340fdc66f2984dfd00
entity_id: light.brightness entity_id: light.brightness
domain: light domain: light
- type: turn_on
entity_id: switch.esphome_plug01_relay
domain: switch
- type: turn_on
entity_id: switch.esphome_plug02_relay
domain: switch
- type: turn_on
entity_id: switch.esphome_plug03_relay
domain: switch
- type: turn_on
entity_id: switch.esphome_plug04_relay
domain: switch
- type: turn_on
entity_id: switch.esphome_plug05_relay
domain: switch
- type: turn_on
entity_id: switch.esphome_plug06_relay
domain: switch
- type: turn_on
entity_id: switch.esphome_plug07_relay
domain: switch
- type: turn_on
entity_id: switch.esphome_plug08_relay
domain: switch
- type: turn_on
entity_id: switch.tasmota_nous_plug1
domain: switch
- type: turn_on
entity_id: switch.tasmota_nous_plug4
domain: switch
- type: turn_on
entity_id: switch.tasmota_nous_plug6
domain: switch
- type: turn_on
entity_id: switch.tasmota_nous_plug7
domain: switch
- conditions: - conditions:
- condition: state - condition: state
entity_id: input_select.zonenstatus entity_id: input_select.zonenstatus
state: "closed" state: "closed"
sequence: sequence:
- type: turn_off - type: turn_off
device_id: 1dace6e3f89d85152cde6383312792eb
entity_id: switch.esphome_plug01_relay entity_id: switch.esphome_plug01_relay
domain: switch domain: switch
- type: turn_off - type: turn_off
device_id: 9f6aded98a4a96ab85c96b829895f449
entity_id: switch.esphome_plug02_relay entity_id: switch.esphome_plug02_relay
domain: switch domain: switch
- type: turn_off - type: turn_off
device_id: 502f88ff07aa71cb053ad4112e0dd6bd
entity_id: switch.esphome_plug03_relay entity_id: switch.esphome_plug03_relay
domain: switch domain: switch
- type: turn_off - type: turn_off
device_id: b9ea4fd30dabfe365b5098c66eb1f4ba
entity_id: switch.esphome_plug04_relay entity_id: switch.esphome_plug04_relay
domain: switch domain: switch
- type: turn_off - type: turn_off
device_id: c5f54add49fda7640497b1883315d48b
entity_id: switch.esphome_plug05_relay entity_id: switch.esphome_plug05_relay
domain: switch domain: switch
- type: turn_off - type: turn_off
device_id: a0788c8cf4ee036ce43e0d563fdbdb3a
entity_id: switch.esphome_plug06_relay entity_id: switch.esphome_plug06_relay
domain: switch domain: switch
- type: turn_off - type: turn_off
device_id: 1637a583963ba02dc7baa17427f8ac00
entity_id: switch.esphome_plug07_relay entity_id: switch.esphome_plug07_relay
domain: switch domain: switch
- type: turn_off - type: turn_off
device_id: 1da3229859c49c822fd8e9c630fa9004
entity_id: switch.esphome_plug08_relay entity_id: switch.esphome_plug08_relay
domain: switch domain: switch
- type: turn_off
entity_id: switch.tasmota_nous_plug1
domain: switch
- type: turn_off
entity_id: switch.tasmota_nous_plug4
domain: switch
- type: turn_off
entity_id: switch.tasmota_nous_plug6
domain: switch
- type: turn_on
entity_id: switch.tasmota_nous_plug7
domain: switch
- service: light.turn_off - service: light.turn_off
data: {} data: {}
target: target:
......
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