mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-04-25 04:48:17 +00:00
Remove bedroom door automation
This commit is contained in:
@@ -128,7 +128,6 @@ cards:
|
||||
- automation.guest_bedroom_mode_set_to_night
|
||||
- automation.house_mode_set_to_day
|
||||
- automation.house_mode_set_to_night
|
||||
- automation.bedroom_mode_set_to_day_if_bedroom_door_was_opened
|
||||
|
||||
- type: entities
|
||||
title: Guest mode
|
||||
|
||||
@@ -119,26 +119,3 @@ automation:
|
||||
to: "night"
|
||||
action:
|
||||
- service: script.routine_good_night
|
||||
|
||||
- alias: Bedroom mode · Set to day if bedroom door was opened
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.bedroom_door
|
||||
to: "on"
|
||||
- platform: state
|
||||
entity_id: group.bedroom_windows
|
||||
condition:
|
||||
- "{{ now().hour >= states('input_datetime.alarm_time')[0:2]|int }}"
|
||||
- condition: not
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.bedroom_mode
|
||||
state: "day"
|
||||
- condition: state
|
||||
entity_id: input_boolean.georgi_home
|
||||
state: "on"
|
||||
action:
|
||||
- service: input_select.select_option
|
||||
entity_id: input_select.bedroom_mode
|
||||
data:
|
||||
option: "day"
|
||||
|
||||
Reference in New Issue
Block a user