[occupancy] Turn on bedroom lights at night

This commit is contained in:
Correl Roush 2018-12-30 01:56:48 -05:00
parent c6127ee7ba
commit 8e41e8aebf
1 changed files with 12 additions and 0 deletions

View File

@ -115,6 +115,18 @@ automation:
- condition: numeric_state
entity_id: sensor.living_room_camera_light_level
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:
occupied: