mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-21 16:44:46 +00:00
37 lines
890 B
YAML
Executable File
37 lines
890 B
YAML
Executable File
###################################
|
|
## Late Night lights Section
|
|
###################################
|
|
- alias: 'Late Night Helper'
|
|
trigger:
|
|
- platform: state
|
|
entity_id: binary_sensor.upstairs_away_mode
|
|
state: 'off'
|
|
- platform: state
|
|
entity_id: binary_sensor.downstairs_away_mode
|
|
state: 'off'
|
|
- platform: state
|
|
entity_id: group.family
|
|
state: home
|
|
|
|
condition:
|
|
condition: and
|
|
conditions:
|
|
- condition: state
|
|
entity_id: sun.sun
|
|
state: 'below_horizon'
|
|
- condition: time
|
|
before: '23:45'
|
|
|
|
action:
|
|
service: light.turn_on
|
|
entity_id:
|
|
- group.living_room_accents
|
|
- light.living_room_slider
|
|
- light.foyer_door
|
|
- light.kitchen_fridge
|
|
- light.kitchen_sink
|
|
- light.living_room_front_right
|
|
data:
|
|
brightness: 150
|
|
|