mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-06-21 16:22:45 +00:00
34 lines
918 B
YAML
Executable File
34 lines
918 B
YAML
Executable File
######################################################################
|
|
## Stuff that needs to happen when we are both out of bed.
|
|
######################################################################
|
|
|
|
- alias: 'Time to wake up!'
|
|
id: 16a3b9c5-1faa-410e-a7e1-249a9f861e07
|
|
trigger:
|
|
- platform: state
|
|
entity_id: group.bed
|
|
to: 'off'
|
|
for: "00:05:00"
|
|
|
|
condition:
|
|
- condition: state
|
|
entity_id: group.family
|
|
state: home
|
|
- condition: state
|
|
entity_id: input_boolean.guest_mode
|
|
state: 'off'
|
|
- condition: time
|
|
after: '07:00:00'
|
|
before: '11:00:00'
|
|
action:
|
|
- service: homeassistant.turn_on
|
|
entity_id:
|
|
- switch.lr_amp
|
|
- light.kitchen_lights
|
|
- switch.alarm_panel_1_motion_detection
|
|
- service: number.set_value
|
|
target:
|
|
entity_id: number.alarm_panel_1_screen_brightness
|
|
data:
|
|
value: 100
|
|
|