mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
blue_room to boys_room
This commit is contained in:
@@ -22,7 +22,7 @@ condition:
|
||||
entity_id: input_boolean.ebin_home
|
||||
state: "on"
|
||||
action:
|
||||
- service: homeassistant.turn_on
|
||||
- action: homeassistant.turn_on
|
||||
entity_id: input_boolean.kids_bedtime
|
||||
|
||||
- choose:
|
||||
@@ -30,7 +30,7 @@ action:
|
||||
- condition: template
|
||||
value_template: "{{states('media_player.announcements') == 'unknown' or states('media_player.announcements') == 'unavailable' }}"
|
||||
sequence:
|
||||
- service: script.make_clever_announcement
|
||||
- action: script.make_clever_announcement
|
||||
data:
|
||||
entity_id:
|
||||
- media_player.bathroom_mini
|
||||
@@ -60,7 +60,7 @@ action:
|
||||
{% endif %}
|
||||
volume: 0.7
|
||||
default:
|
||||
- service: script.make_clever_announcement
|
||||
- action: script.make_clever_announcement
|
||||
data:
|
||||
entity_id: media_player.announcements
|
||||
media_content_id: >-
|
||||
@@ -93,29 +93,29 @@ action:
|
||||
- choose:
|
||||
- conditions: "{{is_state_attr('media_player.front_room_tv','source','YouTube')}}"
|
||||
sequence:
|
||||
- service: homeassistant.turn_off
|
||||
- action: homeassistant.turn_off
|
||||
entity_id: media_player.front_room_tv
|
||||
|
||||
- choose:
|
||||
- conditions: "{{is_state_attr('media_player.downstairs_roku','source','YouTube')}}"
|
||||
sequence:
|
||||
- service: media_player.select_source
|
||||
- action: media_player.select_source
|
||||
data:
|
||||
source: Home
|
||||
target:
|
||||
entity_id: media_player.downstairs_roku
|
||||
|
||||
# - service: homeassistant.turn_off
|
||||
# - action: homeassistant.turn_off
|
||||
# entity_id: switch.shelly_projector
|
||||
|
||||
- service: input_select.select_option
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
entity_id: input_select.automatic_light_profile
|
||||
option: Dimmed
|
||||
|
||||
- delay: "00:00:01"
|
||||
|
||||
# - service: media_player.play_media
|
||||
# - action: media_player.play_media
|
||||
# target:
|
||||
# entity_id: media_player.front_room_hub
|
||||
# data:
|
||||
@@ -136,13 +136,13 @@ action:
|
||||
- choose:
|
||||
- conditions: "{{is_state('input_boolean.ebin_home','on')}}"
|
||||
sequence:
|
||||
- service: input_select.select_option
|
||||
- action: input_select.select_option
|
||||
target:
|
||||
entity_id: input_select.nursery_wled
|
||||
data:
|
||||
option: "Off"
|
||||
|
||||
- service: input_select.select_option
|
||||
- action: input_select.select_option
|
||||
target:
|
||||
entity_id: input_select.nursery_mode
|
||||
data:
|
||||
@@ -153,25 +153,25 @@ action:
|
||||
- choose:
|
||||
- conditions: "{{is_state('input_boolean.bridget_home','on')}}"
|
||||
sequence:
|
||||
- service: input_button.press
|
||||
- action: input_button.press
|
||||
data: {}
|
||||
target:
|
||||
entity_id: input_button.nursery_bedtime
|
||||
|
||||
- service: input_select.select_option
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
option: Running Rainbow
|
||||
target:
|
||||
entity_id: input_select.nursery_wled
|
||||
|
||||
# - service: automation.trigger
|
||||
# - action: automation.trigger
|
||||
# target:
|
||||
# entity_id: automation.nursery_wled_changed
|
||||
|
||||
# - choose:
|
||||
# - conditions: "{{is_state('input_boolean.bridget_home','on')}}"
|
||||
# sequence:
|
||||
# - service: input_boolean.turn_on
|
||||
# - action: input_boolean.turn_on
|
||||
# data: {}
|
||||
# target:
|
||||
# entity_id: input_boolean.nursery_asleep
|
||||
@@ -181,7 +181,7 @@ action:
|
||||
# - choose:
|
||||
# - conditions: "{{is_state('media_player.ytube_music_player','on')}}"
|
||||
# sequence:
|
||||
# - service: media_player.turn_off
|
||||
# - action: media_player.turn_off
|
||||
# target:
|
||||
# entity_id: media_player.ytube_music_player
|
||||
|
||||
@@ -190,13 +190,13 @@ action:
|
||||
- choose:
|
||||
- conditions: "{{is_state('input_boolean.emmett_home','on')}}"
|
||||
sequence:
|
||||
- service: input_boolean.turn_on
|
||||
- action: input_boolean.turn_on
|
||||
data: {}
|
||||
target:
|
||||
entity_id: input_boolean.blue_room_asleep
|
||||
entity_id: input_boolean.boys_room_asleep
|
||||
|
||||
- service: input_select.select_option
|
||||
- action: input_select.select_option
|
||||
target:
|
||||
entity_id: input_select.blue_room_mode
|
||||
entity_id: input_select.boys_room_mode
|
||||
data:
|
||||
option: "Nightlight"
|
||||
option: "Nightlight"
|
||||
|
||||
Reference in New Issue
Block a user