Files
zorruno-homeassistant/automations.yaml
2024-09-04 22:46:30 +12:00

36 lines
883 B
YAML

- id: '1693027703299'
alias: Downstairs Kitchen turn ON LEDs on with main lights
description: ''
trigger:
- platform: device
type: turned_on
device_id: 1a7e2bfdfaa08e2b78bcbd5d5d12d2a7
entity_id: 2921a7f1e6616c97c2ed502cbe950503
domain: switch
condition: []
action:
- service: light.turn_on
data:
transition: 10
brightness_pct: 95
target:
entity_id: light.controller_dimmable_3c317c
mode: single
- id: '1693027792035'
alias: Downstairs Kitchen turn OFF LEDs with main lights
description: ''
trigger:
- platform: device
type: turned_off
device_id: 1a7e2bfdfaa08e2b78bcbd5d5d12d2a7
entity_id: 2921a7f1e6616c97c2ed502cbe950503
domain: switch
condition: []
action:
- service: light.turn_off
data:
transition: 10
target:
entity_id: light.controller_dimmable_3c317c
mode: single