Created new Locator automation to trigger 'where is everyone automation'. #1472

This commit is contained in:
CCOSTAN
2025-05-26 21:09:46 +00:00
parent 9b1b76e877
commit 4776b9ddf3
13 changed files with 169 additions and 91 deletions

View File

@@ -35,7 +35,15 @@
- wait_template: >-
{{ states.sun.sun.state == 'above_horizon' }}
- service: homeassistant.turn_on
entity_id: switch.alarm_panel_1_motion_detection
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

View File

@@ -42,3 +42,31 @@
- service: switch.turn_off
data:
entity_id: "{{ trigger.entity_id }}"
- alias: 'Bedroom Screensaver Watchdog'
id: Bedroom-Screensaver-Watchdog-automation
trigger:
- platform: state
entity_id: binary_sensor.sleepnumber_carlo_carlo_is_in_bed
to: 'on'
- platform: state
entity_id: binary_sensor.sleepnumber_carlo_stacey_is_in_bed
to: 'on'
- platform: state
entity_id: switch.alarm_panel_1_screensaver
to: 'off'
condition:
- condition: or
conditions:
- condition: state
entity_id: binary_sensor.sleepnumber_carlo_carlo_is_in_bed
state: 'on'
- condition: state
entity_id: binary_sensor.sleepnumber_carlo_stacey_is_in_bed
state: 'on'
action:
- service: switch.turn_on
entity_id: switch.alarm_panel_1_screensaver

View File

@@ -26,4 +26,9 @@
- 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