1
0

Fix brightness automation

This commit is contained in:
Przemek Grondek 2022-08-13 19:17:39 +02:00
parent 3e17e3606e
commit 29632bb3b2

View File

@ -40,11 +40,21 @@
entity_id: device_tracker.amdn4684
state: 'home'
action:
- service: cover.close_cover
target:
entity_id:
- cover.office_blinds
- cover.dining_blinds
- service: script.office_lights_on
- id: brightness-ok-lights-off
alias: '[Brightness] Dark - turn on lights'
mode: single
trigger:
- platform: numeric_state
entity_id: sensor.office_illuminance
above: '60'
for:
hours: 0
minutes: 1
seconds: 0
action:
- service: script.office_lights_off
- id: brightness-ok
alias: '[Brightness] OK'