[occupancy] Turn on bedroom lights at night
This commit is contained in:
parent
c6127ee7ba
commit
8e41e8aebf
|
@ -115,6 +115,18 @@ automation:
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: sensor.living_room_camera_light_level
|
entity_id: sensor.living_room_camera_light_level
|
||||||
below: 20
|
below: 20
|
||||||
|
- alias: Turn on bedroom lights
|
||||||
|
action:
|
||||||
|
- service: scene.turn_on
|
||||||
|
data:
|
||||||
|
entity_id: scene.speed_of_sound_sonic
|
||||||
|
trigger:
|
||||||
|
- platform: time
|
||||||
|
at: '22:30:00'
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: device_tracker.correlspixel
|
||||||
|
state: home
|
||||||
|
|
||||||
input_boolean:
|
input_boolean:
|
||||||
occupied:
|
occupied:
|
||||||
|
|
Loading…
Reference in New Issue