mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-06-21 16:22:45 +00:00
54 lines
1.4 KiB
YAML
Executable File
54 lines
1.4 KiB
YAML
Executable File
######################################################################
|
|
## Automation for 07:00 AM Daily Tasks
|
|
## https://www.vcloudinfo.com/click-here
|
|
## This automation handles actions to be performed at 8:30 AM,
|
|
## typically related to the family's morning routine.
|
|
######################################################################
|
|
|
|
- alias: 'Kids 830'
|
|
id: 3e0c4f40-0d55-42a0-9af9-37124b1b9b8b
|
|
mode: single
|
|
trigger:
|
|
- platform: time
|
|
at: '08:30:00'
|
|
|
|
condition:
|
|
- condition: state
|
|
entity_id: group.family
|
|
state: home
|
|
|
|
- condition: state
|
|
entity_id: sun.sun
|
|
state: below_horizon
|
|
|
|
action:
|
|
- service: homeassistant.turn_on
|
|
entity_id:
|
|
- light.d1
|
|
- light.d2
|
|
- light.sink
|
|
- light.fridge
|
|
- light.k4
|
|
- group.kitchen_accents
|
|
- switch.office_lamp_switch_socket
|
|
|
|
- wait_template: >-
|
|
{{ states.sun.sun.state == 'above_horizon' }}
|
|
- service: homeassistant.turn_on
|
|
entity_id:
|
|
- switch.alarm_panel_1_motion_detection
|
|
- switch.office_lamp_switch_socket
|
|
- service: number.set_value
|
|
target:
|
|
entity_id: number.alarm_panel_1_screen_brightness
|
|
data:
|
|
value: 100
|
|
|
|
- service: button.press
|
|
entity_id: button.alarm_panel_1_restart_browser
|
|
- service: homeassistant.turn_off
|
|
entity_id:
|
|
- group.kitchen_accents
|
|
- service: light.turn_off
|
|
entity_id: all
|