Fix brightness automation
This commit is contained in:
parent
3e17e3606e
commit
29632bb3b2
@ -40,11 +40,21 @@
|
|||||||
entity_id: device_tracker.amdn4684
|
entity_id: device_tracker.amdn4684
|
||||||
state: 'home'
|
state: 'home'
|
||||||
action:
|
action:
|
||||||
- service: cover.close_cover
|
- service: script.office_lights_on
|
||||||
target:
|
|
||||||
entity_id:
|
- id: brightness-ok-lights-off
|
||||||
- cover.office_blinds
|
alias: '[Brightness] Dark - turn on lights'
|
||||||
- cover.dining_blinds
|
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
|
- id: brightness-ok
|
||||||
alias: '[Brightness] OK'
|
alias: '[Brightness] OK'
|
||||||
|
Loading…
Reference in New Issue
Block a user