mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-09 23:02:59 +00:00
Rename house mode to bedroom mode
This commit is contained in:
@@ -22,7 +22,7 @@ automation:
|
||||
entity_id: input_boolean.alarm_enabled
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_select.house_mode
|
||||
entity_id: input_select.bedroom_mode
|
||||
state: "night"
|
||||
action:
|
||||
- service: script.music_play
|
||||
@@ -31,7 +31,7 @@ automation:
|
||||
|
||||
- delay: 00:01:00
|
||||
- condition: state
|
||||
entity_id: input_select.house_mode
|
||||
entity_id: input_select.bedroom_mode
|
||||
state: "night"
|
||||
- service: script.sonos_say
|
||||
data:
|
||||
@@ -45,7 +45,7 @@ automation:
|
||||
|
||||
- delay: 00:02:00
|
||||
- condition: state
|
||||
entity_id: input_select.house_mode
|
||||
entity_id: input_select.bedroom_mode
|
||||
state: "night"
|
||||
- service: script.sonos_say
|
||||
data:
|
||||
@@ -59,7 +59,7 @@ automation:
|
||||
|
||||
- delay: 00:05:00
|
||||
- condition: state
|
||||
entity_id: input_select.house_mode
|
||||
entity_id: input_select.bedroom_mode
|
||||
state: "night"
|
||||
- service: script.sonos_say
|
||||
data:
|
||||
@@ -74,7 +74,7 @@ automation:
|
||||
- alias: Alarm · Set time
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: input_select.house_mode
|
||||
entity_id: input_select.bedroom_mode
|
||||
to: "day"
|
||||
action:
|
||||
- service: input_datetime.set_datetime
|
||||
|
||||
@@ -14,7 +14,7 @@ automation:
|
||||
title: "📱 *iOS Module*"
|
||||
message: "iOS alarm is off. Switching to Day Mode!"
|
||||
- service: input_select.select_option
|
||||
entity_id: input_select.house_mode
|
||||
entity_id: input_select.bedroom_mode
|
||||
data:
|
||||
option: "day"
|
||||
|
||||
@@ -27,7 +27,7 @@ automation:
|
||||
title: "📱 *iOS Module*"
|
||||
message: "iOS wind_down is on. Switching to Bed Mode!"
|
||||
- service: input_select.select_option
|
||||
entity_id: input_select.house_mode
|
||||
entity_id: input_select.bedroom_mode
|
||||
data:
|
||||
option: "bed"
|
||||
|
||||
@@ -40,7 +40,6 @@ automation:
|
||||
title: "📱 *iOS Module*"
|
||||
message: "iOS bedtime is on. Switching to Night Mode!"
|
||||
- service: input_select.select_option
|
||||
entity_id: input_select.house_mode
|
||||
entity_id: input_select.bedroom_mode
|
||||
data:
|
||||
option: "night"
|
||||
|
||||
|
||||
@@ -135,7 +135,7 @@ automation:
|
||||
after: sunset
|
||||
after_offset: "-02:00:00"
|
||||
- condition: state
|
||||
entity_id: input_select.house_mode
|
||||
entity_id: input_select.bedroom_mode
|
||||
state: 'day'
|
||||
action:
|
||||
- service: light.turn_on
|
||||
|
||||
@@ -13,7 +13,7 @@ automation:
|
||||
# Turn on in Day Mode
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.house_mode
|
||||
entity_id: input_select.bedroom_mode
|
||||
state: 'day'
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
@@ -42,7 +42,7 @@ automation:
|
||||
# Turn off in Day Mode
|
||||
- conditions:
|
||||
condition: state
|
||||
entity_id: input_select.house_mode
|
||||
entity_id: input_select.bedroom_mode
|
||||
state: 'day'
|
||||
sequence:
|
||||
- service: light.turn_off
|
||||
|
||||
@@ -13,7 +13,7 @@ automation:
|
||||
# Turn on in Day Mode
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.house_mode
|
||||
entity_id: input_select.bedroom_mode
|
||||
state: 'day'
|
||||
sequence:
|
||||
- service: light.turn_on
|
||||
@@ -57,7 +57,7 @@ automation:
|
||||
condition: not
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.house_mode
|
||||
entity_id: input_select.bedroom_mode
|
||||
state: 'day'
|
||||
action:
|
||||
# Turn off in Night Mode
|
||||
@@ -85,7 +85,7 @@ automation:
|
||||
minutes: 15
|
||||
condition:
|
||||
condition: state
|
||||
entity_id: input_select.house_mode
|
||||
entity_id: input_select.bedroom_mode
|
||||
state: 'day'
|
||||
action:
|
||||
# Turn off in Day Mode
|
||||
|
||||
@@ -33,7 +33,7 @@ script:
|
||||
- condition: not
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.house_mode
|
||||
entity_id: input_select.bedroom_mode
|
||||
state: 'night'
|
||||
# Combine partials for speech message.
|
||||
- service: script.say_discretely
|
||||
|
||||
Reference in New Issue
Block a user