You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.3 KiB
39 lines
1.3 KiB
######################################################################
|
|
# @CCOSTAN - Follow Me on X
|
|
# For more info visit https://www.vcloudinfo.com/click-here
|
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
|
# -------------------------------------------------------------------
|
|
# Stuff that needs to happen when we are both out of bed - Home Assistant automation behavior.
|
|
# Defines the Stuff that needs to happen when we are both out of bed triggers, conditions, and actions.
|
|
# -------------------------------------------------------------------
|
|
######################################################################
|
|
- 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
|