blue_room to boys_room

This commit is contained in:
CeeWeasel
2025-10-10 20:24:52 -04:00
parent 10e297961b
commit 5b688e7c78
382 changed files with 8674 additions and 8739 deletions
+7 -7
View File
@@ -1,9 +1,9 @@
alias: Cam03 on Computer Area Hub
sequence:
- service: webrtc.dash_cast
data:
entity_id: media_player.computer_area_hub
url: rtsp_cam03
force: true
extra:
mode: webrtc
- action: webrtc.dash_cast
data:
entity_id: media_player.computer_area_hub
url: rtsp_cam03
force: true
extra:
mode: webrtc
+7 -7
View File
@@ -1,9 +1,9 @@
alias: Cam03_sub on Computer Area Hub
sequence:
- service: webrtc.dash_cast
data:
entity_id: media_player.computer_area_hub
url: rtsp_cam03_sub
force: true
extra:
mode: webrtc
- action: webrtc.dash_cast
data:
entity_id: media_player.computer_area_hub
url: rtsp_cam03_sub
force: true
extra:
mode: webrtc
+6 -6
View File
@@ -1,8 +1,8 @@
alias: Cam08 on Computer Area Hub
sequence:
- service: webrtc.dash_cast
data:
entity_id: media_player.computer_area_hub
url: rtsp_cam08_sub
extra:
mode: webrtc
- action: webrtc.dash_cast
data:
entity_id: media_player.computer_area_hub
url: rtsp_cam08_sub
extra:
mode: webrtc
+7 -7
View File
@@ -1,9 +1,9 @@
alias: Cam08 on Front Room Hub
sequence:
- service: webrtc.dash_cast
data:
entity_id: media_player.front_room_hub
url: rtsp_cam08_sub
force: true
extra:
mode: webrtc
- action: webrtc.dash_cast
data:
entity_id: media_player.front_room_hub
url: rtsp_cam08_sub
force: true
extra:
mode: webrtc
+7 -7
View File
@@ -1,9 +1,9 @@
alias: Cam13 on Computer Area Hub
sequence:
- service: webrtc.dash_cast
data:
entity_id: media_player.computer_area_hub
url: rtsp_cam13_sub
force: true
extra:
mode: webrtc
- action: webrtc.dash_cast
data:
entity_id: media_player.computer_area_hub
url: rtsp_cam13_sub
force: true
extra:
mode: webrtc
+7 -7
View File
@@ -1,9 +1,9 @@
alias: Cam13 on Front Room Hub
sequence:
- service: webrtc.dash_cast
data:
entity_id: media_player.front_room_hub
url: rtsp_cam13_sub
force: true
extra:
mode: webrtc
- action: webrtc.dash_cast
data:
entity_id: media_player.front_room_hub
url: rtsp_cam13_sub
force: true
extra:
mode: webrtc
+7 -7
View File
@@ -1,9 +1,9 @@
alias: Cam19 on Computer Area Hub
sequence:
- service: webrtc.dash_cast
data:
entity_id: media_player.computer_area_hub
url: rtsp_cam19_sub
force: true
extra:
mode: webrtc
- action: webrtc.dash_cast
data:
entity_id: media_player.computer_area_hub
url: rtsp_cam19_sub
force: true
extra:
mode: webrtc
+7 -7
View File
@@ -1,9 +1,9 @@
alias: Cam19 on Front Room Hub
sequence:
- service: webrtc.dash_cast
data:
entity_id: media_player.front_room_hub
url: rtsp_cam19_sub
force: true
extra:
mode: webrtc
- action: webrtc.dash_cast
data:
entity_id: media_player.front_room_hub
url: rtsp_cam19_sub
force: true
extra:
mode: webrtc
+6 -6
View File
@@ -3,15 +3,15 @@ sequence:
- variables:
link_id: "{% for _ in range(40) %}{{ range(10)|random }}{% endfor %}"
- service: webrtc.create_link
- action: webrtc.create_link
data:
link_id: "{{ link_id }}" # create a random or permanent link ID
link_id: "{{ link_id }}" # create a random or permanent link ID
# url: rtsp://rtsp:12345678@192.168.1.123:554/av_stream/ch0
# entity: camera.sonoff # you can use camera entity_id or url
url: rtsp://192.168.1.7:8554/rtsp_cam03_sub
open_limit: 1 # how many times a link can be opened (0 - unlimit, 1 - default)
time_to_live: 60 # how many seconds will the link live (0 - unlimit, 60 - default)
open_limit: 1 # how many times a link can be opened (0 - unlimit, 1 - default)
time_to_live: 60 # how many seconds will the link live (0 - unlimit, 60 - default)
- service: persistent_notification.create
- action: persistent_notification.create
data:
message: '<a href="/webrtc/embed?url={{ link_id }}" target="_blank">Open Camera</a>'
message: '<a href="/webrtc/embed?url={{ link_id }}" target="_blank">Open Camera</a>'
@@ -2,15 +2,15 @@ alias: Computer Area Light Cycle
fields:
colorset:
description: The set of colors to loop through
example: 'gemtones'
example: "gemtones"
brightness:
description: The brightness that the lights should be set to
example: '100'
example: "100"
transition:
description: The transition time, in seconds
example: '10'
example: "10"
sequence:
- service: light.turn_on
- action: light.turn_on
data_template:
entity_id: light.computer_area_hue
brightness: '{{ states("input_number.computer_area_light_cycle_brightness") | int }}'
@@ -52,5 +52,5 @@ sequence:
seconds: '{{ states("input_number.computer_area_light_cycle_transition") | int }}'
# Wait until the loop_lights script has finished running
- wait_template: "{{ is_state('script.computer_area_loop_lights', 'off') }}"
- service: script.turn_on
- action: script.turn_on
entity_id: script.computer_area_loop_lights
@@ -2,5 +2,5 @@ alias: Computer Area Loop Lights
sequence:
# Wait until the light_cycle script has finished running
- wait_template: "{{ is_state('script.computer_area_light_cycle', 'off') }}"
- service: script.turn_on
- action: script.turn_on
entity_id: script.computer_area_light_cycle
+4 -4
View File
@@ -1,7 +1,7 @@
alias: Control Light With Lux
sequence:
- service: light.turn_on
- action: light.turn_on
data_template:
entity_id: '{{ lightname }}'
brightness: '{{ brightness }}'
transition: 5
entity_id: "{{ lightname }}"
brightness: "{{ brightness }}"
transition: 5
+49 -49
View File
@@ -2,60 +2,60 @@ alias: Front Room Light Cycle
fields:
colorset:
description: The set of colors to loop through
example: 'gemtones'
example: "gemtones"
brightness:
description: The brightness that the lights should be set to
example: '100'
example: "100"
transition:
description: The transition time, in seconds
example: '10'
example: "10"
sequence:
- choose:
- conditions:
- condition: state
entity_id: input_boolean.front_room_cycle_same
state: 'on'
sequence:
- service: light.turn_on
data_template:
entity_id: light.front_room_hue
brightness: '{{ states("input_number.front_room_light_cycle_brightness") | int }}'
transition: '{{ states("input_number.front_room_light_cycle_transition") | int }}'
profile: >
{% if states('input_select.front_room_color_set') == 'Basic' %}
{% set colors = ['white','black','red','orange','yellow','green','blue','purple','pink','brown','gray'] %}
{% elif states('input_select.front_room_color_set') == 'Color Wheel' %}
{% set colors = ['red','orange','amber','yellow','chartreuse','green','teal','blue','violet','purple','magenta'] %}
{% elif states('input_select.front_room_color_set') == 'Rainbow' %}
{% set colors = ['red','orange','yellow','green','blue','indigo','violet'] %}
{% elif states('input_select.front_room_color_set') == 'Flourescent' %}
{% set colors = ['radical_red','wild_watermelon','outrageous_orange','atomic_tangerine','neon_carrot','sunglow','laser_lemon','unmellow_yellow','electric_lime','screamin_green','magic_mint','blizzard_blue','shocking_pink','razzle_dazzle_rose','hot_magenta','purple_pizzazz'] %}
{% elif states('input_select.front_room_color_set') == 'Silver Swirl' %}
{% set colors = ['aztec_gold','burnished_brown','cerulean_frost','cinnamon_satin','copper_penny','cosmic_cobalt','glossy_grape','granite_gray','green_sheen','lilac_luster','misty_moss','mystic_maroon','pearly_purple','pewter_blue','polished_pine','quick_silver','rose_dust','rusty_red','shadow_blue','shiny_shamrock','steel_teal','sugar_plum','twilight_lavender','wintergreen_dream'] %}
{% elif states('input_select.front_room_color_set') == 'Gem Tones' %}
{% set colors = ['amethyst','citrine','emerald','jade','lapis_lazuli','malachite','rose_quartz','ruby','sapphire','smokey_topaz'] %}
{% elif states('input_select.front_room_color_set') == 'Reds' %}
{% set colors = ['auburn','baby_pink','barn_red','burgundy','burnt_umber','cadmium_red','cardinal','chesnut','chili_red','congo_pink','coral_pink','desire','fire_engine_red','imperial_red','new_york_pink','paradise_pink','pastel_pink','pigment_red','rust','salmon_pink','tango_pink','turkey_red','vanilla_ice','wine'] %}
{% elif states('input_select.front_room_color_set') == 'Oranges' %}
{% set colors = ['beaver','cadmium_orange','carrot_orange','champagne','chocolate','cocoa_brown','desert_sand','flame','gamboge','international_orange','kobicha','lion','marigold','orange_peel','persian_orange','persimmon','peru','portland_orange','pumpkin','russet','safety_orange','sandy_brown','tan','taupe','tawny','tea_rose','wood_brown'] %}
{% elif states('input_select.front_room_color_set') == 'Yellows' %}
{% set colors = ['amber','beige','buff','citrine','cream','cyber_yellow','ecru','harvest_gold','jasmine','jonquil','khaki','lemon','mellow_yellow','mikado_yellow','mustard','naples_yellow','old_gold','process_yellow','royal_yellow','safety_yellow','saffron','school_bus_yellow','straw','vanilla'] %}
{% elif states('input_select.front_room_color_set') == 'Greens' %}
{% set colors = ['army_green','artichoke','asparagus','avacado','bottle_green','bright_mint','celadon','emerald','fern_green','forest_green','harlequin','hunter_green','india_green','islamic_green','jade','kelly_green','laurel_green','malachite','mantis','mint_green','moss_green','neon_green','olive','pakistan_green','paris_green','rifle_green','russian_green','sea_green','shamrock_green','slytherin_green'] %}
{% elif states('input_select.front_room_color_set') == 'Cyans' %}
{% set colors = ['aqua','aquamarine','brunswick_green','celadon_green','celeste','cerulean','charleston_green','dark_cyan','electric_blue','feldgrau','gray_green','midnight_green','morning_blue','myrtle_green','persian_green','robin_egg_blue','sky_blue','teal','teal_blue','turquoise','verdigris','viridian'] %}
{% elif states('input_select.front_room_color_set') == 'Blues' %}
{% set colors = ['azure','baby_blue','blue_gray','capri','cornflower','egyptian_blue','glaucous','independence','indigo','indigo_dye','liberty','light_blue','midnight_blue','navy_blue','periwinkle','powder_blue','resolution_blue','sapphire','space_cadet','steel_blue','ultramarine'] %}
{% elif states('input_select.front_room_color_set') == 'Purples' %}
{% set colors = ['byzantium','dark_purple','electric_indigo','eminence','heliotrope','indigo','indigo_dye','mardi_gras','mauve','medium_purple','orchid','pansy_purple','phlox','purpureus','thistle','tropical_indigo','tyrian_purple','royal_purple'] %}
{% elif states('input_select.front_room_color_set') == 'Magentas' %}
{% set colors = ['amaranth','antique_fuchsia','baby_pink','cameo_pink','carnation_pink','charm_pink','china_pink','cotton_candy','dark_magenta','fandango','french_fuchsia','french_pink','fuchsia_rose','magenta_haze','mimi_pink','persian_pink','piggy_pink','pink','pink_lace','pink_lavender','plum','queen_pink','rose','rose_quartz','shocking_pink','silver_pink','sky_magenta','super_pink'] %}
{% elif states('input_select.front_room_color_set') == 'Grays' %}
{% set colors = ['ash_gray','battleship_gray','cadet_gray','charcoal','dim_gray','gunmetal','jet','marengo','nickel','platinum','rocket_metallic','silver','slate_gray'] %}
{% endif %}
{{ colors|random }}
- conditions:
- condition: state
entity_id: input_boolean.front_room_cycle_same
state: "on"
sequence:
- action: light.turn_on
data_template:
entity_id: light.front_room_hue
brightness: '{{ states("input_number.front_room_light_cycle_brightness") | int }}'
transition: '{{ states("input_number.front_room_light_cycle_transition") | int }}'
profile: >
{% if states('input_select.front_room_color_set') == 'Basic' %}
{% set colors = ['white','black','red','orange','yellow','green','blue','purple','pink','brown','gray'] %}
{% elif states('input_select.front_room_color_set') == 'Color Wheel' %}
{% set colors = ['red','orange','amber','yellow','chartreuse','green','teal','blue','violet','purple','magenta'] %}
{% elif states('input_select.front_room_color_set') == 'Rainbow' %}
{% set colors = ['red','orange','yellow','green','blue','indigo','violet'] %}
{% elif states('input_select.front_room_color_set') == 'Flourescent' %}
{% set colors = ['radical_red','wild_watermelon','outrageous_orange','atomic_tangerine','neon_carrot','sunglow','laser_lemon','unmellow_yellow','electric_lime','screamin_green','magic_mint','blizzard_blue','shocking_pink','razzle_dazzle_rose','hot_magenta','purple_pizzazz'] %}
{% elif states('input_select.front_room_color_set') == 'Silver Swirl' %}
{% set colors = ['aztec_gold','burnished_brown','cerulean_frost','cinnamon_satin','copper_penny','cosmic_cobalt','glossy_grape','granite_gray','green_sheen','lilac_luster','misty_moss','mystic_maroon','pearly_purple','pewter_blue','polished_pine','quick_silver','rose_dust','rusty_red','shadow_blue','shiny_shamrock','steel_teal','sugar_plum','twilight_lavender','wintergreen_dream'] %}
{% elif states('input_select.front_room_color_set') == 'Gem Tones' %}
{% set colors = ['amethyst','citrine','emerald','jade','lapis_lazuli','malachite','rose_quartz','ruby','sapphire','smokey_topaz'] %}
{% elif states('input_select.front_room_color_set') == 'Reds' %}
{% set colors = ['auburn','baby_pink','barn_red','burgundy','burnt_umber','cadmium_red','cardinal','chesnut','chili_red','congo_pink','coral_pink','desire','fire_engine_red','imperial_red','new_york_pink','paradise_pink','pastel_pink','pigment_red','rust','salmon_pink','tango_pink','turkey_red','vanilla_ice','wine'] %}
{% elif states('input_select.front_room_color_set') == 'Oranges' %}
{% set colors = ['beaver','cadmium_orange','carrot_orange','champagne','chocolate','cocoa_brown','desert_sand','flame','gamboge','international_orange','kobicha','lion','marigold','orange_peel','persian_orange','persimmon','peru','portland_orange','pumpkin','russet','safety_orange','sandy_brown','tan','taupe','tawny','tea_rose','wood_brown'] %}
{% elif states('input_select.front_room_color_set') == 'Yellows' %}
{% set colors = ['amber','beige','buff','citrine','cream','cyber_yellow','ecru','harvest_gold','jasmine','jonquil','khaki','lemon','mellow_yellow','mikado_yellow','mustard','naples_yellow','old_gold','process_yellow','royal_yellow','safety_yellow','saffron','school_bus_yellow','straw','vanilla'] %}
{% elif states('input_select.front_room_color_set') == 'Greens' %}
{% set colors = ['army_green','artichoke','asparagus','avacado','bottle_green','bright_mint','celadon','emerald','fern_green','forest_green','harlequin','hunter_green','india_green','islamic_green','jade','kelly_green','laurel_green','malachite','mantis','mint_green','moss_green','neon_green','olive','pakistan_green','paris_green','rifle_green','russian_green','sea_green','shamrock_green','slytherin_green'] %}
{% elif states('input_select.front_room_color_set') == 'Cyans' %}
{% set colors = ['aqua','aquamarine','brunswick_green','celadon_green','celeste','cerulean','charleston_green','dark_cyan','electric_blue','feldgrau','gray_green','midnight_green','morning_blue','myrtle_green','persian_green','robin_egg_blue','sky_blue','teal','teal_blue','turquoise','verdigris','viridian'] %}
{% elif states('input_select.front_room_color_set') == 'Blues' %}
{% set colors = ['azure','baby_blue','blue_gray','capri','cornflower','egyptian_blue','glaucous','independence','indigo','indigo_dye','liberty','light_blue','midnight_blue','navy_blue','periwinkle','powder_blue','resolution_blue','sapphire','space_cadet','steel_blue','ultramarine'] %}
{% elif states('input_select.front_room_color_set') == 'Purples' %}
{% set colors = ['byzantium','dark_purple','electric_indigo','eminence','heliotrope','indigo','indigo_dye','mardi_gras','mauve','medium_purple','orchid','pansy_purple','phlox','purpureus','thistle','tropical_indigo','tyrian_purple','royal_purple'] %}
{% elif states('input_select.front_room_color_set') == 'Magentas' %}
{% set colors = ['amaranth','antique_fuchsia','baby_pink','cameo_pink','carnation_pink','charm_pink','china_pink','cotton_candy','dark_magenta','fandango','french_fuchsia','french_pink','fuchsia_rose','magenta_haze','mimi_pink','persian_pink','piggy_pink','pink','pink_lace','pink_lavender','plum','queen_pink','rose','rose_quartz','shocking_pink','silver_pink','sky_magenta','super_pink'] %}
{% elif states('input_select.front_room_color_set') == 'Grays' %}
{% set colors = ['ash_gray','battleship_gray','cadet_gray','charcoal','dim_gray','gunmetal','jet','marengo','nickel','platinum','rocket_metallic','silver','slate_gray'] %}
{% endif %}
{{ colors|random }}
default:
- service: light.turn_on
- action: light.turn_on
data_template:
entity_id: light.front_room_splash_left
brightness: '{{ states("input_number.front_room_light_cycle_brightness") | int }}'
@@ -93,7 +93,7 @@ sequence:
{% set colors = ['ash_gray','battleship_gray','cadet_gray','charcoal','dim_gray','gunmetal','jet','marengo','nickel','platinum','rocket_metallic','silver','slate_gray'] %}
{% endif %}
{{ colors|random }}
- service: light.turn_on
- action: light.turn_on
data_template:
entity_id: light.front_room_splash_right
brightness: '{{ states("input_number.front_room_light_cycle_brightness") | int }}'
@@ -135,5 +135,5 @@ sequence:
seconds: '{{ states("input_number.front_room_light_cycle_transition") | int }}'
# Wait until the loop_lights script has finished running
- wait_template: "{{ is_state('script.front_room_loop_lights', 'off') }}"
- service: script.turn_on
- action: script.turn_on
entity_id: script.front_room_loop_lights
@@ -2,5 +2,5 @@ alias: Front Room Loop Lights
sequence:
# Wait until the light_cycle script has finished running
- wait_template: "{{ is_state('script.front_room_light_cycle', 'off') }}"
- service: script.turn_on
- action: script.turn_on
entity_id: script.front_room_light_cycle
+8 -8
View File
@@ -1,21 +1,21 @@
alias: Blink Garage Lights
sequence:
- alias: "Manually flash the garage lights"
service: light.toggle
action: light.toggle
target:
entity_id: light.garage_overhead
- delay: '00:00:01'
- delay: "00:00:01"
- alias: "Manually flash the garage lights"
service: light.toggle
action: light.toggle
target:
entity_id: light.garage_overhead
- delay: '00:00:01'
- delay: "00:00:01"
- alias: "Manually flash the garage lights"
service: light.toggle
action: light.toggle
target:
entity_id: light.garage_overhead
- delay: '00:00:01'
- delay: "00:00:01"
- alias: "Manually flash the garage lights"
service: light.toggle
action: light.toggle
target:
entity_id: light.garage_overhead
entity_id: light.garage_overhead
+52 -52
View File
@@ -2,60 +2,60 @@ alias: Great Room Light Cycle
fields:
colorset:
description: The set of colors to loop through
example: 'gemtones'
example: "gemtones"
brightness:
description: The brightness that the lights should be set to
example: '100'
example: "100"
transition:
description: The transition time, in seconds
example: '10'
example: "10"
sequence:
- choose:
- conditions:
- condition: state
entity_id: input_boolean.great_room_cycle_same
state: 'on'
sequence:
- service: light.turn_on
data_template:
entity_id: light.downstairs
brightness: '{{ states("input_number.great_room_light_cycle_brightness") | int }}'
transition: '{{ states("input_number.great_room_light_cycle_transition") | int }}'
profile: >
{% if states('input_select.great_room_color_set') == 'Basic' %}
{% set colors = ['white','black','red','orange','yellow','green','blue','purple','pink','brown','gray'] %}
{% elif states('input_select.great_room_color_set') == 'Color Wheel' %}
{% set colors = ['red','orange','amber','yellow','chartreuse','green','teal','blue','violet','purple','magenta'] %}
{% elif states('input_select.great_room_color_set') == 'Rainbow' %}
{% set colors = ['red','orange','yellow','green','blue','indigo','violet'] %}
{% elif states('input_select.great_room_color_set') == 'Flourescent' %}
{% set colors = ['radical_red','wild_watermelon','outrageous_orange','atomic_tangerine','neon_carrot','sunglow','laser_lemon','unmellow_yellow','electric_lime','screamin_green','magic_mint','blizzard_blue','shocking_pink','razzle_dazzle_rose','hot_magenta','purple_pizzazz'] %}
{% elif states('input_select.great_room_color_set') == 'Silver Swirl' %}
{% set colors = ['aztec_gold','burnished_brown','cerulean_frost','cinnamon_satin','copper_penny','cosmic_cobalt','glossy_grape','granite_gray','green_sheen','lilac_luster','misty_moss','mystic_maroon','pearly_purple','pewter_blue','polished_pine','quick_silver','rose_dust','rusty_red','shadow_blue','shiny_shamrock','steel_teal','sugar_plum','twilight_lavender','wintergreen_dream'] %}
{% elif states('input_select.great_room_color_set') == 'Gem Tones' %}
{% set colors = ['amethyst','citrine','emerald','jade','lapis_lazuli','malachite','rose_quartz','ruby','sapphire','smokey_topaz'] %}
{% elif states('input_select.great_room_color_set') == 'Reds' %}
{% set colors = ['auburn','baby_pink','barn_red','burgundy','burnt_umber','cadmium_red','cardinal','chesnut','chili_red','congo_pink','coral_pink','desire','fire_engine_red','imperial_red','new_york_pink','paradise_pink','pastel_pink','pigment_red','rust','salmon_pink','tango_pink','turkey_red','vanilla_ice','wine'] %}
{% elif states('input_select.great_room_color_set') == 'Oranges' %}
{% set colors = ['beaver','cadmium_orange','carrot_orange','champagne','chocolate','cocoa_brown','desert_sand','flame','gamboge','international_orange','kobicha','lion','marigold','orange_peel','persian_orange','persimmon','peru','portland_orange','pumpkin','russet','safety_orange','sandy_brown','tan','taupe','tawny','tea_rose','wood_brown'] %}
{% elif states('input_select.great_room_color_set') == 'Yellows' %}
{% set colors = ['amber','beige','buff','citrine','cream','cyber_yellow','ecru','harvest_gold','jasmine','jonquil','khaki','lemon','mellow_yellow','mikado_yellow','mustard','naples_yellow','old_gold','process_yellow','royal_yellow','safety_yellow','saffron','school_bus_yellow','straw','vanilla'] %}
{% elif states('input_select.great_room_color_set') == 'Greens' %}
{% set colors = ['army_green','artichoke','asparagus','avacado','bottle_green','bright_mint','celadon','emerald','fern_green','forest_green','harlequin','hunter_green','india_green','islamic_green','jade','kelly_green','laurel_green','malachite','mantis','mint_green','moss_green','neon_green','olive','pakistan_green','paris_green','rifle_green','russian_green','sea_green','shamrock_green','slytherin_green'] %}
{% elif states('input_select.great_room_color_set') == 'Cyans' %}
{% set colors = ['aqua','aquamarine','brunswick_green','celadon_green','celeste','cerulean','charleston_green','dark_cyan','electric_blue','feldgrau','gray_green','midnight_green','morning_blue','myrtle_green','persian_green','robin_egg_blue','sky_blue','teal','teal_blue','turquoise','verdigris','viridian'] %}
{% elif states('input_select.great_room_color_set') == 'Blues' %}
{% set colors = ['azure','baby_blue','blue_gray','capri','cornflower','egyptian_blue','glaucous','independence','indigo','indigo_dye','liberty','light_blue','midnight_blue','navy_blue','periwinkle','powder_blue','resolution_blue','sapphire','space_cadet','steel_blue','ultramarine'] %}
{% elif states('input_select.great_room_color_set') == 'Purples' %}
{% set colors = ['byzantium','dark_purple','electric_indigo','eminence','heliotrope','indigo','indigo_dye','mardi_gras','mauve','medium_purple','orchid','pansy_purple','phlox','purpureus','thistle','tropical_indigo','tyrian_purple','royal_purple'] %}
{% elif states('input_select.great_room_color_set') == 'Magentas' %}
{% set colors = ['amaranth','antique_fuchsia','baby_pink','cameo_pink','carnation_pink','charm_pink','china_pink','cotton_candy','dark_magenta','fandango','french_fuchsia','french_pink','fuchsia_rose','magenta_haze','mimi_pink','persian_pink','piggy_pink','pink','pink_lace','pink_lavender','plum','queen_pink','rose','rose_quartz','shocking_pink','silver_pink','sky_magenta','super_pink'] %}
{% elif states('input_select.great_room_color_set') == 'Grays' %}
{% set colors = ['ash_gray','battleship_gray','cadet_gray','charcoal','dim_gray','gunmetal','jet','marengo','nickel','platinum','rocket_metallic','silver','slate_gray'] %}
{% endif %}
{{ colors|random }}
- conditions:
- condition: state
entity_id: input_boolean.great_room_cycle_same
state: "on"
sequence:
- action: light.turn_on
data_template:
entity_id: light.downstairs
brightness: '{{ states("input_number.great_room_light_cycle_brightness") | int }}'
transition: '{{ states("input_number.great_room_light_cycle_transition") | int }}'
profile: >
{% if states('input_select.great_room_color_set') == 'Basic' %}
{% set colors = ['white','black','red','orange','yellow','green','blue','purple','pink','brown','gray'] %}
{% elif states('input_select.great_room_color_set') == 'Color Wheel' %}
{% set colors = ['red','orange','amber','yellow','chartreuse','green','teal','blue','violet','purple','magenta'] %}
{% elif states('input_select.great_room_color_set') == 'Rainbow' %}
{% set colors = ['red','orange','yellow','green','blue','indigo','violet'] %}
{% elif states('input_select.great_room_color_set') == 'Flourescent' %}
{% set colors = ['radical_red','wild_watermelon','outrageous_orange','atomic_tangerine','neon_carrot','sunglow','laser_lemon','unmellow_yellow','electric_lime','screamin_green','magic_mint','blizzard_blue','shocking_pink','razzle_dazzle_rose','hot_magenta','purple_pizzazz'] %}
{% elif states('input_select.great_room_color_set') == 'Silver Swirl' %}
{% set colors = ['aztec_gold','burnished_brown','cerulean_frost','cinnamon_satin','copper_penny','cosmic_cobalt','glossy_grape','granite_gray','green_sheen','lilac_luster','misty_moss','mystic_maroon','pearly_purple','pewter_blue','polished_pine','quick_silver','rose_dust','rusty_red','shadow_blue','shiny_shamrock','steel_teal','sugar_plum','twilight_lavender','wintergreen_dream'] %}
{% elif states('input_select.great_room_color_set') == 'Gem Tones' %}
{% set colors = ['amethyst','citrine','emerald','jade','lapis_lazuli','malachite','rose_quartz','ruby','sapphire','smokey_topaz'] %}
{% elif states('input_select.great_room_color_set') == 'Reds' %}
{% set colors = ['auburn','baby_pink','barn_red','burgundy','burnt_umber','cadmium_red','cardinal','chesnut','chili_red','congo_pink','coral_pink','desire','fire_engine_red','imperial_red','new_york_pink','paradise_pink','pastel_pink','pigment_red','rust','salmon_pink','tango_pink','turkey_red','vanilla_ice','wine'] %}
{% elif states('input_select.great_room_color_set') == 'Oranges' %}
{% set colors = ['beaver','cadmium_orange','carrot_orange','champagne','chocolate','cocoa_brown','desert_sand','flame','gamboge','international_orange','kobicha','lion','marigold','orange_peel','persian_orange','persimmon','peru','portland_orange','pumpkin','russet','safety_orange','sandy_brown','tan','taupe','tawny','tea_rose','wood_brown'] %}
{% elif states('input_select.great_room_color_set') == 'Yellows' %}
{% set colors = ['amber','beige','buff','citrine','cream','cyber_yellow','ecru','harvest_gold','jasmine','jonquil','khaki','lemon','mellow_yellow','mikado_yellow','mustard','naples_yellow','old_gold','process_yellow','royal_yellow','safety_yellow','saffron','school_bus_yellow','straw','vanilla'] %}
{% elif states('input_select.great_room_color_set') == 'Greens' %}
{% set colors = ['army_green','artichoke','asparagus','avacado','bottle_green','bright_mint','celadon','emerald','fern_green','forest_green','harlequin','hunter_green','india_green','islamic_green','jade','kelly_green','laurel_green','malachite','mantis','mint_green','moss_green','neon_green','olive','pakistan_green','paris_green','rifle_green','russian_green','sea_green','shamrock_green','slytherin_green'] %}
{% elif states('input_select.great_room_color_set') == 'Cyans' %}
{% set colors = ['aqua','aquamarine','brunswick_green','celadon_green','celeste','cerulean','charleston_green','dark_cyan','electric_blue','feldgrau','gray_green','midnight_green','morning_blue','myrtle_green','persian_green','robin_egg_blue','sky_blue','teal','teal_blue','turquoise','verdigris','viridian'] %}
{% elif states('input_select.great_room_color_set') == 'Blues' %}
{% set colors = ['azure','baby_blue','blue_gray','capri','cornflower','egyptian_blue','glaucous','independence','indigo','indigo_dye','liberty','light_blue','midnight_blue','navy_blue','periwinkle','powder_blue','resolution_blue','sapphire','space_cadet','steel_blue','ultramarine'] %}
{% elif states('input_select.great_room_color_set') == 'Purples' %}
{% set colors = ['byzantium','dark_purple','electric_indigo','eminence','heliotrope','indigo','indigo_dye','mardi_gras','mauve','medium_purple','orchid','pansy_purple','phlox','purpureus','thistle','tropical_indigo','tyrian_purple','royal_purple'] %}
{% elif states('input_select.great_room_color_set') == 'Magentas' %}
{% set colors = ['amaranth','antique_fuchsia','baby_pink','cameo_pink','carnation_pink','charm_pink','china_pink','cotton_candy','dark_magenta','fandango','french_fuchsia','french_pink','fuchsia_rose','magenta_haze','mimi_pink','persian_pink','piggy_pink','pink','pink_lace','pink_lavender','plum','queen_pink','rose','rose_quartz','shocking_pink','silver_pink','sky_magenta','super_pink'] %}
{% elif states('input_select.great_room_color_set') == 'Grays' %}
{% set colors = ['ash_gray','battleship_gray','cadet_gray','charcoal','dim_gray','gunmetal','jet','marengo','nickel','platinum','rocket_metallic','silver','slate_gray'] %}
{% endif %}
{{ colors|random }}
default:
- service: light.turn_on
- action: light.turn_on
data_template:
entity_id: light.basement_1
brightness: '{{ states("input_number.great_room_light_cycle_brightness") | int }}'
@@ -93,7 +93,7 @@ sequence:
{% set colors = ['ash_gray','battleship_gray','cadet_gray','charcoal','dim_gray','gunmetal','jet','marengo','nickel','platinum','rocket_metallic','silver','slate_gray'] %}
{% endif %}
{{ colors|random }}
- service: light.turn_on
- action: light.turn_on
data_template:
entity_id: light.basement_2
brightness: '{{ states("input_number.great_room_light_cycle_brightness") | int }}'
@@ -131,7 +131,7 @@ sequence:
{% set colors = ['ash_gray','battleship_gray','cadet_gray','charcoal','dim_gray','gunmetal','jet','marengo','nickel','platinum','rocket_metallic','silver','slate_gray'] %}
{% endif %}
{{ colors|random }}
- service: light.turn_on
- action: light.turn_on
data_template:
entity_id: light.basement_3
brightness: '{{ states("input_number.great_room_light_cycle_brightness") | int }}'
@@ -169,7 +169,7 @@ sequence:
{% set colors = ['ash_gray','battleship_gray','cadet_gray','charcoal','dim_gray','gunmetal','jet','marengo','nickel','platinum','rocket_metallic','silver','slate_gray'] %}
{% endif %}
{{ colors|random }}
- service: light.turn_on
- action: light.turn_on
data_template:
entity_id: light.basement_4
brightness: '{{ states("input_number.great_room_light_cycle_brightness") | int }}'
@@ -207,7 +207,7 @@ sequence:
{% set colors = ['ash_gray','battleship_gray','cadet_gray','charcoal','dim_gray','gunmetal','jet','marengo','nickel','platinum','rocket_metallic','silver','slate_gray'] %}
{% endif %}
{{ colors|random }}
- service: light.turn_on
- action: light.turn_on
data_template:
entity_id: light.basement_5
brightness: '{{ states("input_number.great_room_light_cycle_brightness") | int }}'
@@ -249,5 +249,5 @@ sequence:
seconds: '{{ states("input_number.great_room_light_cycle_transition") | int }}'
# Wait until the loop_lights script has finished running
- wait_template: "{{ is_state('script.great_room_loop_lights', 'off') }}"
- service: script.turn_on
- action: script.turn_on
entity_id: script.great_room_loop_lights
@@ -2,5 +2,5 @@ alias: Great Room Loop Lights
sequence:
# Wait until the light_cycle script has finished running
- wait_template: "{{ is_state('script.great_room_light_cycle', 'off') }}"
- service: script.turn_on
- action: script.turn_on
entity_id: script.great_room_light_cycle
+1 -1
View File
@@ -1,3 +1,3 @@
alias: Restart Home Assistant
sequence:
- service: homeassistant.restart
- action: homeassistant.restart
+10 -10
View File
@@ -1,22 +1,22 @@
alias: House alert
sequence:
- service: media_player.turn_on
- action: media_player.turn_on
data:
entity_id: media_player.master_bedroom_clock
- service: media_player.volume_set
- action: media_player.volume_set
data:
entity_id: media_player.master_bedroom_clock
volume_level: 0.5
- service: media_player.play_media
- action: media_player.play_media
data:
entity_id: media_player.master_bedroom_clock
media_content_id: http://192.168.1.11:8123/local/audio/alarms/Alarm_Clock.mp3
media_content_type: music
- delay: '00:00:10'
- delay: "00:00:10"
# Wait for it to stop playing (5 second audio clip)
- wait_template: "{{ is_state('media_player.master_bedroom_clock','idle') }}"
timeout: '00:00:06'
continue_on_timeout: 'true'
timeout: "00:00:06"
continue_on_timeout: "true"
# Send an audio alert
- action: tts.speak
target:
@@ -25,12 +25,12 @@ sequence:
media_player_entity_id: media_player.master_bedroom_clock
message: >-
The following are open: {{ dict((states|selectattr('entity_id', 'in', state_attr('group.my_exterior_doors', 'entity_id'))|list)|groupby('state'))['on']|map(attribute='name')|list|join(', ') }}
- delay: '00:00:02'
- delay: "00:00:02"
# Wait for it to stop playing (2 minute timeout)
- wait_template: "{{ is_state('media_player.master_bedroom_clock','idle') }}"
timeout: '00:02:00'
continue_on_timeout: 'true'
timeout: "00:02:00"
continue_on_timeout: "true"
# Turn off the media players
- service: media_player.turn_off
- action: media_player.turn_off
data:
entity_id: media_player.master_bedroom_clock
+12 -13
View File
@@ -162,7 +162,7 @@ sequence:
0
{% endif %}
# Unremark to provide an notification with troubleshooting information.
# - service: persistent_notification.create
# - action: persistent_notification.create
# data:
# title: "DEBUG: script.inovelli_led"
# notification_id: "inovelli_led"
@@ -176,14 +176,13 @@ sequence:
# node_id: '{{ node_id }}'
# parameter: '{{ parameter }}'
# value: '{{ inovelli_math }}'
- choose:
# The Z-Wave JS integration requires this service call.
- conditions:
- '{{ zwave_integration == "zwave_js" }}'
sequence:
# Clear the previous effect.
- service: zwave_js.bulk_set_partial_config_parameters
- action: zwave_js.bulk_set_partial_config_parameters
target:
entity_id: "{{ entity_id }}"
data:
@@ -191,7 +190,7 @@ sequence:
value: 0
# Start the new effect.
- service: zwave_js.bulk_set_partial_config_parameters
- action: zwave_js.bulk_set_partial_config_parameters
target:
entity_id: "{{ entity_id }}"
data:
@@ -203,14 +202,14 @@ sequence:
# - '{{ zwave_integration == "ozw" }}'
# sequence:
# # Clear the previous effect.
# - service: ozw.set_config_parameter
# - action: ozw.set_config_parameter
# data:
# node_id: "{{ node_id }}"
# parameter: "{{ parameter }}"
# value: 0
# # Start the new effect.
# - service: ozw.set_config_parameter
# - action: ozw.set_config_parameter
# data:
# node_id: "{{ node_id }}"
# parameter: "{{ parameter }}"
@@ -219,7 +218,7 @@ sequence:
# # The Z-wave integration requires this service call.
# default:
# # Clear the previous effect.
# - service: zwave.set_config_parameter
# - action: zwave.set_config_parameter
# data:
# node_id: "{{ node_id }}"
# parameter: "{{ parameter }}"
@@ -227,7 +226,7 @@ sequence:
# value: 0
# # Start the new effect.
# - service: zwave.set_config_parameter
# - action: zwave.set_config_parameter
# data:
# node_id: "{{ node_id }}"
# parameter: "{{ parameter }}"
@@ -242,7 +241,7 @@ fields:
entity:
#integration: zwave_js
model:
description: 'Device type: dimmer (default), switch, combo_light'
description: "Device type: dimmer (default), switch, combo_light"
example: dimmer
selector:
select:
@@ -251,7 +250,7 @@ fields:
- switch
- combo_light
color:
description: 'Choose a color.'
description: "Choose a color."
example: purple
selector:
select:
@@ -268,7 +267,7 @@ fields:
- Light Pink
- Pink
effect:
description: 'Choose an effect.'
description: "Choose an effect."
example: blink
selector:
select:
@@ -282,7 +281,7 @@ fields:
- Pulse
- Breath
duration:
description: 'How long should the effect run?'
description: "How long should the effect run?"
example: 10 seconds
selector:
select:
@@ -317,4 +316,4 @@ fields:
- 45 Minutes
- 1 Hour
- 2 Hours
- Indefinitely
- Indefinitely
+6 -6
View File
@@ -2,7 +2,7 @@
# https://nathanfiscus.github.io/inovelli-notification-calc/
# https://community.inovelli.com/t/home-assistant-2nd-gen-switch-rgb-working/168/62
# https://docs.google.com/spreadsheets/u/1/d/1SGJrJHCUtz8AzznWL_mLCTJjjr2U0IpltcUkRr7N_6M/edit?usp=sharing
description: 'Set color on Inovelli LED dimmer'
description: "Set color on Inovelli LED dimmer"
mode: queued
fields:
@@ -13,10 +13,10 @@ fields:
description: The color to set the LED (Red, Orange, Green, Blue, Pink, Yellow(Default), Cyan, Purple)
example: Purple
duration:
description: 'How long the effect should last (1 Second, 15 Minutes, 2 Hours, Indefinitely(Default))'
description: "How long the effect should last (1 Second, 15 Minutes, 2 Hours, Indefinitely(Default))"
example: '"30 Seconds"'
effect:
description: 'The effect to use (Off, Solid, Chase(Default), Fast Blink, Slow Blink, Pulse)'
description: "The effect to use (Off, Solid, Chase(Default), Fast Blink, Slow Blink, Pulse)"
example: Chase
level:
description: Brightness level (1-10, Default is 4)
@@ -25,7 +25,7 @@ fields:
description: A pre-calculated Inovelli LED value
example: 33490140
sequence:
- service: input_number.set_value
- action: input_number.set_value
data_template:
entity_id: "{{ entity_id }}"
value: >
@@ -100,9 +100,9 @@ sequence:
{{ value }}
{% endif %}
- service: logbook.log
- action: logbook.log
data_template:
name: Inovelli LED Number
entity_id: script.inovelli_led_number
message: >
{{ states("sensor.date_time_iso") }} Inovelli LED ran with the following options: {{ entity_id }} {{ led }} {{ color }} {{ duration }} {{ effect }} {{ level }} and generated {{ states("input_number.master_bedroom_light_led") | int }}
{{ states("sensor.date_time_iso") }} Inovelli LED ran with the following options: {{ entity_id }} {{ led }} {{ color }} {{ duration }} {{ effect }} {{ level }} and generated {{ states("input_number.master_bedroom_light_led") | int }}
+3 -3
View File
@@ -3,11 +3,11 @@ fields:
description: The entity to change
example: zwave.master_bedroom_dimmer
led:
description: 'Which LED to adjust (Light(Default), Fan)'
description: "Which LED to adjust (Light(Default), Fan)"
example: "Light" # Set to "false" to adjust the fan LED
sequence:
- service: script.inovelli_led
- action: script.inovelli_led
data_template:
entity_id: "{{ entity_id }}"
led: "{{ led }}"
effect: "Off"
effect: "Off"
+18 -18
View File
@@ -58,12 +58,12 @@ variables:
"Pink": 234
sequence:
- variables:
color: '{{ colors[color|title] }}'
color: "{{ colors[color|title] }}"
color_parameter: '{{ parameters[model]["color"] }}'
level_on_parameter: '{{ parameters[model]["level_on"] }}'
level_off_parameter: '{{ parameters[model]["level_off"] }}'
# - service: script.debug
# - action: script.debug
# data:
# id: 02
# message: |
@@ -78,27 +78,27 @@ sequence:
- conditions:
- '{{ zwave_integration == "zwave_js" }}'
sequence:
- service: zwave_js.set_config_parameter
- action: zwave_js.set_config_parameter
target:
entity_id: '{{ entity_id }}'
entity_id: "{{ entity_id }}"
data:
parameter: '{{ color_parameter }}'
value: '{{ color }}'
parameter: "{{ color_parameter }}"
value: "{{ color }}"
- service: zwave_js.set_config_parameter
- action: zwave_js.set_config_parameter
target:
entity_id: '{{ entity_id }}'
entity_id: "{{ entity_id }}"
data:
parameter: '{{ level_on_parameter }}'
value: '{{ level_on }}'
parameter: "{{ level_on_parameter }}"
value: "{{ level_on }}"
# - service: ozw.set_config_parameter
- service: zwave_js.set_config_parameter
# - action: ozw.set_config_parameter
- action: zwave_js.set_config_parameter
target:
entity_id: '{{ entity_id }}'
entity_id: "{{ entity_id }}"
data:
parameter: '{{ level_off_parameter }}'
value: '{{ level_off }}'
parameter: "{{ level_off_parameter }}"
value: "{{ level_off }}"
fields:
entity_id:
@@ -108,7 +108,7 @@ fields:
entity:
#integration: zwave_js
model:
description: 'Device type: dimmer (default), switch, combo_light, combo_fan'
description: "Device type: dimmer (default), switch, combo_light, combo_fan"
example: dimmer
selector:
select:
@@ -118,7 +118,7 @@ fields:
- combo_light
- combo_fan
color:
description: 'Choose a color.'
description: "Choose a color."
example: purple
selector:
select:
@@ -139,4 +139,4 @@ fields:
example: 10
level_off:
description: LED Brightness when off
example: 3
example: 3
@@ -2,60 +2,60 @@ alias: Master Bedroom Light Cycle
fields:
colorset:
description: The set of colors to loop through
example: 'gemtones'
example: "gemtones"
brightness:
description: The brightness that the lights should be set to
example: '100'
example: "100"
transition:
description: The transition time, in seconds
example: '10'
example: "10"
sequence:
- choose:
- conditions:
- condition: state
entity_id: input_boolean.master_bedroom_cycle_same
state: 'on'
sequence:
- service: light.turn_on
data_template:
entity_id: light.master_bedroom_hue
brightness: '{{ states("input_number.master_bedroom_light_cycle_brightness") | int }}'
transition: '{{ states("input_number.master_bedroom_light_cycle_transition") | int }}'
profile: >
{% if states('input_select.master_bedroom_color_set') == 'Basic' %}
{% set colors = ['white','black','red','orange','yellow','green','blue','purple','pink','brown','gray'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Color Wheel' %}
{% set colors = ['red','orange','amber','yellow','chartreuse','green','teal','blue','violet','purple','magenta'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Rainbow' %}
{% set colors = ['red','orange','yellow','green','blue','indigo','violet'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Flourescent' %}
{% set colors = ['radical_red','wild_watermelon','outrageous_orange','atomic_tangerine','neon_carrot','sunglow','laser_lemon','unmellow_yellow','electric_lime','screamin_green','magic_mint','blizzard_blue','shocking_pink','razzle_dazzle_rose','hot_magenta','purple_pizzazz'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Silver Swirl' %}
{% set colors = ['aztec_gold','burnished_brown','cerulean_frost','cinnamon_satin','copper_penny','cosmic_cobalt','glossy_grape','granite_gray','green_sheen','lilac_luster','misty_moss','mystic_maroon','pearly_purple','pewter_blue','polished_pine','quick_silver','rose_dust','rusty_red','shadow_blue','shiny_shamrock','steel_teal','sugar_plum','twilight_lavender','wintergreen_dream'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Gem Tones' %}
{% set colors = ['amethyst','citrine','emerald','jade','lapis_lazuli','malachite','rose_quartz','ruby','sapphire','smokey_topaz'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Reds' %}
{% set colors = ['auburn','baby_pink','barn_red','burgundy','burnt_umber','cadmium_red','cardinal','chesnut','chili_red','congo_pink','coral_pink','desire','fire_engine_red','imperial_red','new_york_pink','paradise_pink','pastel_pink','pigment_red','rust','salmon_pink','tango_pink','turkey_red','vanilla_ice','wine'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Oranges' %}
{% set colors = ['beaver','cadmium_orange','carrot_orange','champagne','chocolate','cocoa_brown','desert_sand','flame','gamboge','international_orange','kobicha','lion','marigold','orange_peel','persian_orange','persimmon','peru','portland_orange','pumpkin','russet','safety_orange','sandy_brown','tan','taupe','tawny','tea_rose','wood_brown'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Yellows' %}
{% set colors = ['amber','beige','buff','citrine','cream','cyber_yellow','ecru','harvest_gold','jasmine','jonquil','khaki','lemon','mellow_yellow','mikado_yellow','mustard','naples_yellow','old_gold','process_yellow','royal_yellow','safety_yellow','saffron','school_bus_yellow','straw','vanilla'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Greens' %}
{% set colors = ['army_green','artichoke','asparagus','avacado','bottle_green','bright_mint','celadon','emerald','fern_green','forest_green','harlequin','hunter_green','india_green','islamic_green','jade','kelly_green','laurel_green','malachite','mantis','mint_green','moss_green','neon_green','olive','pakistan_green','paris_green','rifle_green','russian_green','sea_green','shamrock_green','slytherin_green'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Cyans' %}
{% set colors = ['aqua','aquamarine','brunswick_green','celadon_green','celeste','cerulean','charleston_green','dark_cyan','electric_blue','feldgrau','gray_green','midnight_green','morning_blue','myrtle_green','persian_green','robin_egg_blue','sky_blue','teal','teal_blue','turquoise','verdigris','viridian'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Blues' %}
{% set colors = ['azure','baby_blue','blue_gray','capri','cornflower','egyptian_blue','glaucous','independence','indigo','indigo_dye','liberty','light_blue','midnight_blue','navy_blue','periwinkle','powder_blue','resolution_blue','sapphire','space_cadet','steel_blue','ultramarine'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Purples' %}
{% set colors = ['byzantium','dark_purple','electric_indigo','eminence','heliotrope','indigo','indigo_dye','mardi_gras','mauve','medium_purple','orchid','pansy_purple','phlox','purpureus','thistle','tropical_indigo','tyrian_purple','royal_purple'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Magentas' %}
{% set colors = ['amaranth','antique_fuchsia','baby_pink','cameo_pink','carnation_pink','charm_pink','china_pink','cotton_candy','dark_magenta','fandango','french_fuchsia','french_pink','fuchsia_rose','magenta_haze','mimi_pink','persian_pink','piggy_pink','pink','pink_lace','pink_lavender','plum','queen_pink','rose','rose_quartz','shocking_pink','silver_pink','sky_magenta','super_pink'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Grays' %}
{% set colors = ['ash_gray','battleship_gray','cadet_gray','charcoal','dim_gray','gunmetal','jet','marengo','nickel','platinum','rocket_metallic','silver','slate_gray'] %}
{% endif %}
{{ colors|random }}
- conditions:
- condition: state
entity_id: input_boolean.master_bedroom_cycle_same
state: "on"
sequence:
- action: light.turn_on
data_template:
entity_id: light.master_bedroom_hue
brightness: '{{ states("input_number.master_bedroom_light_cycle_brightness") | int }}'
transition: '{{ states("input_number.master_bedroom_light_cycle_transition") | int }}'
profile: >
{% if states('input_select.master_bedroom_color_set') == 'Basic' %}
{% set colors = ['white','black','red','orange','yellow','green','blue','purple','pink','brown','gray'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Color Wheel' %}
{% set colors = ['red','orange','amber','yellow','chartreuse','green','teal','blue','violet','purple','magenta'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Rainbow' %}
{% set colors = ['red','orange','yellow','green','blue','indigo','violet'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Flourescent' %}
{% set colors = ['radical_red','wild_watermelon','outrageous_orange','atomic_tangerine','neon_carrot','sunglow','laser_lemon','unmellow_yellow','electric_lime','screamin_green','magic_mint','blizzard_blue','shocking_pink','razzle_dazzle_rose','hot_magenta','purple_pizzazz'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Silver Swirl' %}
{% set colors = ['aztec_gold','burnished_brown','cerulean_frost','cinnamon_satin','copper_penny','cosmic_cobalt','glossy_grape','granite_gray','green_sheen','lilac_luster','misty_moss','mystic_maroon','pearly_purple','pewter_blue','polished_pine','quick_silver','rose_dust','rusty_red','shadow_blue','shiny_shamrock','steel_teal','sugar_plum','twilight_lavender','wintergreen_dream'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Gem Tones' %}
{% set colors = ['amethyst','citrine','emerald','jade','lapis_lazuli','malachite','rose_quartz','ruby','sapphire','smokey_topaz'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Reds' %}
{% set colors = ['auburn','baby_pink','barn_red','burgundy','burnt_umber','cadmium_red','cardinal','chesnut','chili_red','congo_pink','coral_pink','desire','fire_engine_red','imperial_red','new_york_pink','paradise_pink','pastel_pink','pigment_red','rust','salmon_pink','tango_pink','turkey_red','vanilla_ice','wine'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Oranges' %}
{% set colors = ['beaver','cadmium_orange','carrot_orange','champagne','chocolate','cocoa_brown','desert_sand','flame','gamboge','international_orange','kobicha','lion','marigold','orange_peel','persian_orange','persimmon','peru','portland_orange','pumpkin','russet','safety_orange','sandy_brown','tan','taupe','tawny','tea_rose','wood_brown'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Yellows' %}
{% set colors = ['amber','beige','buff','citrine','cream','cyber_yellow','ecru','harvest_gold','jasmine','jonquil','khaki','lemon','mellow_yellow','mikado_yellow','mustard','naples_yellow','old_gold','process_yellow','royal_yellow','safety_yellow','saffron','school_bus_yellow','straw','vanilla'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Greens' %}
{% set colors = ['army_green','artichoke','asparagus','avacado','bottle_green','bright_mint','celadon','emerald','fern_green','forest_green','harlequin','hunter_green','india_green','islamic_green','jade','kelly_green','laurel_green','malachite','mantis','mint_green','moss_green','neon_green','olive','pakistan_green','paris_green','rifle_green','russian_green','sea_green','shamrock_green','slytherin_green'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Cyans' %}
{% set colors = ['aqua','aquamarine','brunswick_green','celadon_green','celeste','cerulean','charleston_green','dark_cyan','electric_blue','feldgrau','gray_green','midnight_green','morning_blue','myrtle_green','persian_green','robin_egg_blue','sky_blue','teal','teal_blue','turquoise','verdigris','viridian'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Blues' %}
{% set colors = ['azure','baby_blue','blue_gray','capri','cornflower','egyptian_blue','glaucous','independence','indigo','indigo_dye','liberty','light_blue','midnight_blue','navy_blue','periwinkle','powder_blue','resolution_blue','sapphire','space_cadet','steel_blue','ultramarine'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Purples' %}
{% set colors = ['byzantium','dark_purple','electric_indigo','eminence','heliotrope','indigo','indigo_dye','mardi_gras','mauve','medium_purple','orchid','pansy_purple','phlox','purpureus','thistle','tropical_indigo','tyrian_purple','royal_purple'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Magentas' %}
{% set colors = ['amaranth','antique_fuchsia','baby_pink','cameo_pink','carnation_pink','charm_pink','china_pink','cotton_candy','dark_magenta','fandango','french_fuchsia','french_pink','fuchsia_rose','magenta_haze','mimi_pink','persian_pink','piggy_pink','pink','pink_lace','pink_lavender','plum','queen_pink','rose','rose_quartz','shocking_pink','silver_pink','sky_magenta','super_pink'] %}
{% elif states('input_select.master_bedroom_color_set') == 'Grays' %}
{% set colors = ['ash_gray','battleship_gray','cadet_gray','charcoal','dim_gray','gunmetal','jet','marengo','nickel','platinum','rocket_metallic','silver','slate_gray'] %}
{% endif %}
{{ colors|random }}
default:
- service: light.turn_on
- action: light.turn_on
data_template:
entity_id: light.master_bedroom_1
brightness: '{{ states("input_number.master_bedroom_light_cycle_brightness") | int }}'
@@ -93,7 +93,7 @@ sequence:
{% set colors = ['ash_gray','battleship_gray','cadet_gray','charcoal','dim_gray','gunmetal','jet','marengo','nickel','platinum','rocket_metallic','silver','slate_gray'] %}
{% endif %}
{{ colors|random }}
- service: light.turn_on
- action: light.turn_on
data_template:
entity_id: light.master_bedroom_2
brightness: '{{ states("input_number.master_bedroom_light_cycle_brightness") | int }}'
@@ -131,7 +131,7 @@ sequence:
{% set colors = ['ash_gray','battleship_gray','cadet_gray','charcoal','dim_gray','gunmetal','jet','marengo','nickel','platinum','rocket_metallic','silver','slate_gray'] %}
{% endif %}
{{ colors|random }}
- service: light.turn_on
- action: light.turn_on
data_template:
entity_id: light.master_bedroom_3
brightness: '{{ states("input_number.master_bedroom_light_cycle_brightness") | int }}'
@@ -173,5 +173,5 @@ sequence:
seconds: '{{ states("input_number.master_bedroom_light_cycle_transition") | int }}'
# Wait until the loop_lights script has finished running
- wait_template: "{{ is_state('script.master_bedroom_loop_lights', 'off') }}"
- service: script.turn_on
- action: script.turn_on
entity_id: script.master_bedroom_loop_lights
@@ -2,5 +2,5 @@ alias: Master Bedroom Loop Lights
sequence:
# Wait until the light_cycle script has finished running
- wait_template: "{{ is_state('script.master_bedroom_light_cycle', 'off') }}"
- service: script.turn_on
- action: script.turn_on
entity_id: script.master_bedroom_light_cycle
@@ -53,7 +53,7 @@ sequence:
seconds: 0
milliseconds: 0
- service: input_select.select_option
- action: input_select.select_option
data:
option: Auto
target:
+10 -10
View File
@@ -10,11 +10,11 @@ sequence:
- alias: "Ask to close or open the garage"
choose:
- conditions:
- condition: state
entity_id: cover.garage_door
state: 'closed'
- condition: state
entity_id: cover.garage_door
state: "closed"
sequence:
service: notify.mobile_app_pixel_7
action: notify.mobile_app_pixel_7
data:
message: "The garage is closed. Do you want to adjust this?"
data:
@@ -24,11 +24,11 @@ sequence:
- action: "{{ action_close }}"
title: Close
- conditions:
- condition: state
entity_id: cover.garage_door
state: 'open'
- condition: state
entity_id: cover.garage_door
state: "open"
sequence:
service: notify.mobile_app_pixel_7
action: notify.mobile_app_pixel_7
data:
message: "The garage is open. Do you want to adjust this?"
data:
@@ -54,11 +54,11 @@ sequence:
choose:
- conditions: "{{ wait.trigger.event.data.action == action_open }}"
sequence:
- service: cover.open_cover
- action: cover.open_cover
target:
entity_id: cover.garage_door
- conditions: "{{ wait.trigger.event.data.action == action_close }}"
sequence:
- service: cover.close_cover
- action: cover.close_cover
target:
entity_id: cover.garage_door
+1 -1
View File
@@ -1,6 +1,6 @@
alias: Notify Alert
sequence:
- service: notify.mobile_app_pixel_7
- action: notify.mobile_app_pixel_7
data:
title: "Wake up!"
message: "The house is on fire and the cat's stuck in the dryer!"
+1 -1
View File
@@ -1,6 +1,6 @@
alias: Notify With Icon
sequence:
- service: notify.mobile_app_pixel_7
- action: notify.mobile_app_pixel_7
data:
title: "Cellphone icon"
message: "This will show a cellphone icon in the status bar"
+1 -1
View File
@@ -1,6 +1,6 @@
alias: Notify with Pic
sequence:
- service: notify.mobile_app_pixel_7
- action: notify.mobile_app_pixel_7
data:
title: Test
message: "This is a test message with an image."
+49 -49
View File
@@ -2,60 +2,60 @@ alias: Nursery Light Cycle
fields:
colorset:
description: The set of colors to loop through
example: 'gemtones'
example: "gemtones"
brightness:
description: The brightness that the lights should be set to
example: '100'
example: "100"
transition:
description: The transition time, in seconds
example: '10'
example: "10"
sequence:
- choose:
- conditions:
- condition: state
entity_id: input_boolean.nursery_cycle_same
state: 'on'
sequence:
- service: light.turn_on
data_template:
entity_id: light.nursery_hue
brightness: '{{ states("input_number.nursery_light_cycle_brightness") | int }}'
transition: '{{ states("input_number.nursery_light_cycle_transition") | int }}'
profile: >
{% if states('input_select.nursery_color_set') == 'Basic' %}
{% set colors = ['white','black','red','orange','yellow','green','blue','purple','pink','brown','gray'] %}
{% elif states('input_select.nursery_color_set') == 'Color Wheel' %}
{% set colors = ['red','orange','amber','yellow','chartreuse','green','teal','blue','violet','purple','magenta'] %}
{% elif states('input_select.nursery_color_set') == 'Rainbow' %}
{% set colors = ['red','orange','yellow','green','blue','indigo','violet'] %}
{% elif states('input_select.nursery_color_set') == 'Flourescent' %}
{% set colors = ['radical_red','wild_watermelon','outrageous_orange','atomic_tangerine','neon_carrot','sunglow','laser_lemon','unmellow_yellow','electric_lime','screamin_green','magic_mint','blizzard_blue','shocking_pink','razzle_dazzle_rose','hot_magenta','purple_pizzazz'] %}
{% elif states('input_select.nursery_color_set') == 'Silver Swirl' %}
{% set colors = ['aztec_gold','burnished_brown','cerulean_frost','cinnamon_satin','copper_penny','cosmic_cobalt','glossy_grape','granite_gray','green_sheen','lilac_luster','misty_moss','mystic_maroon','pearly_purple','pewter_blue','polished_pine','quick_silver','rose_dust','rusty_red','shadow_blue','shiny_shamrock','steel_teal','sugar_plum','twilight_lavender','wintergreen_dream'] %}
{% elif states('input_select.nursery_color_set') == 'Gem Tones' %}
{% set colors = ['amethyst','citrine','emerald','jade','lapis_lazuli','malachite','rose_quartz','ruby','sapphire','smokey_topaz'] %}
{% elif states('input_select.nursery_color_set') == 'Reds' %}
{% set colors = ['auburn','baby_pink','barn_red','burgundy','burnt_umber','cadmium_red','cardinal','chesnut','chili_red','congo_pink','coral_pink','desire','fire_engine_red','imperial_red','new_york_pink','paradise_pink','pastel_pink','pigment_red','rust','salmon_pink','tango_pink','turkey_red','vanilla_ice','wine'] %}
{% elif states('input_select.nursery_color_set') == 'Oranges' %}
{% set colors = ['beaver','cadmium_orange','carrot_orange','champagne','chocolate','cocoa_brown','desert_sand','flame','gamboge','international_orange','kobicha','lion','marigold','orange_peel','persian_orange','persimmon','peru','portland_orange','pumpkin','russet','safety_orange','sandy_brown','tan','taupe','tawny','tea_rose','wood_brown'] %}
{% elif states('input_select.nursery_color_set') == 'Yellows' %}
{% set colors = ['amber','beige','buff','citrine','cream','cyber_yellow','ecru','harvest_gold','jasmine','jonquil','khaki','lemon','mellow_yellow','mikado_yellow','mustard','naples_yellow','old_gold','process_yellow','royal_yellow','safety_yellow','saffron','school_bus_yellow','straw','vanilla'] %}
{% elif states('input_select.nursery_color_set') == 'Greens' %}
{% set colors = ['army_green','artichoke','asparagus','avacado','bottle_green','bright_mint','celadon','emerald','fern_green','forest_green','harlequin','hunter_green','india_green','islamic_green','jade','kelly_green','laurel_green','malachite','mantis','mint_green','moss_green','neon_green','olive','pakistan_green','paris_green','rifle_green','russian_green','sea_green','shamrock_green','slytherin_green'] %}
{% elif states('input_select.nursery_color_set') == 'Cyans' %}
{% set colors = ['aqua','aquamarine','brunswick_green','celadon_green','celeste','cerulean','charleston_green','dark_cyan','electric_blue','feldgrau','gray_green','midnight_green','morning_blue','myrtle_green','persian_green','robin_egg_blue','sky_blue','teal','teal_blue','turquoise','verdigris','viridian'] %}
{% elif states('input_select.nursery_color_set') == 'Blues' %}
{% set colors = ['azure','baby_blue','blue_gray','capri','cornflower','egyptian_blue','glaucous','independence','indigo','indigo_dye','liberty','light_blue','midnight_blue','navy_blue','periwinkle','powder_blue','resolution_blue','sapphire','space_cadet','steel_blue','ultramarine'] %}
{% elif states('input_select.nursery_color_set') == 'Purples' %}
{% set colors = ['byzantium','dark_purple','electric_indigo','eminence','heliotrope','indigo','indigo_dye','mardi_gras','mauve','medium_purple','orchid','pansy_purple','phlox','purpureus','thistle','tropical_indigo','tyrian_purple','royal_purple'] %}
{% elif states('input_select.nursery_color_set') == 'Magentas' %}
{% set colors = ['amaranth','antique_fuchsia','baby_pink','cameo_pink','carnation_pink','charm_pink','china_pink','cotton_candy','dark_magenta','fandango','french_fuchsia','french_pink','fuchsia_rose','magenta_haze','mimi_pink','persian_pink','piggy_pink','pink','pink_lace','pink_lavender','plum','queen_pink','rose','rose_quartz','shocking_pink','silver_pink','sky_magenta','super_pink'] %}
{% elif states('input_select.nursery_color_set') == 'Grays' %}
{% set colors = ['ash_gray','battleship_gray','cadet_gray','charcoal','dim_gray','gunmetal','jet','marengo','nickel','platinum','rocket_metallic','silver','slate_gray'] %}
{% endif %}
{{ colors|random }}
- conditions:
- condition: state
entity_id: input_boolean.nursery_cycle_same
state: "on"
sequence:
- action: light.turn_on
data_template:
entity_id: light.nursery_hue
brightness: '{{ states("input_number.nursery_light_cycle_brightness") | int }}'
transition: '{{ states("input_number.nursery_light_cycle_transition") | int }}'
profile: >
{% if states('input_select.nursery_color_set') == 'Basic' %}
{% set colors = ['white','black','red','orange','yellow','green','blue','purple','pink','brown','gray'] %}
{% elif states('input_select.nursery_color_set') == 'Color Wheel' %}
{% set colors = ['red','orange','amber','yellow','chartreuse','green','teal','blue','violet','purple','magenta'] %}
{% elif states('input_select.nursery_color_set') == 'Rainbow' %}
{% set colors = ['red','orange','yellow','green','blue','indigo','violet'] %}
{% elif states('input_select.nursery_color_set') == 'Flourescent' %}
{% set colors = ['radical_red','wild_watermelon','outrageous_orange','atomic_tangerine','neon_carrot','sunglow','laser_lemon','unmellow_yellow','electric_lime','screamin_green','magic_mint','blizzard_blue','shocking_pink','razzle_dazzle_rose','hot_magenta','purple_pizzazz'] %}
{% elif states('input_select.nursery_color_set') == 'Silver Swirl' %}
{% set colors = ['aztec_gold','burnished_brown','cerulean_frost','cinnamon_satin','copper_penny','cosmic_cobalt','glossy_grape','granite_gray','green_sheen','lilac_luster','misty_moss','mystic_maroon','pearly_purple','pewter_blue','polished_pine','quick_silver','rose_dust','rusty_red','shadow_blue','shiny_shamrock','steel_teal','sugar_plum','twilight_lavender','wintergreen_dream'] %}
{% elif states('input_select.nursery_color_set') == 'Gem Tones' %}
{% set colors = ['amethyst','citrine','emerald','jade','lapis_lazuli','malachite','rose_quartz','ruby','sapphire','smokey_topaz'] %}
{% elif states('input_select.nursery_color_set') == 'Reds' %}
{% set colors = ['auburn','baby_pink','barn_red','burgundy','burnt_umber','cadmium_red','cardinal','chesnut','chili_red','congo_pink','coral_pink','desire','fire_engine_red','imperial_red','new_york_pink','paradise_pink','pastel_pink','pigment_red','rust','salmon_pink','tango_pink','turkey_red','vanilla_ice','wine'] %}
{% elif states('input_select.nursery_color_set') == 'Oranges' %}
{% set colors = ['beaver','cadmium_orange','carrot_orange','champagne','chocolate','cocoa_brown','desert_sand','flame','gamboge','international_orange','kobicha','lion','marigold','orange_peel','persian_orange','persimmon','peru','portland_orange','pumpkin','russet','safety_orange','sandy_brown','tan','taupe','tawny','tea_rose','wood_brown'] %}
{% elif states('input_select.nursery_color_set') == 'Yellows' %}
{% set colors = ['amber','beige','buff','citrine','cream','cyber_yellow','ecru','harvest_gold','jasmine','jonquil','khaki','lemon','mellow_yellow','mikado_yellow','mustard','naples_yellow','old_gold','process_yellow','royal_yellow','safety_yellow','saffron','school_bus_yellow','straw','vanilla'] %}
{% elif states('input_select.nursery_color_set') == 'Greens' %}
{% set colors = ['army_green','artichoke','asparagus','avacado','bottle_green','bright_mint','celadon','emerald','fern_green','forest_green','harlequin','hunter_green','india_green','islamic_green','jade','kelly_green','laurel_green','malachite','mantis','mint_green','moss_green','neon_green','olive','pakistan_green','paris_green','rifle_green','russian_green','sea_green','shamrock_green','slytherin_green'] %}
{% elif states('input_select.nursery_color_set') == 'Cyans' %}
{% set colors = ['aqua','aquamarine','brunswick_green','celadon_green','celeste','cerulean','charleston_green','dark_cyan','electric_blue','feldgrau','gray_green','midnight_green','morning_blue','myrtle_green','persian_green','robin_egg_blue','sky_blue','teal','teal_blue','turquoise','verdigris','viridian'] %}
{% elif states('input_select.nursery_color_set') == 'Blues' %}
{% set colors = ['azure','baby_blue','blue_gray','capri','cornflower','egyptian_blue','glaucous','independence','indigo','indigo_dye','liberty','light_blue','midnight_blue','navy_blue','periwinkle','powder_blue','resolution_blue','sapphire','space_cadet','steel_blue','ultramarine'] %}
{% elif states('input_select.nursery_color_set') == 'Purples' %}
{% set colors = ['byzantium','dark_purple','electric_indigo','eminence','heliotrope','indigo','indigo_dye','mardi_gras','mauve','medium_purple','orchid','pansy_purple','phlox','purpureus','thistle','tropical_indigo','tyrian_purple','royal_purple'] %}
{% elif states('input_select.nursery_color_set') == 'Magentas' %}
{% set colors = ['amaranth','antique_fuchsia','baby_pink','cameo_pink','carnation_pink','charm_pink','china_pink','cotton_candy','dark_magenta','fandango','french_fuchsia','french_pink','fuchsia_rose','magenta_haze','mimi_pink','persian_pink','piggy_pink','pink','pink_lace','pink_lavender','plum','queen_pink','rose','rose_quartz','shocking_pink','silver_pink','sky_magenta','super_pink'] %}
{% elif states('input_select.nursery_color_set') == 'Grays' %}
{% set colors = ['ash_gray','battleship_gray','cadet_gray','charcoal','dim_gray','gunmetal','jet','marengo','nickel','platinum','rocket_metallic','silver','slate_gray'] %}
{% endif %}
{{ colors|random }}
default:
- service: light.turn_on
- action: light.turn_on
data_template:
entity_id: light.nursery_color_1
brightness: '{{ states("input_number.nursery_light_cycle_brightness") | int }}'
@@ -93,7 +93,7 @@ sequence:
{% set colors = ['ash_gray','battleship_gray','cadet_gray','charcoal','dim_gray','gunmetal','jet','marengo','nickel','platinum','rocket_metallic','silver','slate_gray'] %}
{% endif %}
{{ colors|random }}
- service: light.turn_on
- action: light.turn_on
data_template:
entity_id: light.nursery_color_2
brightness: '{{ states("input_number.nursery_light_cycle_brightness") | int }}'
@@ -135,5 +135,5 @@ sequence:
seconds: '{{ states("input_number.nursery_light_cycle_transition") | int }}'
# Wait until the loop_lights script has finished running
- wait_template: "{{ is_state('script.nursery_loop_lights', 'off') }}"
- service: script.turn_on
- action: script.turn_on
entity_id: script.nursery_loop_lights
+1 -1
View File
@@ -2,5 +2,5 @@ alias: Nursery Loop Lights
sequence:
# Wait until the light_cycle script has finished running
- wait_template: "{{ is_state('script.nursery_light_cycle', 'off') }}"
- service: script.turn_on
- action: script.turn_on
entity_id: script.nursery_light_cycle
+21 -21
View File
@@ -1,21 +1,21 @@
alias: All Kids Youtube Music
mode: single
icon: mdi:music
sequence:
- service: media_player.select_source
data:
source: nursery_hub
entity_id: media_player.ytube_music_player
- service: media_player.shuffle_set
data:
shuffle: true
entity_id: media_player.ytube_music_player
- service: media_player.repeat_set
data:
repeat: all
entity_id: media_player.ytube_music_player
- service: media_player.play_media
data:
entity_id: media_player.ytube_music_player
media_content_id: RDCLAK5uy_mH5mS2pbI9c743F2Xoi7WxRVBbw7k3hPE
media_content_type: playlist
alias: All Kids Youtube Music
mode: single
icon: mdi:music
sequence:
- action: media_player.select_source
data:
source: girls_room_hub
entity_id: media_player.ytube_music_player
- action: media_player.shuffle_set
data:
shuffle: true
entity_id: media_player.ytube_music_player
- action: media_player.repeat_set
data:
repeat: all
entity_id: media_player.ytube_music_player
- action: media_player.play_media
data:
entity_id: media_player.ytube_music_player
media_content_id: RDCLAK5uy_mH5mS2pbI9c743F2Xoi7WxRVBbw7k3hPE
media_content_type: playlist
@@ -1,7 +1,7 @@
alias: Bridget travel sensor
mode: restart
sequence:
- service: input_text.set_value
- action: input_text.set_value
data_template:
entity_id: input_text.person_bridget
value: >-
@@ -1,7 +1,7 @@
alias: Clint travel sensor
mode: restart
sequence:
- service: input_text.set_value
- action: input_text.set_value
data_template:
entity_id: input_text.person_clint
value: >-
+1 -1
View File
@@ -1,7 +1,7 @@
alias: Clint traveltime
mode: restart
sequence:
- service: logbook.log
- action: logbook.log
data_template:
name: Clint Traveltime
entity_id: script.clint_traveltime
+5 -5
View File
@@ -9,10 +9,10 @@ sequence:
state: "on"
sequence:
- alias: "Turn off AM meds"
service: input_boolean.turn_off
action: input_boolean.turn_off
target:
entity_id: input_boolean.clint_needs_am_meds
- service: media_player.play_media
- action: media_player.play_media
target:
entity_id:
- media_player.bathroom_mini
@@ -26,10 +26,10 @@ sequence:
state: "on"
sequence:
- alias: "Turn off PM meds"
service: input_boolean.turn_off
action: input_boolean.turn_off
target:
entity_id: input_boolean.clint_needs_pm_meds
- service: media_player.play_media
- action: media_player.play_media
target:
entity_id:
- media_player.bathroom_mini
@@ -37,7 +37,7 @@ sequence:
media_content_id: media-source://media_source/tts/taking_afternoon_meds.mp3
media_content_type: "audio/mpeg"
default:
- service: media_player.play_media
- action: media_player.play_media
target:
entity_id:
- media_player.bathroom_mini
+1 -1
View File
@@ -1,7 +1,7 @@
alias: Ebin travel sensor
mode: restart
sequence:
- service: input_text.set_value
- action: input_text.set_value
data_template:
entity_id: input_text.person_ebin
value: >-
@@ -1,7 +1,7 @@
alias: Emmett travel sensor
mode: restart
sequence:
- service: input_text.set_value
- action: input_text.set_value
data_template:
entity_id: input_text.person_emmett
value: >-
@@ -19,4 +19,4 @@ sequence:
At Childcare
{% else %}
Somewhere
{% endif %}
{% endif %}
@@ -2,20 +2,20 @@ alias: Goodnight Kids Youtube Music
mode: single
icon: mdi:music
sequence:
- service: media_player.select_source
- action: media_player.select_source
data:
source: nursery_hub
source: girls_room_hub
entity_id: media_player.ytube_music_player
- service: media_player.shuffle_set
- action: media_player.shuffle_set
data:
shuffle: false
entity_id: media_player.ytube_music_player
- service: media_player.repeat_set
- action: media_player.repeat_set
data:
repeat: all
entity_id: media_player.ytube_music_player
- service: media_player.play_media
- action: media_player.play_media
data:
entity_id: media_player.ytube_music_player
media_content_id: PLtfKVM9o2_5ag5qC9nHxl7tKBvGRnh2HM
media_content_type: playlist
media_content_type: playlist
@@ -1,7 +1,7 @@
alias: Guest travel sensor
mode: restart
sequence:
- service: input_text.set_value
- action: input_text.set_value
data_template:
entity_id: input_text.person_guest
value: >-
@@ -1,7 +1,7 @@
alias: Kristy travel sensor
mode: restart
sequence:
- service: input_text.set_value
- action: input_text.set_value
data_template:
entity_id: input_text.person_kristy
value: >-
@@ -1,7 +1,7 @@
alias: Marshall travel sensor
mode: restart
sequence:
- service: input_text.set_value
- action: input_text.set_value
data_template:
entity_id: input_text.person_marshall
value: >-
+1 -1
View File
@@ -1,7 +1,7 @@
alias: Tess travel sensor
mode: restart
sequence:
- service: input_text.set_value
- action: input_text.set_value
data_template:
entity_id: input_text.person_tess
value: >-