mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
Bunches of fixes nd changes
This commit is contained in:
@@ -28,4 +28,4 @@ action:
|
||||
- action: input_boolean.turn_off
|
||||
data: {}
|
||||
target:
|
||||
entity_id: input_boolean.nursery_asleep
|
||||
entity_id: input_boolean.girls_room_asleep
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
alias: Continue Nursery White Noise
|
||||
id: automation_continue_nursery_white_noise
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: media_player.girls_room_hub
|
||||
to: "off"
|
||||
for: "00:00:02"
|
||||
- platform: state
|
||||
entity_id: media_player.girls_room_hub
|
||||
to: "idle"
|
||||
for: "00:00:02"
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.nursery_asleep
|
||||
state: "on"
|
||||
|
||||
action:
|
||||
#- action: input_select.select_option
|
||||
# data:
|
||||
# entity_id: input_select.master_bedroom_mode
|
||||
# option: 'Off'
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
entity_id: input_select.google_home
|
||||
option: "Nursery"
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
entity_id: input_select.ambient_sound
|
||||
option: "Thunderstorm"
|
||||
- action: input_number.set_value
|
||||
data:
|
||||
entity_id: input_number.volume_ambientsounds
|
||||
value: "0.6"
|
||||
- action: script.ambientsounds
|
||||
@@ -3,7 +3,7 @@ id: automation_nursery_white_noise_off
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.nursery_asleep
|
||||
entity_id: input_boolean.girls_room_asleep
|
||||
to: "off"
|
||||
|
||||
action:
|
||||
|
||||
@@ -3,9 +3,21 @@ id: automation_nursery_white_noise_on
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.nursery_asleep
|
||||
entity_id: input_boolean.girls_room_asleep
|
||||
to: "on"
|
||||
|
||||
- platform: state
|
||||
entity_id: media_player.ma_girls_room_hub
|
||||
to: "idle"
|
||||
for: 00:00:05
|
||||
|
||||
condition:
|
||||
- alias: "Is the girls' room asleep?"
|
||||
condition: state
|
||||
entity_id: input_boolean.girls_room_asleep
|
||||
state: "on"
|
||||
|
||||
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
|
||||
Reference in New Issue
Block a user