nursery to girls room... finally

This commit is contained in:
CeeWeasel
2025-12-03 23:21:30 -05:00
parent 921c3df342
commit 78cd67a560
129 changed files with 2715 additions and 2677 deletions
+3 -3
View File
@@ -47,17 +47,17 @@ This is how to actuall do it!
```yaml ```yaml
- platform: template - platform: template
value_template: > value_template: >
{{ is_state('binary_sensor.nursery_multisensor_home_security_motion_detection','off') and states('sensor.nursery_last_motion') | int <= 300 and states('sensor.system_uptime') | int >= 5 }} {{ is_state('binary_sensor.girls_room_multisensor_home_security_motion_detection','off') and states('sensor.girls_room_last_motion') | int <= 300 and states('sensor.system_uptime') | int >= 5 }}
prob_given_true: 0.8 prob_given_true: 0.8
- platform: template - platform: template
value_template: > value_template: >
{{ is_state('binary_sensor.nursery_multisensor_home_security_motion_detection','off') and states('sensor.nursery_last_motion') | int > 300 and states('sensor.nursery_last_motion') | int <= 600 and states('sensor.system_uptime') | int >= 5 }} {{ is_state('binary_sensor.girls_room_multisensor_home_security_motion_detection','off') and states('sensor.girls_room_last_motion') | int > 300 and states('sensor.girls_room_last_motion') | int <= 600 and states('sensor.system_uptime') | int >= 5 }}
prob_given_true: 0.6 prob_given_true: 0.6
- platform: template - platform: template
value_template: > value_template: >
{{ is_state('binary_sensor.nursery_multisensor_home_security_motion_detection','off') and states('sensor.nursery_last_motion') | int > 600 and states('sensor.nursery_last_motion') | int <= 900 and states('sensor.system_uptime') | int >= 10 }} {{ is_state('binary_sensor.girls_room_multisensor_home_security_motion_detection','off') and states('sensor.girls_room_last_motion') | int > 600 and states('sensor.girls_room_last_motion') | int <= 900 and states('sensor.system_uptime') | int >= 10 }}
prob_given_true: 0.4 prob_given_true: 0.4
``` ```
@@ -21,7 +21,7 @@ action:
entity_id: input_boolean.girls_room_asleep entity_id: input_boolean.girls_room_asleep
state: "on" state: "on"
- condition: state - condition: state
entity_id: binary_sensor.nursery_occupied entity_id: binary_sensor.girls_room_occupied
state: "off" state: "off"
sequence: sequence:
- action: input_boolean.turn_on - action: input_boolean.turn_on
+2 -2
View File
@@ -52,10 +52,10 @@ action:
- choose: - choose:
- conditions: - conditions:
- condition: template - condition: template
value_template: "{{states('switch.nursery_bed_lights') == 'off' }}" value_template: "{{states('switch.girls_room_bed_lights') == 'off' }}"
sequence: sequence:
- action: input_select.select_option - action: input_select.select_option
target: target:
entity_id: input_select.nursery_wled entity_id: input_select.girls_room_wled
data: data:
option: Read option: Read
@@ -1,5 +1,5 @@
alias: Continue Nursery Noise alias: Continue Girls Room Noise
id: automation_continue_nursery_noise id: automation_continue_girls_room_noise
trigger: trigger:
- platform: state - platform: state
entity_id: media_player.girls_room_hub entity_id: media_player.girls_room_hub
@@ -27,13 +27,13 @@ condition:
entity_id: input_boolean.ebin_home entity_id: input_boolean.ebin_home
state: "on" state: "on"
- condition: state - condition: state
entity_id: input_select.nursery_mode entity_id: input_select.girls_room_mode
state: "Night on" state: "Night on"
action: action:
- action: input_select.select_option - action: input_select.select_option
data: data:
entity_id: input_select.google_home entity_id: input_select.google_home
option: "Nursery" option: "Girls Room"
- action: input_select.select_option - action: input_select.select_option
data: data:
entity_id: input_select.ambient_sound entity_id: input_select.ambient_sound
+4 -22
View File
@@ -115,36 +115,18 @@ action:
- delay: "00:00:01" - delay: "00:00:01"
# - action: media_player.play_media
# target:
# entity_id: media_player.front_room_hub
# data:
# media_content_id: camera-casting-yml/nursery-camera
# media_content_type: lovelace
# metadata:
# title: Nursery Camera
# thumbnail: https://brands.home-assistant.io/_/lovelace/logo.png
# media_class: app
# children_media_class: null
# navigateIds:
# - {}
# - media_content_type: lovelace
# media_content_id: ""
# - media_content_type: lovelace
# media_content_id: camera-casting-yml
- choose: - choose:
- conditions: "{{is_state('input_boolean.ebin_home','on')}}" - conditions: "{{is_state('input_boolean.ebin_home','on')}}"
sequence: sequence:
- action: input_select.select_option - action: input_select.select_option
target: target:
entity_id: input_select.nursery_wled entity_id: input_select.girls_room_wled
data: data:
option: "Off" option: "Off"
- action: input_select.select_option - action: input_select.select_option
target: target:
entity_id: input_select.nursery_mode entity_id: input_select.girls_room_mode
data: data:
option: "Nightlight" option: "Nightlight"
@@ -161,13 +143,13 @@ action:
- action: input_button.press - action: input_button.press
data: {} data: {}
target: target:
entity_id: input_button.nursery_bedtime entity_id: input_button.girls_room_bedtime
- action: input_select.select_option - action: input_select.select_option
data: data:
option: Running Rainbow option: Running Rainbow
target: target:
entity_id: input_select.nursery_wled entity_id: input_select.girls_room_wled
- choose: - choose:
- conditions: "{{is_state('input_boolean.emmett_home','on')}}" - conditions: "{{is_state('input_boolean.emmett_home','on')}}"
+2 -2
View File
@@ -198,7 +198,7 @@ action:
- condition: not - condition: not
conditions: conditions:
- condition: state - condition: state
entity_id: input_select.nursery_mode entity_id: input_select.girls_room_mode
state: "Manual" state: "Manual"
- condition: state - condition: state
entity_id: input_select.house entity_id: input_select.house
@@ -206,7 +206,7 @@ action:
sequence: sequence:
- action: input_select.select_option - action: input_select.select_option
data: data:
entity_id: input_select.nursery_mode entity_id: input_select.girls_room_mode
option: Auto option: Auto
- choose: - choose:
@@ -27,9 +27,9 @@ condition:
- condition: state - condition: state
entity_id: input_boolean.ebin_home entity_id: input_boolean.ebin_home
state: "on" state: "on"
# - condition: state - condition: state
# entity_id: input_boolean.nursery_light_cycle entity_id: input_boolean.boys_room_light_cycle
# state: "off" state: "off"
- condition: state - condition: state
entity_id: input_select.boys_room_mode entity_id: input_select.boys_room_mode
state: "Nightlight" state: "Nightlight"
@@ -0,0 +1,168 @@
alias: Boys Room Light Cycle
id: efcf9f08-4174-480a-8480-9b240a0e9e4f
trigger:
- id: light_cycle_on
platform: state
entity_id: input_boolean.boys_room_light_cycle
from: "off"
to: "on"
- id: setting_change
platform: state
entity_id:
- input_number.boys_room_light_cycle_transition
- input_select.boys_room_color_set
- input_boolean.boys_room_cycle_same
condition: "{{ is_state('input_boolean.boys_room_light_cycle','on') }}"
action:
- choose:
- conditions:
- condition: state
entity_id: input_boolean.boys_room_light_cycle
state: "on"
sequence:
- repeat:
sequence:
- choose:
- conditions: # If all lights should be the same color and the projector is off, reference the Hue group for all the lights
- condition: state
entity_id: input_boolean.boys_room_cycle_same
state: "on"
sequence:
- action: light.turn_on
target:
entity_id: light.boys_room_hue
data:
brightness: '{{ states("input_number.boys_room_light_cycle_brightness") | int }}'
transition: '{{ states("input_number.boys_room_light_cycle_transition") | int }}'
profile: >
{% if states('input_select.boys_room_color_set') == 'Basic' %}
{% set colors = ['white','black','red','orange','yellow','green','blue','purple','pink','brown','gray'] %}
{% elif states('input_select.boys_room_color_set') == 'Color Wheel' %}
{% set colors = ['red','orange','amber','yellow','chartreuse','green','teal','blue','violet','purple','magenta'] %}
{% elif states('input_select.boys_room_color_set') == 'Rainbow' %}
{% set colors = ['red','orange','yellow','green','blue','indigo','violet'] %}
{% elif states('input_select.boys_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.boys_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.boys_room_color_set') == 'Gem Tones' %}
{% set colors = ['amethyst','citrine','emerald','jade','lapis_lazuli','malachite','rose_quartz','ruby','sapphire','smokey_topaz'] %}
{% elif states('input_select.boys_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.boys_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.boys_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.boys_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.boys_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.boys_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.boys_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.boys_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.boys_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: # If all lights should be different colors, start referencing the individual lights that don't obscure the TV
- condition: state
entity_id: input_boolean.boys_room_cycle_same
state: "off"
sequence:
- action: light.turn_on
target:
entity_id: light.boys_room_color_1
data:
brightness: '{{ states("input_number.boys_room_light_cycle_brightness") | int }}'
transition: '{{ states("input_number.boys_room_light_cycle_transition") | int }}'
profile: >
{% if states('input_select.boys_room_color_set') == 'Basic' %}
{% set colors = ['white','black','red','orange','yellow','green','blue','purple','pink','brown','gray'] %}
{% elif states('input_select.boys_room_color_set') == 'Color Wheel' %}
{% set colors = ['red','orange','amber','yellow','chartreuse','green','teal','blue','violet','purple','magenta'] %}
{% elif states('input_select.boys_room_color_set') == 'Rainbow' %}
{% set colors = ['red','orange','yellow','green','blue','indigo','violet'] %}
{% elif states('input_select.boys_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.boys_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.boys_room_color_set') == 'Gem Tones' %}
{% set colors = ['amethyst','citrine','emerald','jade','lapis_lazuli','malachite','rose_quartz','ruby','sapphire','smokey_topaz'] %}
{% elif states('input_select.boys_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.boys_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.boys_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.boys_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.boys_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.boys_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.boys_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.boys_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.boys_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 }}
- action: light.turn_on
target:
entity_id: light.boys_room_color_2
data:
brightness: '{{ states("input_number.boys_room_light_cycle_brightness") | int }}'
transition: '{{ states("input_number.boys_room_light_cycle_transition") | int }}'
profile: >
{% if states('input_select.boys_room_color_set') == 'Basic' %}
{% set colors = ['white','black','red','orange','yellow','green','blue','purple','pink','brown','gray'] %}
{% elif states('input_select.boys_room_color_set') == 'Color Wheel' %}
{% set colors = ['red','orange','amber','yellow','chartreuse','green','teal','blue','violet','purple','magenta'] %}
{% elif states('input_select.boys_room_color_set') == 'Rainbow' %}
{% set colors = ['red','orange','yellow','green','blue','indigo','violet'] %}
{% elif states('input_select.boys_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.boys_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.boys_room_color_set') == 'Gem Tones' %}
{% set colors = ['amethyst','citrine','emerald','jade','lapis_lazuli','malachite','rose_quartz','ruby','sapphire','smokey_topaz'] %}
{% elif states('input_select.boys_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.boys_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.boys_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.boys_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.boys_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.boys_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.boys_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.boys_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.boys_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 }}
- delay:
seconds: '{{ states("input_number.boys_room_light_cycle_transition") | int }}'
until:
- condition: state
entity_id: input_boolean.boys_room_light_cycle
state: "off"
- action: automation.trigger
entity_id: automation.boys_room_lights_to_on
@@ -60,9 +60,9 @@ condition:
entity_id: binary_sensor.early_morning entity_id: binary_sensor.early_morning
state: "on" state: "on"
- alias: "Is Nursery Light Cycle turned off?" - alias: "Is Boys Room Light Cycle turned off?"
condition: state condition: state
entity_id: input_boolean.nursery_light_cycle entity_id: input_boolean.girls_room_light_cycle
state: "off" state: "off"
- alias: "Are the kids asleep?" - alias: "Are the kids asleep?"
@@ -5,7 +5,7 @@ trigger:
platform: event platform: event
event_type: timer.finished event_type: timer.finished
event_data: event_data:
entity_id: timer.nursery_camera_on_hub entity_id: timer.girls_room_camera_on_hub
action: action:
action: media_player.turn_off action: media_player.turn_off
data: data:
@@ -1,31 +0,0 @@
alias: Baby Monitor off Front Room TV
id: automation_baby_monitor_off_front_room_tv
trigger:
- platform: event
event_type: timer.finished
event_data:
entity_id: timer.nursery_camera_on_tv
- platform: state
entity_id: media_player.front_room_tv
attribute: source
from: "IP Camera Viewer - Pro"
action:
- choose:
- conditions:
- condition: not
conditions:
- condition: state
entity_id: media_player.front_room_tv
attribute: source
state: "IP Camera Viewer - Pro"
sequence:
- action: timer.cancel
data:
entity_id: timer.nursery_camera_on_tv
default:
action: media_player.turn_off
data:
entity_id: media_player.front_room_tv
@@ -38,7 +38,7 @@ action:
- choose: - choose:
- conditions: - conditions:
- condition: state - condition: state
entity_id: timer.nursery_camera_on_hub entity_id: timer.girls_room_camera_on_hub
state: "idle" state: "idle"
sequence: sequence:
- action: media_player.volume_set - action: media_player.volume_set
@@ -50,10 +50,10 @@ action:
target: target:
entity_id: media_player.front_room_hub entity_id: media_player.front_room_hub
data: data:
media_content_id: camera-casting-yml/nursery-camera media_content_id: camera-casting-yml/girls_room-camera
media_content_type: lovelace media_content_type: lovelace
metadata: metadata:
title: Nursery Camera title: Girls Room Camera
thumbnail: https://brands.home-assistant.io/_/lovelace/logo.png thumbnail: https://brands.home-assistant.io/_/lovelace/logo.png
media_class: app media_class: app
children_media_class: null children_media_class: null
@@ -66,4 +66,4 @@ action:
- action: timer.start - action: timer.start
data: data:
entity_id: timer.nursery_camera_on_hub entity_id: timer.girls_room_camera_on_hub
@@ -1,94 +0,0 @@
alias: Baby Monitor on TV
id: automation_baby_monitor_on_tv
trigger:
- platform: state
entity_id: binary_sensor.black_bed_occupied
to: "off"
for: "00:00:03"
- platform: state
entity_id: binary_sensor.white_bed_occupied
to: "off"
for: "00:00:03"
condition:
- condition: state
entity_id: input_boolean.home_occupied
state: "on"
- condition: state
entity_id: input_boolean.front_room_occupied
state: "on"
- condition: or
conditions:
- condition: state
entity_id: media_player.front_room_tv
state: "off"
- condition: state
entity_id: media_player.front_room_tv
state: "standby"
- condition: state
entity_id: input_boolean.computer_area_occupied
state: "off"
- condition: state
entity_id: binary_sensor.bed_presence_c175a4_bed_occupied_either
state: "off"
- condition: state
entity_id: binary_sensor.master_bedroom_occupied
state: "off"
- condition: state
entity_id: input_boolean.master_bedroom_occupied
state: "off"
- condition: state
entity_id: input_boolean.master_bedroom_asleep
state: "off"
- condition: or
conditions:
- condition: and
conditions:
- condition: state
entity_id: input_boolean.emmett_home
state: "on"
- condition: state
entity_id: input_boolean.emmett_in_bed
state: "on"
- condition: and
conditions:
- condition: state
entity_id: input_boolean.bridget_home
state: "on"
- condition: state
entity_id: input_boolean.bridget_in_bed
state: "on"
- condition: and
conditions:
- condition: state
entity_id: input_boolean.ebin_home
state: "on"
- condition: state
entity_id: input_boolean.ebin_in_bed
state: "on"
- condition: not
conditions:
- condition: state
entity_id: media_player.front_room_tv
state: playing
- condition: state
entity_id: media_player.front_room_tv
state: paused
- condition: state
entity_id: media_player.front_room_tv
attribute: source
state: "IP Camera Viewer - Pro"
action:
- choose:
- conditions:
- condition: state
entity_id: timer.nursery_camera_on_hub
state: "idle"
sequence:
- action: rest_command.nursery_on_roku_1
- action: timer.start
data:
entity_id: timer.nursery_camera_on_tv
@@ -1,9 +1,9 @@
alias: Nursery Awake Button alias: Girls Room Awake Button
id: automation_nursery_awake_button id: automation_girls_room_awake_button
trigger: trigger:
- platform: state - platform: state
entity_id: input_button.nursery_awake entity_id: input_button.girls_room_awake
condition: [] condition: []
@@ -12,13 +12,13 @@ action:
data: data:
option: Auto option: Auto
target: target:
entity_id: input_select.nursery_mode entity_id: input_select.girls_room_mode
- action: input_select.select_option - action: input_select.select_option
data: data:
option: "Off" option: "Off"
target: target:
entity_id: input_select.nursery_wled entity_id: input_select.girls_room_wled
- action: switch.turn_off - action: switch.turn_off
target: target:
@@ -1,9 +1,9 @@
alias: Nursery Bedtime Button alias: Girls Room Bedtime Button
id: automation_nursery_bedtime_button id: automation_girls_room_bedtime_button
trigger: trigger:
- platform: state - platform: state
entity_id: input_button.nursery_bedtime entity_id: input_button.girls_room_bedtime
condition: [] condition: []
@@ -12,17 +12,17 @@ action:
data: data:
option: Nightlight option: Nightlight
target: target:
entity_id: input_select.nursery_mode entity_id: input_select.girls_room_mode
# - action: input_select.select_option # - action: input_select.select_option
# data: # data:
# option: Running Rainbow # option: Running Rainbow
# target: # target:
# entity_id: input_select.nursery_wled # entity_id: input_select.girls_room_wled
# - action: automation.trigger # - action: automation.trigger
# target: # target:
# entity_id: automation.nursery_wled_changed # entity_id: automation.girls_room_wled_changed
#- condition: #- condition:
- alias: "Do not restart the music if it is already playing" - alias: "Do not restart the music if it is already playing"
@@ -1,29 +1,29 @@
alias: Nursery Dimmer LEDs alias: Girls Room Dimmer LEDs
id: automation_nursery_dimmer_leds id: automation_girls_room_dimmer_leds
mode: single mode: single
# Hide warnings when triggered while in delay. # Hide warnings when triggered while in delay.
max_exceeded: silent max_exceeded: silent
trigger: trigger:
- platform: state - platform: state
entity_id: light.nursery_hue entity_id: light.girls_room_hue
attribute: brightness attribute: brightness
- platform: state - platform: state
entity_id: light.nursery_hue entity_id: light.girls_room_hue
- platform: homeassistant - platform: homeassistant
event: start event: start
# condition: # condition:
# - "{{ is_state('sensor.nursery_dimmer_node_status','alive') }}" # - "{{ is_state('sensor.girls_room_dimmer_node_status','alive') }}"
action: action:
- choose: - choose:
- conditions: - conditions:
- alias: "Light off" - alias: "Light off"
condition: state condition: state
entity_id: light.nursery_hue entity_id: light.girls_room_hue
state: "off" state: "off"
sequence: sequence:
- action: zwave_js.set_config_parameter - action: zwave_js.set_config_parameter
@@ -42,7 +42,7 @@ action:
- conditions: - conditions:
- alias: "Light brightness below 78" - alias: "Light brightness below 78"
condition: numeric_state condition: numeric_state
entity_id: light.nursery_hue entity_id: light.girls_room_hue
attribute: brightness attribute: brightness
below: 78 below: 78
sequence: sequence:
@@ -62,7 +62,7 @@ action:
- conditions: - conditions:
- alias: "Light brightness below 104" - alias: "Light brightness below 104"
condition: numeric_state condition: numeric_state
entity_id: light.nursery_hue entity_id: light.girls_room_hue
attribute: brightness attribute: brightness
below: 104 below: 104
sequence: sequence:
@@ -82,7 +82,7 @@ action:
- conditions: - conditions:
- alias: "Light brightness below 130" - alias: "Light brightness below 130"
condition: numeric_state condition: numeric_state
entity_id: light.nursery_hue entity_id: light.girls_room_hue
attribute: brightness attribute: brightness
below: 130 below: 130
sequence: sequence:
@@ -102,7 +102,7 @@ action:
- conditions: - conditions:
- alias: "Light brightness below 156" - alias: "Light brightness below 156"
condition: numeric_state condition: numeric_state
entity_id: light.nursery_hue entity_id: light.girls_room_hue
attribute: brightness attribute: brightness
below: 156 below: 156
sequence: sequence:
@@ -122,7 +122,7 @@ action:
- conditions: - conditions:
- alias: "Light brightness below 182" - alias: "Light brightness below 182"
condition: numeric_state condition: numeric_state
entity_id: light.nursery_hue entity_id: light.girls_room_hue
attribute: brightness attribute: brightness
below: 182 below: 182
sequence: sequence:
@@ -142,7 +142,7 @@ action:
- conditions: - conditions:
- alias: "Light brightness below 208" - alias: "Light brightness below 208"
condition: numeric_state condition: numeric_state
entity_id: light.nursery_hue entity_id: light.girls_room_hue
attribute: brightness attribute: brightness
below: 208 below: 208
sequence: sequence:
@@ -162,7 +162,7 @@ action:
- conditions: - conditions:
- alias: "Light brightness below 234" - alias: "Light brightness below 234"
condition: numeric_state condition: numeric_state
entity_id: light.nursery_hue entity_id: light.girls_room_hue
attribute: brightness attribute: brightness
below: 234 below: 234
sequence: sequence:
@@ -1,5 +1,5 @@
alias: Nursery Into Bed alias: Girls Room Into Bed
id: automation_nursery_into_bed id: automation_girls_room_into_bed
trigger: trigger:
- platform: state - platform: state
@@ -27,13 +27,13 @@ condition:
entity_id: input_boolean.ebin_home entity_id: input_boolean.ebin_home
state: "on" state: "on"
- condition: state - condition: state
entity_id: input_boolean.nursery_light_cycle entity_id: input_boolean.girls_room_light_cycle
state: "off" state: "off"
- condition: state - condition: state
entity_id: input_select.nursery_mode entity_id: input_select.girls_room_mode
state: "Nightlight" state: "Nightlight"
- condition: state - condition: state
entity_id: light.nursery_hue entity_id: light.girls_room_hue
state: "on" state: "on"
action: action:
@@ -1,26 +1,26 @@
alias: Nursery Light Cycle alias: Girls Room Light Cycle
id: automation_nursery_light_cycle id: e5174fca-7170-4348-87dc-a27d4a2bdb9c
trigger: trigger:
- id: light_cycle_on - id: light_cycle_on
platform: state platform: state
entity_id: input_boolean.nursery_light_cycle entity_id: input_boolean.girls_room_light_cycle
from: "off" from: "off"
to: "on" to: "on"
- id: setting_change - id: setting_change
platform: state platform: state
entity_id: entity_id:
- input_number.nursery_light_cycle_transition - input_number.girls_room_light_cycle_transition
- input_select.nursery_color_set - input_select.girls_room_color_set
- input_boolean.nursery_cycle_same - input_boolean.girls_room_cycle_same
condition: "{{ is_state('input_boolean.nursery_light_cycle','on') }}" condition: "{{ is_state('input_boolean.girls_room_light_cycle','on') }}"
action: action:
- choose: - choose:
- conditions: - conditions:
- condition: state - condition: state
entity_id: input_boolean.nursery_light_cycle entity_id: input_boolean.girls_room_light_cycle
state: "on" state: "on"
sequence: sequence:
- repeat: - repeat:
@@ -28,141 +28,141 @@ action:
- choose: - choose:
- conditions: # If all lights should be the same color and the projector is off, reference the Hue group for all the lights - conditions: # If all lights should be the same color and the projector is off, reference the Hue group for all the lights
- condition: state - condition: state
entity_id: input_boolean.nursery_cycle_same entity_id: input_boolean.girls_room_cycle_same
state: "on" state: "on"
sequence: sequence:
- action: light.turn_on - action: light.turn_on
target: target:
entity_id: light.nursery_hue entity_id: light.girls_room_hue
data: data:
brightness: '{{ states("input_number.nursery_light_cycle_brightness") | int }}' brightness: '{{ states("input_number.girls_room_light_cycle_brightness") | int }}'
transition: '{{ states("input_number.nursery_light_cycle_transition") | int }}' transition: '{{ states("input_number.girls_room_light_cycle_transition") | int }}'
profile: > profile: >
{% if states('input_select.nursery_color_set') == 'Basic' %} {% if states('input_select.girls_room_color_set') == 'Basic' %}
{% set colors = ['white','black','red','orange','yellow','green','blue','purple','pink','brown','gray'] %} {% set colors = ['white','black','red','orange','yellow','green','blue','purple','pink','brown','gray'] %}
{% elif states('input_select.nursery_color_set') == 'Color Wheel' %} {% elif states('input_select.girls_room_color_set') == 'Color Wheel' %}
{% set colors = ['red','orange','amber','yellow','chartreuse','green','teal','blue','violet','purple','magenta'] %} {% set colors = ['red','orange','amber','yellow','chartreuse','green','teal','blue','violet','purple','magenta'] %}
{% elif states('input_select.nursery_color_set') == 'Rainbow' %} {% elif states('input_select.girls_room_color_set') == 'Rainbow' %}
{% set colors = ['red','orange','yellow','green','blue','indigo','violet'] %} {% set colors = ['red','orange','yellow','green','blue','indigo','violet'] %}
{% elif states('input_select.nursery_color_set') == 'Flourescent' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_room_color_set') == 'Gem Tones' %}
{% set colors = ['amethyst','citrine','emerald','jade','lapis_lazuli','malachite','rose_quartz','ruby','sapphire','smokey_topaz'] %} {% set colors = ['amethyst','citrine','emerald','jade','lapis_lazuli','malachite','rose_quartz','ruby','sapphire','smokey_topaz'] %}
{% elif states('input_select.nursery_color_set') == 'Reds' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% set colors = ['ash_gray','battleship_gray','cadet_gray','charcoal','dim_gray','gunmetal','jet','marengo','nickel','platinum','rocket_metallic','silver','slate_gray'] %}
{% endif %} {% endif %}
{{ colors|random }} {{ colors|random }}
- conditions: # If all lights should be different colors, start referencing the individual lights that don't obscure the TV - conditions: # If all lights should be different colors, start referencing the individual lights that don't obscure the TV
- condition: state - condition: state
entity_id: input_boolean.nursery_cycle_same entity_id: input_boolean.girls_room_cycle_same
state: "off" state: "off"
sequence: sequence:
- action: light.turn_on - action: light.turn_on
target: target:
entity_id: light.nursery_color_1 entity_id: light.girls_room_color_1
data: data:
brightness: '{{ states("input_number.nursery_light_cycle_brightness") | int }}' brightness: '{{ states("input_number.girls_room_light_cycle_brightness") | int }}'
transition: '{{ states("input_number.nursery_light_cycle_transition") | int }}' transition: '{{ states("input_number.girls_room_light_cycle_transition") | int }}'
profile: > profile: >
{% if states('input_select.nursery_color_set') == 'Basic' %} {% if states('input_select.girls_room_color_set') == 'Basic' %}
{% set colors = ['white','black','red','orange','yellow','green','blue','purple','pink','brown','gray'] %} {% set colors = ['white','black','red','orange','yellow','green','blue','purple','pink','brown','gray'] %}
{% elif states('input_select.nursery_color_set') == 'Color Wheel' %} {% elif states('input_select.girls_room_color_set') == 'Color Wheel' %}
{% set colors = ['red','orange','amber','yellow','chartreuse','green','teal','blue','violet','purple','magenta'] %} {% set colors = ['red','orange','amber','yellow','chartreuse','green','teal','blue','violet','purple','magenta'] %}
{% elif states('input_select.nursery_color_set') == 'Rainbow' %} {% elif states('input_select.girls_room_color_set') == 'Rainbow' %}
{% set colors = ['red','orange','yellow','green','blue','indigo','violet'] %} {% set colors = ['red','orange','yellow','green','blue','indigo','violet'] %}
{% elif states('input_select.nursery_color_set') == 'Flourescent' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_room_color_set') == 'Gem Tones' %}
{% set colors = ['amethyst','citrine','emerald','jade','lapis_lazuli','malachite','rose_quartz','ruby','sapphire','smokey_topaz'] %} {% set colors = ['amethyst','citrine','emerald','jade','lapis_lazuli','malachite','rose_quartz','ruby','sapphire','smokey_topaz'] %}
{% elif states('input_select.nursery_color_set') == 'Reds' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% set colors = ['ash_gray','battleship_gray','cadet_gray','charcoal','dim_gray','gunmetal','jet','marengo','nickel','platinum','rocket_metallic','silver','slate_gray'] %}
{% endif %} {% endif %}
{{ colors|random }} {{ colors|random }}
- action: light.turn_on - action: light.turn_on
target: target:
entity_id: light.nursery_color_2 entity_id: light.girls_room_color_2
data: data:
brightness: '{{ states("input_number.nursery_light_cycle_brightness") | int }}' brightness: '{{ states("input_number.girls_room_light_cycle_brightness") | int }}'
transition: '{{ states("input_number.nursery_light_cycle_transition") | int }}' transition: '{{ states("input_number.girls_room_light_cycle_transition") | int }}'
profile: > profile: >
{% if states('input_select.nursery_color_set') == 'Basic' %} {% if states('input_select.girls_room_color_set') == 'Basic' %}
{% set colors = ['white','black','red','orange','yellow','green','blue','purple','pink','brown','gray'] %} {% set colors = ['white','black','red','orange','yellow','green','blue','purple','pink','brown','gray'] %}
{% elif states('input_select.nursery_color_set') == 'Color Wheel' %} {% elif states('input_select.girls_room_color_set') == 'Color Wheel' %}
{% set colors = ['red','orange','amber','yellow','chartreuse','green','teal','blue','violet','purple','magenta'] %} {% set colors = ['red','orange','amber','yellow','chartreuse','green','teal','blue','violet','purple','magenta'] %}
{% elif states('input_select.nursery_color_set') == 'Rainbow' %} {% elif states('input_select.girls_room_color_set') == 'Rainbow' %}
{% set colors = ['red','orange','yellow','green','blue','indigo','violet'] %} {% set colors = ['red','orange','yellow','green','blue','indigo','violet'] %}
{% elif states('input_select.nursery_color_set') == 'Flourescent' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_room_color_set') == 'Gem Tones' %}
{% set colors = ['amethyst','citrine','emerald','jade','lapis_lazuli','malachite','rose_quartz','ruby','sapphire','smokey_topaz'] %} {% set colors = ['amethyst','citrine','emerald','jade','lapis_lazuli','malachite','rose_quartz','ruby','sapphire','smokey_topaz'] %}
{% elif states('input_select.nursery_color_set') == 'Reds' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% 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' %} {% elif states('input_select.girls_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'] %} {% set colors = ['ash_gray','battleship_gray','cadet_gray','charcoal','dim_gray','gunmetal','jet','marengo','nickel','platinum','rocket_metallic','silver','slate_gray'] %}
{% endif %} {% endif %}
{{ colors|random }} {{ colors|random }}
- delay: - delay:
seconds: '{{ states("input_number.nursery_light_cycle_transition") | int }}' seconds: '{{ states("input_number.girls_room_light_cycle_transition") | int }}'
until: until:
- condition: state - condition: state
entity_id: input_boolean.nursery_light_cycle entity_id: input_boolean.girls_room_light_cycle
state: "off" state: "off"
- action: automation.trigger - action: automation.trigger
entity_id: automation.nursery_lights_to_on entity_id: automation.girls_room_lights_to_on
@@ -1,18 +1,18 @@
alias: Nursery Lights to Off alias: Girls Room Lights to Off
id: automation_nursery_lights_to_off id: e4926a27-2022-4d48-875e-f368e6472749
mode: restart mode: restart
trigger: trigger:
- platform: state - platform: state
entity_id: input_select.nursery_mode entity_id: input_select.girls_room_mode
- platform: state - platform: state
entity_id: input_boolean.nursery_occupied entity_id: input_boolean.girls_room_occupied
to: "off" to: "off"
- platform: state - platform: state
id: light_level id: light_level
entity_id: binary_sensor.nursery_naturally_lit entity_id: binary_sensor.girls_room_naturally_lit
from: "off" from: "off"
to: "on" to: "on"
@@ -21,21 +21,21 @@ trigger:
condition: condition:
- condition: state - condition: state
entity_id: light.nursery_hue entity_id: light.girls_room_hue
state: "on" state: "on"
- alias: "Nursery light cycle not on" - alias: "Girls Room light cycle not on"
condition: state condition: state
entity_id: input_boolean.nursery_light_cycle entity_id: input_boolean.girls_room_light_cycle
state: "off" state: "off"
- condition: or - condition: or
conditions: conditions:
- condition: state - condition: state
entity_id: input_select.nursery_mode entity_id: input_select.girls_room_mode
state: "Off" state: "Off"
- condition: state - condition: state
entity_id: input_boolean.nursery_occupied entity_id: input_boolean.girls_room_occupied
state: "off" state: "off"
action: action:
@@ -47,22 +47,22 @@ action:
- condition: or - condition: or
conditions: conditions:
- condition: state - condition: state
entity_id: input_select.nursery_mode entity_id: input_select.girls_room_mode
state: "Off" state: "Off"
- condition: state - condition: state
entity_id: input_boolean.nursery_occupied entity_id: input_boolean.girls_room_occupied
state: "off" state: "off"
- condition: not - condition: not
conditions: conditions:
- condition: state - condition: state
entity_id: input_select.nursery_mode entity_id: input_select.girls_room_mode
state: "Manual" state: "Manual"
sequence: sequence:
- action: scene.turn_on - action: scene.turn_on
data: data:
transition: 5 transition: 5
target: target:
entity_id: scene.nursery_hue_off entity_id: scene.girls_room_hue_off
- choose: - choose:
- conditions: - conditions:
- condition: state - condition: state
@@ -72,4 +72,4 @@ action:
- alias: "Turn off z-wave switch since all lights are off" - alias: "Turn off z-wave switch since all lights are off"
action: homeassistant.turn_off action: homeassistant.turn_off
target: target:
entity_id: light.nursery_color_1, light.nursery_color_2 entity_id: light.girls_room_color_1, light.girls_room_color_2
@@ -1,5 +1,5 @@
alias: Nursery Lights to On alias: Girls Room Lights to On
id: automation_nursery_lights_to_on id: automation_girls_room_lights_to_on
mode: single mode: single
# Hide warnings when triggered while in delay. # Hide warnings when triggered while in delay.
max_exceeded: silent max_exceeded: silent
@@ -8,20 +8,20 @@ trigger:
- platform: state - platform: state
id: mode_change id: mode_change
entity_id: entity_id:
- input_select.nursery_mode - input_select.girls_room_mode
- input_select.automatic_light_profile - input_select.automatic_light_profile
- platform: state - platform: state
id: light_level id: light_level
entity_id: binary_sensor.nursery_naturally_lit entity_id: binary_sensor.girls_room_naturally_lit
from: "on" from: "on"
to: "off" to: "off"
- platform: state - platform: state
id: occupied id: occupied
entity_id: entity_id:
- input_boolean.nursery_occupied - input_boolean.girls_room_occupied
- binary_sensor.nursery_occupied - binary_sensor.girls_room_occupied
to: "on" to: "on"
condition: condition:
@@ -30,9 +30,9 @@ condition:
entity_id: input_boolean.home_occupied entity_id: input_boolean.home_occupied
state: "on" state: "on"
- alias: "Nursery light cycle not on" - alias: "Girls Room light cycle not on"
condition: state condition: state
entity_id: input_boolean.nursery_light_cycle entity_id: input_boolean.girls_room_light_cycle
state: "off" state: "off"
- alias: "Check if light should turn on" - alias: "Check if light should turn on"
@@ -48,7 +48,7 @@ condition:
conditions: conditions:
- alias: "Light level below trigger amount" - alias: "Light level below trigger amount"
condition: state condition: state
entity_id: binary_sensor.nursery_naturally_lit entity_id: binary_sensor.girls_room_naturally_lit
state: "off" state: "off"
- alias: "Motion or occupancy were detected" - alias: "Motion or occupancy were detected"
@@ -66,13 +66,13 @@ condition:
- condition: trigger - condition: trigger
id: "mode_change" id: "mode_change"
- condition: state - condition: state
entity_id: input_boolean.nursery_occupied entity_id: input_boolean.girls_room_occupied
state: "on" state: "on"
variables: variables:
switch_name: light.nursery_dimmer_light switch_name: girls_room_fan_light_switch_light
light_name: nursery_hue light_name: girls_room_hue
mode_name: input_select.nursery_mode mode_name: input_select.girls_room_mode
automatic_profile: input_select.automatic_light_profile automatic_profile: input_select.automatic_light_profile
action: action:
- alias: "Make sure Z-Wave switch is turned on" - alias: "Make sure Z-Wave switch is turned on"
@@ -84,22 +84,22 @@ action:
conditions: conditions:
- alias: "Room set to manual" - alias: "Room set to manual"
condition: state condition: state
entity_id: input_select.nursery_mode entity_id: input_select.girls_room_mode
state: Manual state: Manual
sequence: sequence:
- action: light.turn_on - action: light.turn_on
target: target:
entity_id: light.nursery_hue entity_id: light.girls_room_hue
- alias: "If the room is set to auto, the lights are on, and the automatic profile is set to Nightlight, change to the Automatic Light Profile scene with a short transition" - alias: "If the room is set to auto, the lights are on, and the automatic profile is set to Nightlight, change to the Automatic Light Profile scene with a short transition"
conditions: conditions:
- alias: "Room set to auto" - alias: "Room set to auto"
condition: state condition: state
entity_id: input_select.nursery_mode entity_id: input_select.girls_room_mode
state: Auto state: Auto
- alias: "Lights are on" - alias: "Lights are on"
condition: state condition: state
entity_id: light.nursery_hue entity_id: light.girls_room_hue
state: "on" state: "on"
- alias: "Automatic light profile set to Nightlight" - alias: "Automatic light profile set to Nightlight"
condition: state condition: state
@@ -116,11 +116,11 @@ action:
conditions: conditions:
- alias: "Room set to auto" - alias: "Room set to auto"
condition: state condition: state
entity_id: input_select.nursery_mode entity_id: input_select.girls_room_mode
state: Auto state: Auto
- alias: "Lights are on" - alias: "Lights are on"
condition: state condition: state
entity_id: light.nursery_hue entity_id: light.girls_room_hue
state: "on" state: "on"
sequence: sequence:
- action: scene.turn_on - action: scene.turn_on
@@ -133,26 +133,26 @@ action:
conditions: conditions:
- alias: "Room set to auto" - alias: "Room set to auto"
condition: state condition: state
entity_id: input_select.nursery_mode entity_id: input_select.girls_room_mode
state: Auto state: Auto
- alias: "Lights are off" - alias: "Lights are off"
condition: state condition: state
entity_id: light.nursery_hue entity_id: light.girls_room_hue
state: "off" state: "off"
sequence: sequence:
- action: scene.turn_on - action: scene.turn_on
target: target:
entity_id: "scene.{{light_name}}_{{states(automatic_profile).lower().replace(' ','_')}}" entity_id: "scene.{{light_name}}_{{states(automatic_profile).lower().replace(' ','_')}}"
- alias: "If the room is not set to auto, the lights are on, and the room is set to Nightlight change to the Nursery Mode scene with a short transition" - alias: "If the room is not set to auto, the lights are on, and the room is set to Nightlight change to the Girls Room Mode scene with a short transition"
conditions: conditions:
- alias: "Room not manual or auto and lights are on" - alias: "Room not manual or auto and lights are on"
condition: state condition: state
entity_id: light.nursery_hue entity_id: light.girls_room_hue
state: "on" state: "on"
- alias: "Room set to Nightlight" - alias: "Room set to Nightlight"
condition: state condition: state
entity_id: input_select.nursery_mode entity_id: input_select.girls_room_mode
state: Nightlight state: Nightlight
sequence: sequence:
- action: scene.turn_on - action: scene.turn_on
@@ -161,11 +161,11 @@ action:
target: target:
entity_id: "scene.{{light_name}}_{{states(mode_name).lower().replace(' ','_')}}" entity_id: "scene.{{light_name}}_{{states(mode_name).lower().replace(' ','_')}}"
- alias: "If the room is not set to auto and the lights are on, change to the Nursery Mode scene with a transition" - alias: "If the room is not set to auto and the lights are on, change to the Girls Room Mode scene with a transition"
conditions: conditions:
- alias: "Room not manual or auto and lights are on" - alias: "Room not manual or auto and lights are on"
condition: state condition: state
entity_id: light.nursery_hue entity_id: light.girls_room_hue
state: "on" state: "on"
sequence: sequence:
- action: scene.turn_on - action: scene.turn_on
@@ -174,11 +174,11 @@ action:
target: target:
entity_id: "scene.{{light_name}}_{{states(mode_name).lower().replace(' ','_')}}" entity_id: "scene.{{light_name}}_{{states(mode_name).lower().replace(' ','_')}}"
- alias: "If the room is not set to auto and the lights are on, change to the Nursery Mode scene without a transition" - alias: "If the room is not set to auto and the lights are on, change to the Girls Room Mode scene without a transition"
conditions: conditions:
- alias: "Room not manual or auto and lights are off" - alias: "Room not manual or auto and lights are off"
condition: state condition: state
entity_id: light.nursery_hue entity_id: light.girls_room_hue
state: "off" state: "off"
sequence: sequence:
- action: scene.turn_on - action: scene.turn_on
@@ -1,5 +1,5 @@
alias: "Nursery Not Occupied" alias: "Girls Room Not Occupied"
id: automation_nursery_not_occupied id: automation_girls_room_not_occupied
mode: restart mode: restart
trigger: trigger:
@@ -11,7 +11,7 @@ trigger:
- platform: state - platform: state
entity_id: entity_id:
- input_boolean.home_occupied - input_boolean.home_occupied
- binary_sensor.nursery_occupied - binary_sensor.girls_room_occupied
to: "off" to: "off"
for: "00:05:00" for: "00:05:00"
@@ -31,7 +31,7 @@ condition:
- "unavailable" - "unavailable"
- condition: state - condition: state
entity_id: input_boolean.nursery_occupied entity_id: input_boolean.girls_room_occupied
state: "on" state: "on"
- condition: or - condition: or
@@ -42,12 +42,12 @@ condition:
- condition: or - condition: or
conditions: conditions:
- condition: state - condition: state
entity_id: binary_sensor.nursery_person_occupancy entity_id: binary_sensor.girls_room_person_occupancy
state: "off" state: "off"
for: for:
minutes: 5 minutes: 5
- condition: state - condition: state
entity_id: binary_sensor.nursery_occupied entity_id: binary_sensor.girls_room_occupied
state: "off" state: "off"
for: for:
minutes: 5 minutes: 5
@@ -60,7 +60,7 @@ action:
state: "off" state: "off"
sequence: sequence:
- action: homeassistant.turn_off - action: homeassistant.turn_off
entity_id: input_boolean.nursery_occupied entity_id: input_boolean.girls_room_occupied
- conditions: - conditions:
- condition: not - condition: not
conditions: conditions:
@@ -69,4 +69,4 @@ action:
state: "Manual" state: "Manual"
sequence: sequence:
- action: homeassistant.turn_off - action: homeassistant.turn_off
entity_id: input_boolean.nursery_occupied entity_id: input_boolean.girls_room_occupied
@@ -1,18 +1,18 @@
alias: Nursery Occupied alias: Girls Room Occupied
id: automation_nursery_occupied id: automation_girls_room_occupied
mode: restart mode: restart
trigger: trigger:
- platform: state - platform: state
entity_id: entity_id:
- binary_sensor.nursery_occupied - binary_sensor.girls_room_occupied
to: "on" to: "on"
condition: condition:
- condition: state - condition: state
entity_id: input_boolean.nursery_occupied entity_id: input_boolean.girls_room_occupied
state: "off" state: "off"
action: action:
- action: input_boolean.turn_on - action: input_boolean.turn_on
entity_id: input_boolean.nursery_occupied entity_id: input_boolean.girls_room_occupied
@@ -1,5 +1,5 @@
alias: Nursery Out of Bed alias: Girls Room Out of Bed
id: automation_nursery_out_of_bed id: automation_girls_room_out_of_bed
mode: single mode: single
# Hide warnings when triggered while in delay. # Hide warnings when triggered while in delay.
max_exceeded: silent max_exceeded: silent
@@ -16,7 +16,7 @@ trigger:
to: "off" to: "off"
for: "00:00:05" for: "00:00:05"
- trigger: state - trigger: state
entity_id: binary_sensor.nursery_door entity_id: binary_sensor.girls_room_door
from: "off" from: "off"
to: "on" to: "on"
@@ -65,9 +65,9 @@ condition:
entity_id: binary_sensor.early_morning entity_id: binary_sensor.early_morning
state: "on" state: "on"
- alias: "Is Nursery Light Cycle turned off?" - alias: "Is Girls Room Light Cycle turned off?"
condition: state condition: state
entity_id: input_boolean.nursery_light_cycle entity_id: input_boolean.girls_room_light_cycle
state: "off" state: "off"
- alias: "Are the kids asleep?" - alias: "Are the kids asleep?"
@@ -1,5 +1,5 @@
alias: Nursery White Noise Off alias: Girls Room White Noise Off
id: automation_nursery_white_noise_off id: automation_girls_room_white_noise_off
trigger: trigger:
- platform: state - platform: state
@@ -1,5 +1,5 @@
alias: Nursery White Noise On alias: Girls Room White Noise On
id: automation_nursery_white_noise_on id: automation_girls_room_white_noise_on
trigger: trigger:
- platform: state - platform: state
@@ -52,6 +52,6 @@ action:
# - action: input_select.select_option # - action: input_select.select_option
# target: # target:
# entity_id: input_select.nursery_mode # entity_id: input_select.girls_room_mode
# data: # data:
# option: "Nightlight" # option: "Nightlight"
@@ -21,7 +21,7 @@ action:
sequence: sequence:
- action: fan.turn_off - action: fan.turn_off
target: target:
entity_id: fan.master_bedroom entity_id: fan.master_bedroom_fan_light_switch_fan
- alias: "Humidity too high via manual run" - alias: "Humidity too high via manual run"
conditions: conditions:
@@ -31,7 +31,7 @@ action:
sequence: sequence:
- action: fan.turn_off - action: fan.turn_off
target: target:
entity_id: fan.master_bedroom entity_id: fan.master_bedroom_fan_light_switch_fan
- alias: "Humidity too low via trigger" - alias: "Humidity too low via trigger"
conditions: conditions:
@@ -42,7 +42,7 @@ action:
data: data:
percentage: 33 percentage: 33
target: target:
entity_id: fan.master_bedroom entity_id: fan.master_bedroom_fan_light_switch_fan
- alias: "Humidity too low via manual run" - alias: "Humidity too low via manual run"
conditions: conditions:
@@ -54,4 +54,4 @@ action:
data: data:
percentage: 33 percentage: 33
target: target:
entity_id: fan.master_bedroom entity_id: fan.master_bedroom_fan_light_switch_fan
@@ -14,8 +14,8 @@ trigger:
- platform: state - platform: state
id: light_level id: light_level
entity_id: binary_sensor.master_bedroom_naturally_lit entity_id: binary_sensor.master_bedroom_naturally_lit
from: 'on' from: "on"
to: 'off' to: "off"
- platform: state - platform: state
entity_id: input_boolean.master_bedroom_occupied entity_id: input_boolean.master_bedroom_occupied
@@ -45,7 +45,6 @@ condition:
- alias: "Check if light should turn on" - alias: "Check if light should turn on"
condition: or condition: or
conditions: conditions:
- alias: "Guest mode is on" - alias: "Guest mode is on"
condition: state condition: state
entity_id: input_boolean.guest_mode entity_id: input_boolean.guest_mode
@@ -57,7 +56,7 @@ condition:
- alias: "Light level below trigger amount" - alias: "Light level below trigger amount"
condition: state condition: state
entity_id: binary_sensor.master_bedroom_naturally_lit entity_id: binary_sensor.master_bedroom_naturally_lit
state: 'off' state: "off"
- alias: "Motion or occupancy were detected" - alias: "Motion or occupancy were detected"
condition: or condition: or
@@ -78,7 +77,7 @@ condition:
state: "on" state: "on"
variables: variables:
switch_name: light.master_bedroom_dimmer_light switch_name: light.master_bedroom_fan_light_switch_light
light_name: master_bedroom_hue light_name: master_bedroom_hue
mode_name: input_select.master_bedroom_mode mode_name: input_select.master_bedroom_mode
automatic_profile: input_select.automatic_light_profile automatic_profile: input_select.automatic_light_profile
@@ -109,7 +108,7 @@ action:
- alias: "Lights are on" - alias: "Lights are on"
condition: state condition: state
entity_id: light.master_bedroom_hue entity_id: light.master_bedroom_hue
state: 'on' state: "on"
- alias: "Automatic light profile set to Nightlight" - alias: "Automatic light profile set to Nightlight"
condition: state condition: state
entity_id: input_select.automatic_light_profile entity_id: input_select.automatic_light_profile
@@ -130,7 +129,7 @@ action:
- alias: "Lights are on" - alias: "Lights are on"
condition: state condition: state
entity_id: light.master_bedroom_hue entity_id: light.master_bedroom_hue
state: 'on' state: "on"
sequence: sequence:
- action: scene.turn_on - action: scene.turn_on
data: data:
@@ -147,7 +146,7 @@ action:
- alias: "Lights are off" - alias: "Lights are off"
condition: state condition: state
entity_id: light.master_bedroom_hue entity_id: light.master_bedroom_hue
state: 'off' state: "off"
sequence: sequence:
- action: scene.turn_on - action: scene.turn_on
target: target:
@@ -158,7 +157,7 @@ action:
- alias: "Room not manual or auto and lights are on" - alias: "Room not manual or auto and lights are on"
condition: state condition: state
entity_id: light.master_bedroom_hue entity_id: light.master_bedroom_hue
state: 'on' state: "on"
- alias: "Room set to Nightlight" - alias: "Room set to Nightlight"
condition: state condition: state
entity_id: input_select.master_bedroom_mode entity_id: input_select.master_bedroom_mode
@@ -175,7 +174,7 @@ action:
- alias: "Room not manual or auto and lights are on" - alias: "Room not manual or auto and lights are on"
condition: state condition: state
entity_id: light.master_bedroom_hue entity_id: light.master_bedroom_hue
state: 'on' state: "on"
sequence: sequence:
- action: scene.turn_on - action: scene.turn_on
data: data:
@@ -188,7 +187,7 @@ action:
- alias: "Room not manual or auto and lights are off" - alias: "Room not manual or auto and lights are off"
condition: state condition: state
entity_id: light.master_bedroom_hue entity_id: light.master_bedroom_hue
state: 'off' state: "off"
sequence: sequence:
- action: scene.turn_on - action: scene.turn_on
target: target:
+64 -64
View File
@@ -9,26 +9,26 @@ triggers:
id: start id: start
- trigger: numeric_state - trigger: numeric_state
entity_id: sensor.nursery_multisensor_air_temperature entity_id: sensor.girls_room_multisensor_air_temperature
id: nursery_off id: girls_room_off
below: input_number.nursery_fan_low_temp below: input_number.girls_room_fan_low_temp
- trigger: numeric_state - trigger: numeric_state
entity_id: sensor.nursery_multisensor_air_temperature entity_id: sensor.girls_room_multisensor_air_temperature
id: nursery_low id: girls_room_low
above: input_number.nursery_fan_low_temp above: input_number.girls_room_fan_low_temp
below: input_number.nursery_fan_medium_temp below: input_number.girls_room_fan_medium_temp
- trigger: numeric_state - trigger: numeric_state
entity_id: sensor.nursery_multisensor_air_temperature entity_id: sensor.girls_room_multisensor_air_temperature
id: nursery_mid id: girls_room_mid
above: input_number.nursery_fan_medium_temp above: input_number.girls_room_fan_medium_temp
below: input_number.nursery_fan_high_temp below: input_number.girls_room_fan_high_temp
- trigger: numeric_state - trigger: numeric_state
entity_id: sensor.nursery_multisensor_air_temperature entity_id: sensor.girls_room_multisensor_air_temperature
id: nursery_high id: girls_room_high
above: input_number.nursery_fan_high_temp above: input_number.girls_room_fan_high_temp
- trigger: numeric_state - trigger: numeric_state
entity_id: sensor.master_bedroom_multisensor_air_temperature entity_id: sensor.master_bedroom_multisensor_air_temperature
@@ -53,7 +53,7 @@ triggers:
id: mbr_high id: mbr_high
- trigger: state - trigger: state
entity_id: input_boolean.nursery_occupied entity_id: input_boolean.girls_room_occupied
- trigger: state - trigger: state
entity_id: input_boolean.master_bedroom_occupied entity_id: input_boolean.master_bedroom_occupied
@@ -74,7 +74,7 @@ condition:
action: action:
- alias: "Calculate fan speeds" - alias: "Calculate fan speeds"
variables: variables:
nursery_fan_speed: "{{((states('sensor.nursery_multisensor_air_temperature') | float(default=0) - states('input_number.nursery_fan_min_temp') | float(default=0))/(states('input_number.nursery_fan_high_temp') | float(default=1) - states('input_number.nursery_fan_min_temp') | float(default=0)) * 100)|int(default=0) }}" girls_room_fan_speed: "{{((states('sensor.girls_room_multisensor_air_temperature') | float(default=0) - states('input_number.girls_room_fan_min_temp') | float(default=0))/(states('input_number.girls_room_fan_high_temp') | float(default=1) - states('input_number.girls_room_fan_min_temp') | float(default=0)) * 100)|int(default=0) }}"
master_bedroom_fan_speed: "{{((states('sensor.master_bedroom_multisensor_air_temperature') | float(default=0) - states('input_number.master_bedroom_fan_min_temp') | float(default=0))/(states('input_number.master_bedroom_fan_high_temp') | float(default=1) - states('input_number.master_bedroom_fan_min_temp') | float(default=0)) * 100)|int(default=0) }}" master_bedroom_fan_speed: "{{((states('sensor.master_bedroom_multisensor_air_temperature') | float(default=0) - states('input_number.master_bedroom_fan_min_temp') | float(default=0))/(states('input_number.master_bedroom_fan_high_temp') | float(default=1) - states('input_number.master_bedroom_fan_min_temp') | float(default=0)) * 100)|int(default=0) }}"
# - action: logbook.log # - action: logbook.log
@@ -83,115 +83,115 @@ action:
# entity_id: automation.automatic_fan_speeds # entity_id: automation.automatic_fan_speeds
# message: > # message: >
# Outdoor Air Temp: {{states('sensor.front_yard_thermostat_temperature') | float(default=0)}} # Outdoor Air Temp: {{states('sensor.front_yard_thermostat_temperature') | float(default=0)}}
# Nursery Air Temp: {{states('sensor.nursery_multisensor_air_temperature') | float(default=0)}} # Girls Room Air Temp: {{states('sensor.girls_room_multisensor_air_temperature') | float(default=0)}}
# Nursery Min Temp: {{states('input_number.nursery_fan_min_temp') | float(default=0)}} # Girls Room Min Temp: {{states('input_number.girls_room_fan_min_temp') | float(default=0)}}
# Nursery High Temp: {{states('input_number.nursery_fan_high_temp') | float(default=0)}} # Girls Room High Temp: {{states('input_number.girls_room_fan_high_temp') | float(default=0)}}
# Nursery Calculated: {{ nursery_fan_speed }} # Girls Room Calculated: {{ girls_room_fan_speed }}
# Master Bedroom Air Temp: {{states('sensor.master_bedroom_multisensor_air_temperature') | float(default=0)}} # Master Bedroom Air Temp: {{states('sensor.master_bedroom_multisensor_air_temperature') | float(default=0)}}
# Master Bedroom Min Temp: {{states('input_number.master_bedroom_fan_min_temp') | float(default=0)}} # Master Bedroom Min Temp: {{states('input_number.master_bedroom_fan_min_temp') | float(default=0)}}
# Master Bedroom High Temp: {{states('input_number.master_bedroom_fan_high_temp') | float(default=0)}} # Master Bedroom High Temp: {{states('input_number.master_bedroom_fan_high_temp') | float(default=0)}}
# Master Bedroom Calculated: {{ master_bedroom_fan_speed }} # Master Bedroom Calculated: {{ master_bedroom_fan_speed }}
- alias: "Set Nursery fan speed" - alias: "Set Girls Room fan speed"
choose: choose:
- conditions: - conditions:
- alias: "It is too cold outside to start the nursery fan" - alias: "It is too cold outside to start the girls_room fan"
condition: numeric_state condition: numeric_state
entity_id: sensor.nursery_multisensor_air_temperature entity_id: sensor.girls_room_multisensor_air_temperature
below: input_number.nursery_fan_min_temp below: input_number.girls_room_fan_min_temp
- alias: "Nursery fan on" - alias: "Girls Room fan on"
condition: state condition: state
entity_id: fan.nursery entity_id: fan.girls_room_fan_light_switch_fan
state: "on" state: "on"
sequence: sequence:
- alias: "Turn nursery fan off because it is too cold outside" - alias: "Turn girls_room fan off because it is too cold outside"
action: fan.turn_off action: fan.turn_off
target: target:
entity_id: fan.nursery entity_id: fan.girls_room_fan_light_switch_fan
- conditions: - conditions:
- alias: "Nusery not occupied and window is closed" - alias: "Nusery not occupied and window is closed"
condition: state condition: state
entity_id: input_boolean.nursery_occupied entity_id: input_boolean.girls_room_occupied
state: "off" state: "off"
- alias: "Nusery not asleep" - alias: "Nusery not asleep"
condition: state condition: state
entity_id: input_boolean.girls_room_asleep entity_id: input_boolean.girls_room_asleep
state: "off" state: "off"
- alias: "Nursery fan on" - alias: "Girls Room fan on"
condition: state condition: state
entity_id: fan.nursery entity_id: fan.girls_room_fan_light_switch_fan
state: "on" state: "on"
- alias: "Nursery window is closed" - alias: "Girls Room window is closed"
condition: state condition: state
entity_id: binary_sensor.nursery_window_contact entity_id: binary_sensor.girls_room_window_contact
state: "off" state: "off"
sequence: sequence:
- alias: "Turn nursery fan off because room isn't occupied" - alias: "Turn girls_room fan off because room isn't occupied"
action: fan.turn_off action: fan.turn_off
target: target:
entity_id: fan.nursery entity_id: fan.girls_room_fan_light_switch_fan
- conditions: - conditions:
- alias: "Nursery below low" - alias: "Girls Room below low"
condition: template condition: template
value_template: "{{states('sensor.nursery_multisensor_air_temperature') | float(default=0) <= states('input_number.nursery_fan_min_temp') | float(default=0)}}" value_template: "{{states('sensor.girls_room_multisensor_air_temperature') | float(default=0) <= states('input_number.girls_room_fan_min_temp') | float(default=0)}}"
- alias: "Nursery fan on" - alias: "Girls Room fan on"
condition: state condition: state
entity_id: fan.nursery entity_id: fan.girls_room_fan_light_switch_fan
state: "on" state: "on"
sequence: sequence:
- alias: "Turn nursery fan off because the room is too cool" - alias: "Turn girls_room fan off because the room is too cool"
action: fan.turn_off action: fan.turn_off
target: target:
entity_id: fan.nursery entity_id: fan.girls_room_fan_light_switch_fan
- conditions: - conditions:
- alias: "Nursery is occupied" - alias: "Girls Room is occupied"
condition: state condition: state
entity_id: input_boolean.nursery_occupied entity_id: input_boolean.girls_room_occupied
state: "on" state: "on"
- alias: "Nusery above high" - alias: "Nusery above high"
condition: template condition: template
value_template: "{{states('sensor.nursery_multisensor_air_temperature') | float(default=0) > states('input_number.nursery_fan_high_temp') | float(default=0)}}" value_template: "{{states('sensor.girls_room_multisensor_air_temperature') | float(default=0) > states('input_number.girls_room_fan_high_temp') | float(default=0)}}"
sequence: sequence:
- alias: "Turn nursery fan on to percentage speed" - alias: "Turn girls_room fan on to percentage speed"
action: fan.set_percentage action: fan.set_percentage
target: target:
entity_id: fan.nursery entity_id: fan.girls_room_fan_light_switch_fan
data: data:
percentage: 100 percentage: 100
- conditions: - conditions:
- alias: "Nursery is occupied" - alias: "Girls Room is occupied"
condition: state condition: state
entity_id: input_boolean.nursery_occupied entity_id: input_boolean.girls_room_occupied
state: "on" state: "on"
- alias: "Nusery above medium" - alias: "Nusery above medium"
condition: template condition: template
value_template: "{{states('sensor.nursery_multisensor_air_temperature') | float(default=0) > states('input_number.nursery_fan_medium_temp') | float(default=0)}}" value_template: "{{states('sensor.girls_room_multisensor_air_temperature') | float(default=0) > states('input_number.girls_room_fan_medium_temp') | float(default=0)}}"
sequence: sequence:
- alias: "Turn nursery fan on to percentage speed" - alias: "Turn girls_room fan on to percentage speed"
action: fan.set_percentage action: fan.set_percentage
target: target:
entity_id: fan.nursery entity_id: fan.girls_room_fan_light_switch_fan
data: data:
percentage: 66 percentage: 66
- conditions: - conditions:
- alias: "Nursery is occupied" - alias: "Girls Room is occupied"
condition: state condition: state
entity_id: input_boolean.nursery_occupied entity_id: input_boolean.girls_room_occupied
state: "on" state: "on"
- alias: "Nusery above low" - alias: "Nusery above low"
condition: template condition: template
value_template: "{{states('sensor.nursery_multisensor_air_temperature') | float(default=0) > states('input_number.nursery_fan_low_temp') | float(default=0)}}" value_template: "{{states('sensor.girls_room_multisensor_air_temperature') | float(default=0) > states('input_number.girls_room_fan_low_temp') | float(default=0)}}"
sequence: sequence:
- alias: "Turn nursery fan on to percentage speed" - alias: "Turn girls_room fan on to percentage speed"
action: fan.set_percentage action: fan.set_percentage
target: target:
entity_id: fan.nursery entity_id: fan.girls_room_fan_light_switch_fan
data: data:
percentage: 33 percentage: 33
@@ -206,7 +206,7 @@ action:
- alias: "Turn master bedroom fan off because it is too cold outside" - alias: "Turn master bedroom fan off because it is too cold outside"
action: fan.turn_off action: fan.turn_off
target: target:
entity_id: fan.master_bedroom entity_id: fan.master_bedroom_fan_light_switch_fan
- conditions: - conditions:
- alias: "Master Bedroom not occupied" - alias: "Master Bedroom not occupied"
condition: state condition: state
@@ -218,7 +218,7 @@ action:
state: "off" state: "off"
- alias: "Master Bedroom fan on" - alias: "Master Bedroom fan on"
condition: state condition: state
entity_id: fan.master_bedroom entity_id: fan.master_bedroom_fan_light_switch_fan
state: "on" state: "on"
- alias: "Master bedroom window is closed" - alias: "Master bedroom window is closed"
condition: state condition: state
@@ -228,7 +228,7 @@ action:
- alias: "Turn master bedroom fan off because room isn't occupied" - alias: "Turn master bedroom fan off because room isn't occupied"
action: fan.turn_off action: fan.turn_off
target: target:
entity_id: fan.master_bedroom entity_id: fan.master_bedroom_fan_light_switch_fan
- conditions: - conditions:
- alias: "Master Bedroom below low" - alias: "Master Bedroom below low"
@@ -237,13 +237,13 @@ action:
- alias: "Master Bedroom fan on" - alias: "Master Bedroom fan on"
condition: state condition: state
entity_id: fan.master_bedroom entity_id: fan.master_bedroom_fan_light_switch_fan
state: "on" state: "on"
sequence: sequence:
- alias: "Turn master bedroom fan off because the room is too cool" - alias: "Turn master bedroom fan off because the room is too cool"
action: fan.turn_off action: fan.turn_off
target: target:
entity_id: fan.master_bedroom entity_id: fan.master_bedroom_fan_light_switch_fan
- conditions: - conditions:
- alias: "Master Bedroom is occupied" - alias: "Master Bedroom is occupied"
@@ -258,7 +258,7 @@ action:
- alias: "Turn master bedroom fan on to percentage speed" - alias: "Turn master bedroom fan on to percentage speed"
action: fan.set_percentage action: fan.set_percentage
target: target:
entity_id: fan.master_bedroom entity_id: fan.master_bedroom_fan_light_switch_fan
data: data:
percentage: 100 percentage: 100
@@ -275,7 +275,7 @@ action:
- alias: "Turn master bedroom fan on to percentage speed" - alias: "Turn master bedroom fan on to percentage speed"
action: fan.set_percentage action: fan.set_percentage
target: target:
entity_id: fan.master_bedroom entity_id: fan.master_bedroom_fan_light_switch_fan
data: data:
percentage: 66 percentage: 66
@@ -292,6 +292,6 @@ action:
- alias: "Turn master bedroom fan on to percentage speed" - alias: "Turn master bedroom fan on to percentage speed"
action: fan.set_percentage action: fan.set_percentage
target: target:
entity_id: fan.master_bedroom entity_id: fan.master_bedroom_fan_light_switch_fan
data: data:
percentage: 33 percentage: 33
@@ -0,0 +1,24 @@
id: girls_room_dimmer_on
alias: Girls Room Dimmer On
mode: single
# Hide warnings when triggered while in delay.
max_exceeded: silent
trigger:
- platform: state
entity_id: light.girls_room_fan_light_switch_main
condition:
- alias: "Girls Room Dimmer Less Than 255"
condition: numeric_state
entity_id: light.girls_room_fan_light_switch_main
attribute: brightness
below: 255
action:
- alias: "Set Girls Room Dimmer to 255"
action: light.turn_on
target:
entity_id: light.girls_room_fan_light_switch_main
data:
brightness: 255
@@ -1,12 +1,12 @@
id: nursery_wled_changed id: girls_room_wled_changed
alias: Nursery WLED Changed alias: Girls Room WLED Changed
mode: single mode: single
# Hide warnings when triggered while in delay. # Hide warnings when triggered while in delay.
max_exceeded: silent max_exceeded: silent
trigger: trigger:
- platform: state - platform: state
entity_id: input_select.nursery_wled entity_id: input_select.girls_room_wled
action: action:
#- alias: "Clear segment first" #- alias: "Clear segment first"
@@ -17,7 +17,7 @@ action:
- alias: "Update wled presets for both beds" - alias: "Update wled presets for both beds"
action: select.select_option action: select.select_option
data: data:
option: "{{states('input_select.nursery_wled')}}" option: "{{states('input_select.girls_room_wled')}}"
target: target:
entity_id: entity_id:
- select.black_bed_wled_preset - select.black_bed_wled_preset
+1 -1
View File
@@ -19,7 +19,7 @@ variables:
3ce88b51335de032397b61e9003efe7b: mancave_motion_switch 3ce88b51335de032397b61e9003efe7b: mancave_motion_switch
bee0ff46ae368c83ebd408ea7196f226: master_bathroom_motion_switch bee0ff46ae368c83ebd408ea7196f226: master_bathroom_motion_switch
69bfa35651cd293ad221f32d3f836669: master_bedroom_closet_motion_switch 69bfa35651cd293ad221f32d3f836669: master_bedroom_closet_motion_switch
ab40de79ce13e074ce0a820c47db717c: nursery_closet_motion_switch ab40de79ce13e074ce0a820c47db717c: girls_room_closet_motion_switch
8291a2e240629c547b08733faaf53e90: shower_switch 8291a2e240629c547b08733faaf53e90: shower_switch
c0d80ce8eab4bdebce5343ce4a748f34: storage_room_switch c0d80ce8eab4bdebce5343ce4a748f34: storage_room_switch
8d77dcb0ee41302d5de67b4c333f5099: utility_room_motion_switch 8d77dcb0ee41302d5de67b4c333f5099: utility_room_motion_switch
@@ -13,7 +13,7 @@ variables:
tags: tags:
# Lights: Reading # Lights: Reading
04-AE-91-3A-B4-6D-80: 04-AE-91-3A-B4-6D-80:
input_select: nursery_wled input_select: girls_room_wled
select_option: Read select_option: Read
light_command: "No change" light_command: "No change"
#preset: 6 #preset: 6
@@ -21,7 +21,7 @@ variables:
# Lights: Bedtime # Lights: Bedtime
04-8F-50-3A-B4-6D-80: 04-8F-50-3A-B4-6D-80:
input_select: nursery_wled input_select: girls_room_wled
select_option: Bedtime select_option: Bedtime
light_command: "No change" light_command: "No change"
#preset: 3 #preset: 3
@@ -61,7 +61,7 @@ variables:
# Lights: Twinkle # Lights: Twinkle
04-7C-B8-3A-B4-6D-80: 04-7C-B8-3A-B4-6D-80:
input_select: nursery_wled input_select: girls_room_wled
select_option: Twinkle select_option: Twinkle
light_command: "No change" light_command: "No change"
#preset: 2 #preset: 2
@@ -69,7 +69,7 @@ variables:
# Lights:Dim # Lights:Dim
04-98-2F-3A-B4-6D-80: 04-98-2F-3A-B4-6D-80:
input_select: nursery_wled input_select: girls_room_wled
select_option: "Off" select_option: "Off"
light_command: "Dimmed" light_command: "Dimmed"
#preset: -2 #preset: -2
@@ -77,7 +77,7 @@ variables:
# Lights: Normal # Lights: Normal
04-0C-22-3A-B4-6D-81: 04-0C-22-3A-B4-6D-81:
input_select: nursery_wled input_select: girls_room_wled
select_option: "Off" select_option: "Off"
light_command: "Auto" light_command: "Auto"
#preset: -1 #preset: -1
@@ -85,7 +85,7 @@ variables:
# Lights: Off # Lights: Off
04-6D-46-3A-B4-6D-81: 04-6D-46-3A-B4-6D-81:
input_select: nursery_wled input_select: girls_room_wled
select_option: "Off" select_option: "Off"
light_command: "Off" light_command: "Off"
#preset: 0 #preset: 0
@@ -120,16 +120,16 @@ action:
sequence: sequence:
- action: input_select.select_option - action: input_select.select_option
data: data:
entity_id: input_select.nursery_mode entity_id: input_select.girls_room_mode
option: "{{ light_command }}" option: "{{ light_command }}"
- conditions: - conditions:
- condition: template - condition: template
value_template: "{{ input_select | string == 'nursery_wled'}}" value_template: "{{ input_select | string == 'girls_room_wled'}}"
sequence: sequence:
- action: input_select.select_option - action: input_select.select_option
data: data:
entity_id: input_select.nursery_wled entity_id: input_select.girls_room_wled
option: "{{ select_option }}" option: "{{ select_option }}"
- conditions: - conditions:
@@ -6,12 +6,12 @@ max_exceeded: silent
trigger: trigger:
- platform: state - platform: state
entity_id: light.master_bedroom_dimmer_main entity_id: light.master_bedroom_fan_light_switch_main
condition: condition:
- alias: "Master Bedroom Dimmer Less Than 255" - alias: "Master Bedroom Dimmer Less Than 255"
condition: numeric_state condition: numeric_state
entity_id: light.master_bedroom_dimmer_main entity_id: light.master_bedroom_fan_light_switch_main
attribute: brightness attribute: brightness
below: 255 below: 255
@@ -19,6 +19,6 @@ action:
- alias: "Set Master Bedroom Dimmer to 255" - alias: "Set Master Bedroom Dimmer to 255"
action: light.turn_on action: light.turn_on
target: target:
entity_id: light.master_bedroom_dimmer_main entity_id: light.master_bedroom_fan_light_switch_main
data: data:
brightness: 255 brightness: 255
-24
View File
@@ -1,24 +0,0 @@
id: nursery_dimmer_on
alias: Nursery Dimmer On
mode: single
# Hide warnings when triggered while in delay.
max_exceeded: silent
trigger:
- platform: state
entity_id: light.nursery_dimmer_main
condition:
- alias: "Nursery Dimmer Less Than 255"
condition: numeric_state
entity_id: light.nursery_dimmer_main
attribute: brightness
below: 255
action:
- alias: "Set Nursery Dimmer to 255"
action: light.turn_on
target:
entity_id: light.nursery_dimmer_main
data:
brightness: 255
@@ -1,6 +1,6 @@
platform: bayesian platform: bayesian
unique_id: bayesianbinarysensor.nursery_occupied unique_id: 608783dd-0d18-4e9b-a7f9-3f35eee41fc4
name: Nursery Occupied name: Girls Room Occupied
device_class: occupancy device_class: occupancy
prior: 0.25 prior: 0.25
probability_threshold: 0.90 probability_threshold: 0.90
@@ -11,7 +11,7 @@ observations:
prob_given_true: .33 prob_given_true: .33
prob_given_false: 0.0 prob_given_false: 0.0
- entity_id: binary_sensor.nursery_person_occupancy - entity_id: binary_sensor.girls_room_person_occupancy
prob_given_true: .33 prob_given_true: .33
prob_given_false: 0.0 prob_given_false: 0.0
platform: state platform: state
@@ -0,0 +1 @@
name: Boys Room Cycle Same
@@ -0,0 +1 @@
name: Boys Room Light Cycle
@@ -0,0 +1,2 @@
name: Girls Room Automatic Lights
icon: mdi:lightbulb-auto
@@ -0,0 +1,2 @@
name: Girls Room Closet
icon: mdi:hanger
@@ -0,0 +1 @@
name: Girls Room Cycle Same
@@ -0,0 +1 @@
name: Girls Room Light Cycle
@@ -1,2 +1,2 @@
name: Nursery Lights name: Girls Room Lights
icon: mdi:lightbulb-multiple icon: mdi:lightbulb-multiple
@@ -1,2 +1,2 @@
name: Nursery name: Girls Room
icon: mdi:teddy-bear icon: mdi:teddy-bear
@@ -1,2 +0,0 @@
name: Nursery Automatic Lights
icon: mdi:lightbulb-auto
@@ -1,2 +0,0 @@
name: Nursery Closet
icon: mdi:hanger
@@ -1 +0,0 @@
name: Nursery Cycle Same
@@ -1 +0,0 @@
name: Nursery Light Cycle
+18 -18
View File
@@ -1,23 +1,23 @@
nursery_bedtime: # girls_room_bedtime:
name: Nursery Bedtime # name: Girls Room Bedtime
icon: mdi:teddy-bear # icon: mdi:teddy-bear
nursery_awake: # girls_room_awake:
name: Nursery Awake # name: Girls Room Awake
icon: mdi:teddy-bear # icon: mdi:teddy-bear
master_bedroom_bedtime: # master_bedroom_bedtime:
name: Master Bedroom Bedtime # name: Master Bedroom Bedtime
icon: mdi:bed-king # icon: mdi:bed-king
master_bedroom_awake: # master_bedroom_awake:
name: Master Bedroom Awake # name: Master Bedroom Awake
icon: mdi:bed-king # icon: mdi:bed-king
boys_room_bedtime: # boys_room_bedtime:
name: Boys Room Bedtime # name: Boys Room Bedtime
icon: mdi:bed # icon: mdi:bed
boys_room_awake: # boys_room_awake:
name: Boys Room Awake # name: Boys Room Awake
icon: mdi:bed # icon: mdi:bed
+2 -2
View File
@@ -68,8 +68,8 @@ master_bedroom_occupied:
has_date: true has_date: true
has_time: true has_time: true
nursery_occupied: girls_room_occupied:
name: Nursery Occupied name: Girls Room Occupied
has_date: true has_date: true
has_time: true has_time: true
@@ -1,4 +1,4 @@
name: Nursery Light Cycle Brightness name: Boys Room Light Cycle Brightness
icon: mdi:brightness-auto icon: mdi:brightness-auto
min: 1 min: 1
max: 254 max: 254
@@ -1,4 +1,4 @@
name: Nursery Light Cycle Transition name: Boys Room Light Cycle Transition
icon: mdi:clock icon: mdi:clock
min: 1 min: 1
max: 300 max: 300
@@ -0,0 +1,5 @@
name: Girls Room Light Cycle Brightness
icon: mdi:brightness-auto
min: 1
max: 254
mode: box
@@ -0,0 +1,5 @@
name: Girls Room Light Cycle Transition
icon: mdi:clock
min: 1
max: 300
mode: box
@@ -1,6 +1,6 @@
name: Indoor Camera Cycle name: Indoor Camera Cycle
options: options:
- Nursery - Girls Room
- Kitchen - Kitchen
- Front Room - Front Room
- Computer Area - Computer Area
@@ -1,4 +1,4 @@
name: Nursery Color Set name: Girls Room Color Set
options: options:
- Basic - Basic
#'white','black','red','orange','yellow','green','blue','purple','pink','brown','gray' #'white','black','red','orange','yellow','green','blue','purple','pink','brown','gray'
@@ -0,0 +1,32 @@
name: Girls Room Color Set
options:
- Basic
#'white','black','red','orange','yellow','green','blue','purple','pink','brown','gray'
- Color Wheel
#'red','orange','amber','yellow','chartreuse','green','teal','blue','violet','purple','magenta'
- Rainbow
#'red','orange','yellow','green','blue','indigo','violet'
- Flourescent
#'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'
- Silver Swirl
#'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'
- Gem Tones
#'amethyst','citrine','emerald','jade','lapis_lazuli','malachite','onyx','rose_quartz','ruby','sapphire','smokey_topaz'
- Reds
#'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'
- Oranges
#'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'
- Yellows
#'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'
- Greens
#'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'
- Cyans
#'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'
- Blues
#'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'
- Purples
#'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'
- Magentas
#'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'
- Grays
#'ash_gray','battleship_gray','cadet_gray','charcoal','dim_gray','gunmetal','jet','marengo','nickel','platinum','rocket_metallic','silver','slate_gray'
@@ -1,4 +1,4 @@
name: Nursery Light Off Delay name: Girls Room Light Off Delay
options: options:
- 'Normal' - 'Normal'
- 'Long' - 'Long'
@@ -1,4 +1,4 @@
name: Nursery Mode name: Girls Room Mode
options: options:
- 'Auto' - 'Auto'
- 'Manual' - 'Manual'
@@ -1,11 +0,0 @@
name: Bridget WLED
options:
- 'On'
- Ceiling
- Read
- Bedtime
- Bouncing Balls
- Fireworks
- Twinkle
- Meteor
- 'Off'
@@ -1,11 +0,0 @@
name: Emmett WLED
options:
- 'On'
- Ceiling
- Read
- Bedtime
- Bouncing Balls
- Fireworks
- Twinkle
- Meteor
- 'Off'
@@ -1,12 +0,0 @@
name: Nursery WLED
options:
- 'On'
- Ceiling
- Read
- Bedtime
- Bouncing Balls
- Fireworks
- Twinkle
- Meteor
- Running Rainbow
- 'Off'
@@ -0,0 +1 @@
name: Boys Room Mode
@@ -0,0 +1 @@
name: Girls Room Mode
@@ -1 +0,0 @@
name: Nursery Mode
@@ -4,7 +4,7 @@ sensor:
name: Lowest Window Battery name: Lowest Window Battery
type: min type: min
entity_ids: entity_ids:
- sensor.nursery_window_battery - sensor.girls_room_window_battery
- sensor.computer_area_window_battery - sensor.computer_area_window_battery
- sensor.entryway_window_battery - sensor.entryway_window_battery
- sensor.front_room_window_battery - sensor.front_room_window_battery
@@ -36,7 +36,7 @@ sensor:
- sensor.master_bedroom_closet_door_battery - sensor.master_bedroom_closet_door_battery
- sensor.master_bedroom_door_battery - sensor.master_bedroom_door_battery
- sensor.master_suite_door_battery - sensor.master_suite_door_battery
- sensor.nursery_closet_door_battery - sensor.girls_room_closet_door_battery
- sensor.patio_door_battery - sensor.patio_door_battery
- sensor.storage_room_door_battery - sensor.storage_room_door_battery
- sensor.pantry_door_battery - sensor.pantry_door_battery
@@ -7,7 +7,7 @@ sensor:
- sensor.front_room_motion_sensor_battery_level - sensor.front_room_motion_sensor_battery_level
- sensor.kitchen_motion_sensor_battery_level - sensor.kitchen_motion_sensor_battery_level
- sensor.master_bedroom_multisensor_battery_level - sensor.master_bedroom_multisensor_battery_level
- sensor.nursery_multisensor_battery_level - sensor.girls_room_multisensor_battery_level
- sensor.computer_area_multisensor_battery_level - sensor.computer_area_multisensor_battery_level
- sensor.great_room_multisensor_battery_level - sensor.great_room_multisensor_battery_level
- sensor.garage_multisensor_battery_level - sensor.garage_multisensor_battery_level
+4 -4
View File
@@ -30,7 +30,7 @@ script:
# entity_id: > # entity_id: >
# {% if is_state('input_select.cast_to_screen_dropdown', 'Front Room Display') %} # {% if is_state('input_select.cast_to_screen_dropdown', 'Front Room Display') %}
# media_player.front_room_hub # media_player.front_room_hub
# {% elif is_state('input_select.cast_to_screen_dropdown', 'Nursery Hub') %} # {% elif is_state('input_select.cast_to_screen_dropdown', 'Girls Room Hub') %}
# media_player.girls_room_hub # media_player.girls_room_hub
# {% elif is_state('input_select.cast_to_screen_dropdown', 'Computer Area Hub') %} # {% elif is_state('input_select.cast_to_screen_dropdown', 'Computer Area Hub') %}
# media_player.computer_area_hub # media_player.computer_area_hub
@@ -47,7 +47,7 @@ script:
# media-source://camera/camera.frigate_cam04 # media-source://camera/camera.frigate_cam04
# {% elif is_state('input_select.camera_dropdown', 'Master Bedroom') %} # {% elif is_state('input_select.camera_dropdown', 'Master Bedroom') %}
# media-source://camera/camera.frigate_cam06 # media-source://camera/camera.frigate_cam06
# {% elif is_state('input_select.camera_dropdown', 'Nursery') %} # {% elif is_state('input_select.camera_dropdown', 'Girls Room') %}
# media-source://camera/camera.frigate_cam08 # media-source://camera/camera.frigate_cam08
# {% elif is_state('input_select.camera_dropdown', 'Back Yard') %} # {% elif is_state('input_select.camera_dropdown', 'Back Yard') %}
# media-source://camera/camera.frigate_cam14 # media-source://camera/camera.frigate_cam14
@@ -75,7 +75,7 @@ script:
# entity_id: > # entity_id: >
# {% if is_state('input_select.cast_to_screen_dropdown', 'Front Room Display') %} # {% if is_state('input_select.cast_to_screen_dropdown', 'Front Room Display') %}
# media_player.front_room_hub # media_player.front_room_hub
# {% elif is_state('input_select.cast_to_screen_dropdown', 'Nursery Hub') %} # {% elif is_state('input_select.cast_to_screen_dropdown', 'Girls Room Hub') %}
# media_player.girls_room_hub # media_player.girls_room_hub
# {% elif is_state('input_select.cast_to_screen_dropdown', 'Computer Area Hub') %} # {% elif is_state('input_select.cast_to_screen_dropdown', 'Computer Area Hub') %}
# media_player.computer_area_hub # media_player.computer_area_hub
@@ -91,7 +91,7 @@ script:
# rtsp://192.168.1.11:8554/cam04_sub_opus # rtsp://192.168.1.11:8554/cam04_sub_opus
# {% elif is_state('input_select.camera_dropdown', 'Master Bedroom') %} # {% elif is_state('input_select.camera_dropdown', 'Master Bedroom') %}
# rtsp://192.168.1.11:8554/cam06_sub_opus # rtsp://192.168.1.11:8554/cam06_sub_opus
# {% elif is_state('input_select.camera_dropdown', 'Nursery') %} # {% elif is_state('input_select.camera_dropdown', 'Girls Room') %}
# rtsp://192.168.1.11:8554/cam08_sub_opus # rtsp://192.168.1.11:8554/cam08_sub_opus
# {% elif is_state('input_select.camera_dropdown', 'Back Yard') %} # {% elif is_state('input_select.camera_dropdown', 'Back Yard') %}
# rtsp://192.168.1.11:8554/cam14_sub_opus # rtsp://192.168.1.11:8554/cam14_sub_opus
+4 -4
View File
@@ -27,25 +27,25 @@ input_number:
step: 1 step: 1
mode: slider mode: slider
nursery_fan_min_temp: girls_room_fan_min_temp:
name: Nursery Fan Min Temp name: Nursery Fan Min Temp
min: 60 min: 60
max: 80 max: 80
step: 1 step: 1
mode: slider mode: slider
nursery_fan_low_temp: girls_room_fan_low_temp:
name: Nursery Fan Low Temp name: Nursery Fan Low Temp
min: 60 min: 60
max: 80 max: 80
step: 1 step: 1
mode: slider mode: slider
nursery_fan_medium_temp: girls_room_fan_medium_temp:
name: Nursery Fan Medium Temp name: Nursery Fan Medium Temp
min: 60 min: 60
max: 80 max: 80
step: 1 step: 1
mode: slider mode: slider
nursery_fan_high_temp: girls_room_fan_high_temp:
name: Nursery Fan High Temp name: Nursery Fan High Temp
min: 60 min: 60
max: 80 max: 80
+4 -4
View File
@@ -183,7 +183,7 @@ google_assistant:
- Front Room - Front Room
room: Front Room room: Front Room
fan.master_bedroom: fan.master_bedroom_fan_light_switch_fan:
name: Master Bedroom Fan name: Master Bedroom Fan
room: Master Bedroom room: Master Bedroom
expose: true expose: true
@@ -191,7 +191,7 @@ google_assistant:
- Fan - Fan
- Ceiling Fan - Ceiling Fan
fan.nursery: fan.girls_room_fan_light_switch_fan:
name: Nursery Fan name: Nursery Fan
room: Nursery room: Nursery
expose: true expose: true
@@ -224,14 +224,14 @@ google_assistant:
room: Furnace Room room: Furnace Room
expose: true expose: true
input_button.nursery_bedtime: input_button.girls_room_bedtime:
name: Kids Bedtime name: Kids Bedtime
room: Nursery room: Nursery
expose: true expose: true
aliases: aliases:
- Nursery Bedtime - Nursery Bedtime
input_button.nursery_awake: input_button.girls_room_awake:
name: Kids Awake name: Kids Awake
room: Nursery room: Nursery
expose: true expose: true
+6 -6
View File
@@ -4,7 +4,7 @@ sensor:
type: max type: max
entity_ids: entity_ids:
- sensor.master_bedroom_multisensor_air_temperature - sensor.master_bedroom_multisensor_air_temperature
- sensor.nursery_multisensor_air_temperature - sensor.girls_room_multisensor_air_temperature
- sensor.thermostat_temperature - sensor.thermostat_temperature
- sensor.bar_temperature - sensor.bar_temperature
- sensor.front_room_thermostat_temperature - sensor.front_room_thermostat_temperature
@@ -15,7 +15,7 @@ sensor:
type: min type: min
entity_ids: entity_ids:
- sensor.master_bedroom_multisensor_air_temperature - sensor.master_bedroom_multisensor_air_temperature
- sensor.nursery_multisensor_air_temperature - sensor.girls_room_multisensor_air_temperature
- sensor.thermostat_temperature - sensor.thermostat_temperature
- sensor.bar_temperature - sensor.bar_temperature
- sensor.front_room_thermostat_temperature - sensor.front_room_thermostat_temperature
@@ -26,7 +26,7 @@ sensor:
# type: mean # type: mean
# entity_ids: # entity_ids:
# - sensor.master_bedroom_multisensor_air_temperature # - sensor.master_bedroom_multisensor_air_temperature
# - sensor.nursery_multisensor_air_temperature # - sensor.girls_room_multisensor_air_temperature
# - sensor.thermostat_temperature # - sensor.thermostat_temperature
# - sensor.bar_temperature # - sensor.bar_temperature
# - sensor.front_room_thermostat_temperature # - sensor.front_room_thermostat_temperature
@@ -37,7 +37,7 @@ sensor:
type: max type: max
entity_ids: entity_ids:
- sensor.master_bedroom_multisensor_humidity - sensor.master_bedroom_multisensor_humidity
- sensor.nursery_multisensor_humidity - sensor.girls_room_multisensor_humidity
- sensor.front_room_thermostat_humidity - sensor.front_room_thermostat_humidity
- sensor.kitchen_multisensor_humidity - sensor.kitchen_multisensor_humidity
- sensor.thermostat_humidity - sensor.thermostat_humidity
@@ -47,7 +47,7 @@ sensor:
type: min type: min
entity_ids: entity_ids:
- sensor.master_bedroom_multisensor_humidity - sensor.master_bedroom_multisensor_humidity
- sensor.nursery_multisensor_humidity - sensor.girls_room_multisensor_humidity
- sensor.front_room_thermostat_humidity - sensor.front_room_thermostat_humidity
- sensor.kitchen_multisensor_humidity - sensor.kitchen_multisensor_humidity
- sensor.thermostat_humidity - sensor.thermostat_humidity
@@ -57,7 +57,7 @@ sensor:
type: mean type: mean
entity_ids: entity_ids:
- sensor.master_bedroom_multisensor_humidity - sensor.master_bedroom_multisensor_humidity
- sensor.nursery_multisensor_humidity - sensor.girls_room_multisensor_humidity
- sensor.front_room_thermostat_humidity - sensor.front_room_thermostat_humidity
- sensor.kitchen_multisensor_humidity - sensor.kitchen_multisensor_humidity
- sensor.thermostat_humidity - sensor.thermostat_humidity
+9 -9
View File
@@ -328,27 +328,27 @@ template:
- platform: state - platform: state
entity_id: entity_id:
- input_number.nursery_light_level_trigger - input_number.girls_room_light_level_trigger
- sensor.nursery_multisensor_illuminance - sensor.girls_room_multisensor_illuminance
binary_sensor: binary_sensor:
- name: "Nursery Naturally Lit" - name: "Girls Room Naturally Lit"
unique_id: templatebinarysensor_nurserynaturallylit unique_id: templatebinarysensor_girls_roomnaturallylit
delay_on: delay_on:
seconds: 3 seconds: 3
delay_off: delay_off:
seconds: 3 seconds: 3
state: > state: >
{{ states('sensor.nursery_multisensor_illuminance') | float(default=0) > states('input_number.nursery_light_level_trigger') | float(default=0) }} {{ states('sensor.girls_room_multisensor_illuminance') | float(default=0) > states('input_number.girls_room_light_level_trigger') | float(default=0) }}
icon: > icon: >
{% if states('sensor.nursery_multisensor_illuminance') | float(default=0) > states('input_number.nursery_light_level_trigger') | float(default=0) %} {% if states('sensor.girls_room_multisensor_illuminance') | float(default=0) > states('input_number.girls_room_light_level_trigger') | float(default=0) %}
mdi:weather-sunny mdi:weather-sunny
{% else %} {% else %}
mdi:weather-sunny-off mdi:weather-sunny-off
{% endif %} {% endif %}
attributes: attributes:
illuminance: "{{ states('sensor.nursery_multisensor_illuminance') | float(default=0) }}" illuminance: "{{ states('sensor.girls_room_multisensor_illuminance') | float(default=0) }}"
trigger: "{{ states('input_number.nursery_light_level_trigger') | float(default=0) }}" trigger: "{{ states('input_number.girls_room_light_level_trigger') | float(default=0) }}"
input_number: input_number:
boys_room_light_level_trigger: boys_room_light_level_trigger:
@@ -428,7 +428,7 @@ input_number:
max: 50000 max: 50000
mode: box mode: box
nursery_light_level_trigger: girls_room_light_level_trigger:
name: Nursery Light Level Trigger name: Nursery Light Level Trigger
icon: mdi:brightness-auto icon: mdi:brightness-auto
min: 0 min: 0
@@ -4,7 +4,7 @@ template:
default_entity_id: binary_sensor.pixel_7_connected_to_traverse default_entity_id: binary_sensor.pixel_7_connected_to_traverse
icon: mdi:cellphone-key icon: mdi:cellphone-key
name: Pixel 7 Connected to Traverse name: Pixel 7 Connected to Traverse
state: '{{ ''30:C3:D9:B0:CA:E4 (Chevrolet MyLink)'' in state_attr(''sensor.pixel_7_bluetooth_connection'',''connected_paired_devices'') }}' state: "{{ '30:C3:D9:B0:CA:E4 (Chevrolet MyLink)' in state_attr('sensor.pixel_7_bluetooth_connection','connected_paired_devices') }}"
- unique_id: templatebinarysensor.humidity_too_low - unique_id: templatebinarysensor.humidity_too_low
default_entity_id: binary_sensor.humidity_too_low default_entity_id: binary_sensor.humidity_too_low
@@ -568,17 +568,17 @@ template:
delay_on: delay_on:
seconds: 30 seconds: 30
- unique_id: templatebinarysensor.nursery_light_left_on - unique_id: templatebinarysensor.girls_room_light_left_on
default_entity_id: binary_sensor.nursery_light_left_on default_entity_id: binary_sensor.girls_room_light_left_on
name: Nursery Light Left On name: Girls Room Light Left On
state: "{{ is_state('light.nursery_hue','on') and is_state('input_boolean.nursery_occupied','off') }}" state: "{{ is_state('light.girls_room_hue','on') and is_state('input_boolean.girls_room_occupied','off') }}"
delay_on: delay_on:
seconds: 30 seconds: 30
- unique_id: templatebinarysensor.utility_room_light_left_on - unique_id: templatebinarysensor.utility_room_light_left_on
default_entity_id: binary_sensor.utility_room_light_left_on default_entity_id: binary_sensor.utility_room_light_left_on
name: Utility Room Light Left On name: Utility Room Light Left On
state: "{{ is_state('light.utility_room_hue','on') and is_state('input_boolean.utility_room_occupied','off') }}" state: "{{ is_state('light.utility_room_vanity','on') and is_state('input_boolean.utility_room_occupied','off') }}"
delay_on: delay_on:
seconds: 30 seconds: 30
+26 -26
View File
@@ -17,42 +17,42 @@ template:
- unique_id: templatesensor.clint_status - unique_id: templatesensor.clint_status
default_entity_id: sensor.clint_status default_entity_id: sensor.clint_status
state: '{{ states.input_select.clint_status_dropdown.state }}' state: "{{ states.input_select.clint_status_dropdown.state }}"
name: 'Clint' name: "Clint"
- unique_id: templatesensor.emmett_status - unique_id: templatesensor.emmett_status
default_entity_id: sensor.emmett_status default_entity_id: sensor.emmett_status
state: '{{ states.input_select.emmett_status_dropdown.state }}' state: "{{ states.input_select.emmett_status_dropdown.state }}"
name: 'Emmett' name: "Emmett"
- unique_id: templatesensor.bridget_status - unique_id: templatesensor.bridget_status
default_entity_id: sensor.bridget_status default_entity_id: sensor.bridget_status
state: '{{ states.input_select.bridget_status_dropdown.state }}' state: "{{ states.input_select.bridget_status_dropdown.state }}"
name: 'Bridget' name: "Bridget"
- unique_id: templatesensor.kristy_status - unique_id: templatesensor.kristy_status
default_entity_id: sensor.kristy_status default_entity_id: sensor.kristy_status
state: '{{ states.input_select.kristy_status_dropdown.state }}' state: "{{ states.input_select.kristy_status_dropdown.state }}"
name: 'Kristy' name: "Kristy"
- unique_id: templatesensor.marshall_status - unique_id: templatesensor.marshall_status
default_entity_id: sensor.marshall_status default_entity_id: sensor.marshall_status
state: '{{ states.input_select.marshall_status_dropdown.state }}' state: "{{ states.input_select.marshall_status_dropdown.state }}"
name: 'Marshall' name: "Marshall"
- unique_id: templatesensor.tess_status - unique_id: templatesensor.tess_status
default_entity_id: sensor.tess_status default_entity_id: sensor.tess_status
state: '{{ states.input_select.tess_status_dropdown.state }}' state: "{{ states.input_select.tess_status_dropdown.state }}"
name: 'Tess' name: "Tess"
- unique_id: templatesensor.ebin_status - unique_id: templatesensor.ebin_status
default_entity_id: sensor.ebin_status default_entity_id: sensor.ebin_status
state: '{{ states.input_select.ebin_status_dropdown.state }}' state: "{{ states.input_select.ebin_status_dropdown.state }}"
name: 'Ebin' name: "Ebin"
- unique_id: templatesensor.people_count - unique_id: templatesensor.people_count
default_entity_id: sensor.people_count default_entity_id: sensor.people_count
name: 'People Count' name: "People Count"
state: > state: >
{{[ states.input_boolean.clint_home, {{[ states.input_boolean.clint_home,
states.input_boolean.emmett_home, states.input_boolean.emmett_home,
@@ -123,28 +123,28 @@ template:
- unique_id: templatesensor.non_summer_per_kwh - unique_id: templatesensor.non_summer_per_kwh
default_entity_id: sensor.nonsummer_per_kwh default_entity_id: sensor.nonsummer_per_kwh
name: 'Non-Summer Rate' name: "Non-Summer Rate"
state: 0.100496 state: 0.100496
icon: mdi:currency-usd icon: mdi:currency-usd
unit_of_measurement: '$/kWh' unit_of_measurement: "$/kWh"
- unique_id: templatesensor.summer_nonpeak_per_kwh - unique_id: templatesensor.summer_nonpeak_per_kwh
default_entity_id: sensor.summernonpeak_per_kwh default_entity_id: sensor.summernonpeak_per_kwh
name: 'Summer Non-Peak Rate' name: "Summer Non-Peak Rate"
state: 0.100649 state: 0.100649
icon: mdi:currency-usd icon: mdi:currency-usd
unit_of_measurement: '$/kWh' unit_of_measurement: "$/kWh"
- unique_id: templatesensor.summerpeak_per_kwh - unique_id: templatesensor.summerpeak_per_kwh
default_entity_id: sensor.summerpeak_per_kwh default_entity_id: sensor.summerpeak_per_kwh
name: 'Summer Peak Rate' name: "Summer Peak Rate"
state: 0.149656 state: 0.149656
icon: mdi:currency-usd icon: mdi:currency-usd
unit_of_measurement: '$/kWh' unit_of_measurement: "$/kWh"
- unique_id: templatesensor.energy_cost - unique_id: templatesensor.energy_cost
default_entity_id: sensor.energy_cost default_entity_id: sensor.energy_cost
name: 'Energy Cost' name: "Energy Cost"
state: >- state: >-
{% if now().month > 9 or now().month < 6 -%} {% if now().month > 9 or now().month < 6 -%}
0.100496 0.100496
@@ -156,11 +156,11 @@ template:
{%- endif -%} {%- endif -%}
{% endif %} {% endif %}
icon: mdi:currency-usd icon: mdi:currency-usd
unit_of_measurement: '$/kWh' unit_of_measurement: "$/kWh"
- unique_id: templatesensor.energy_tariff - unique_id: templatesensor.energy_tariff
default_entity_id: sensor.energy_tariff default_entity_id: sensor.energy_tariff
name: 'Energy Tariff' name: "Energy Tariff"
state: >- state: >-
{% if now().month > 9 or now().month < 6 -%} {% if now().month > 9 or now().month < 6 -%}
Non-Summer Non-Summer
@@ -174,7 +174,7 @@ template:
- unique_id: templatesensor.general_waste - unique_id: templatesensor.general_waste
default_entity_id: sensor.general_waste default_entity_id: sensor.general_waste
name: 'General Waste' name: "General Waste"
icon: mdi:trash-can icon: mdi:trash-can
state: >- state: >-
{% if is_state('calendar.trash_schedule','on') %} {% if is_state('calendar.trash_schedule','on') %}
@@ -231,7 +231,7 @@ template:
states('sensor.great_room_person_count')|int(default=0) + states('sensor.great_room_person_count')|int(default=0) +
states('sensor.kitchen_person_count')|int(default=0) + states('sensor.kitchen_person_count')|int(default=0) +
states('sensor.master_bedroom_person_count')|int(default=0) + states('sensor.master_bedroom_person_count')|int(default=0) +
states('sensor.nursery_person_count')|int(default=0) + states('sensor.girls_room_person_count')|int(default=0) +
states('sensor.utility_room_person_count')|int(default=0) + states('sensor.utility_room_person_count')|int(default=0) +
states('sensor.walkway_person_count')|int(default=0) + states('sensor.walkway_person_count')|int(default=0) +
states('sensor.workshop_person_count')|int(default=0) states('sensor.workshop_person_count')|int(default=0)
+217
View File
@@ -0,0 +1,217 @@
template:
- switch:
- unique_id: 9d2081d6-6ae2-4e51-81d3-cd8679905de8
# This shouldn't be used because it just re-circulates the air in the house.
# Since there aren't any returns in the basement, the upstairs air recirculates itself
# which accomplishes nothing
# I'd need to get some kind of fresh air intake and a damper
turn_on:
- action: ecobee.set_fan_min_on_time
data:
fan_min_on_time: 60
turn_off:
- action: ecobee.set_fan_min_on_time
data:
fan_min_on_time: 0
default_entity_id: switch.thermostat_fan_mode
name: Thermostat Fan Mode
state: >-
{% if state_attr('climate.thermostat', 'fan_min_on_time') | int(default=0) < 5 %}
{{'false'}}
{% else %}
{{ 'true' }}
{% endif %}
- unique_id: 81b29c14-23e0-4215-a3dd-21a52564d44e
default_entity_id: switch.master_bedroom_light_cycle
name: "Master Bedroom Light Cycle"
state: "{{ is_state('input_boolean.master_bedroom_light_cycle', 'on') }}"
turn_on:
action: input_boolean.turn_on
data:
entity_id: input_boolean.master_bedroom_light_cycle
turn_off:
action: input_boolean.turn_off
data:
entity_id: input_boolean.master_bedroom_light_cycle
icon: >-
{% if is_state('input_boolean.master_bedroom_light_cycle', 'on') %}
mdi:party-popper
{% else %}
mdi:party-popper
{% endif %}
- unique_id: 000baf7e-3065-432e-a3eb-e4f1d40f8028
default_entity_id: switch.girls_room_light_cycle
name: "Girls Room Light Cycle"
state: "{{ is_state('input_boolean.girls_room_light_cycle', 'on') }}"
turn_on:
action: input_boolean.turn_on
data:
entity_id: input_boolean.girls_room_light_cycle
turn_off:
action: input_boolean.turn_off
data:
entity_id: input_boolean.girls_room_light_cycle
icon: >-
{% if is_state('input_boolean.girls_room_light_cycle', 'on') %}
mdi:party-popper
{% else %}
mdi:party-popper
{% endif %}
- unique_id: bbdb494c-2ec9-4840-a1e9-c20268136ebb
default_entity_id: switch.boys_room_light_cycle
name: "Boys Room Light Cycle"
state: "{{ is_state('input_boolean.boys_room_light_cycle', 'on') }}"
turn_on:
action: input_boolean.turn_on
data:
entity_id: input_boolean.boys_room_light_cycle
turn_off:
action: input_boolean.turn_off
data:
entity_id: input_boolean.boys_room_light_cycle
icon: >-
{% if is_state('input_boolean.boys_room_light_cycle', 'on') %}
mdi:party-popper
{% else %}
mdi:party-popper
{% endif %}
- unique_id: 267f9562-7fcd-42cd-aa8d-b801b1a18ffc
default_entity_id: switch.front_room_light_cycle
name: "Front Room Light Cycle"
state: "{{ is_state('input_boolean.front_room_light_cycle', 'on') }}"
turn_on:
action: input_boolean.turn_on
data:
entity_id: input_boolean.front_room_light_cycle
turn_off:
action: input_boolean.turn_off
data:
entity_id: input_boolean.front_room_light_cycle
icon: >-
{% if is_state('input_boolean.front_room_light_cycle', 'on') %}
mdi:party-popper
{% else %}
mdi:party-popper
{% endif %}
- unique_id: fff0f6b6-dfcf-4bda-b21e-1cf1ef385cd1
default_entity_id: switch.great_room_light_cycle
name: "Great Room Light Cycle"
state: "{{ is_state('input_boolean.great_room_light_cycle', 'on') }}"
turn_on:
action: input_boolean.turn_on
data:
entity_id: input_boolean.great_room_light_cycle
turn_off:
action: input_boolean.turn_off
data:
entity_id: input_boolean.great_room_light_cycle
icon: >-
{% if is_state('input_boolean.great_room_light_cycle', 'on') %}
mdi:party-popper
{% else %}
mdi:party-popper
{% endif %}
- unique_id: fc8be266-37ce-4eac-a2c5-2398f84681bb
default_entity_id: switch.computer_area_light_cycle
name: "Computer Area Light Cycle"
state: "{{ is_state('input_boolean.computer_area_light_cycle', 'on') }}"
turn_on:
action: input_boolean.turn_on
data:
entity_id: input_boolean.computer_area_light_cycle
turn_off:
action: input_boolean.turn_off
data:
entity_id: input_boolean.computer_area_light_cycle
icon: >-
{% if is_state('input_boolean.computer_area_light_cycle', 'on') %}
mdi:party-popper
{% else %}
mdi:party-popper
{% endif %}
- unique_id: be11d0e0-4858-4381-8528-23c16179bbe3
default_entity_id: switch.girls_room_bed_lights
state: "{{ is_state('light.black_bed_wled', 'on') or is_state('light.white_bed_wled', 'on') }}"
turn_on:
action: select.select_option
target:
entity_id:
- select.black_bed_wled_preset
- select.white_bed_wled_preset
data:
option: Bouncing Balls
turn_off:
action: select.select_option
target:
entity_id:
- select.black_bed_wled_preset
- select.white_bed_wled_preset
data:
option: "Off"
icon: >-
mdi:led-strip-variant
- unique_id: 5cba4cb3-1fa0-482f-b419-edde77030500
default_entity_id: switch.virtual_reality
state: "{{ is_state('switch.vr_headset_plug', 'on') }}"
turn_on:
action: homeassistant.turn_on
data:
entity_id:
- switch.vr_headset_plug
turn_off:
action: homeassistant.turn_off
data:
entity_id:
- switch.vr_headset_plug
icon: >-
mdi:virtual-reality
# all_chores:
# unique_id: templateswitch.all_chores
# state: "{{ is_state('input_boolean.grocy_next_chores', 'on')}}"
# turn_on:
# action: homeassistant.turn_on
# data:
# entity_id:
# - input_boolean.grocy_next_chores
# turn_off:
# action: homeassistant.turn_off
# data:
# entity_id:
# - input_boolean.grocy_next_chores
# boys_room_chores:
# unique_id: templateswitch.boys_room_chores
# state: "{{ is_state('input_boolean.boys_room_next_chores', 'on')}}"
# turn_on:
# action: homeassistant.turn_on
# data:
# entity_id:
# - input_boolean.boys_room_next_chores
# turn_off:
# action: homeassistant.turn_off
# data:
# entity_id:
# - input_boolean.boys_room_next_chores
# computer_area_chores:
# unique_id: templateswitch.computer_area_chores
# state: "{{ is_state('input_boolean.computer_area_next_chores', 'on')}}"
# turn_on:
# action: homeassistant.turn_on
# data:
# entity_id:
# - input_boolean.computer_area_next_chores
# turn_off:
# action: homeassistant.turn_off
# data:
# entity_id:
# - input_boolean.computer_area_next_chores
+11
View File
@@ -0,0 +1,11 @@
sensor:
- platform: time_date
display_options:
- 'time'
- 'date'
- 'date_time'
- 'date_time_utc'
- 'date_time_iso'
- 'time_date'
- 'time_utc'
@@ -93,10 +93,10 @@ automation:
# - select.microwave_plug_daily # - select.microwave_plug_daily
# - select.microwave_plug_weekly # - select.microwave_plug_weekly
# - select.microwave_plug_monthly # - select.microwave_plug_monthly
# - select.nursery_dining_kitchen_lights_hourly # - select.girls_room_dining_kitchen_lights_hourly
# - select.nursery_dining_kitchen_lights_daily # - select.girls_room_dining_kitchen_lights_daily
# - select.nursery_dining_kitchen_lights_weekly # - select.girls_room_dining_kitchen_lights_weekly
# - select.nursery_dining_kitchen_lights_monthly # - select.girls_room_dining_kitchen_lights_monthly
# - select.stove_hourly # - select.stove_hourly
# - select.stove_daily # - select.stove_daily
# - select.stove_weekly # - select.stove_weekly
File diff suppressed because it is too large Load Diff
-7
View File
@@ -1,7 +0,0 @@
# platform: authenticated
# exclude:
# - fd00::/8
# - 2001:4860:4000::/36
# - 108.177.8.0/17
# - 66.102.0.0/20
# - 66.249.80.0/20
-3
View File
@@ -1,3 +0,0 @@
# platform: version
# name: Hassio Version
# source: hassio
-2
View File
@@ -1,2 +0,0 @@
# platform: season
# type: meteorological
-26
View File
@@ -1,26 +0,0 @@
# platform: systemmonitor
# resources:
# - type: disk_use_percent
# arg: /home
# - type: disk_use
# - type: disk_free
# - type: memory_use_percent
# - type: memory_use
# - type: memory_free
# - type: swap_use
# - type: swap_free
# - type: load_1m
# - type: load_5m
# - type: load_15m
# - type: last_boot
# - type: network_in
# arg: eno2
# - type: network_out
# arg: eno2
# - type: ipv4_address
# arg: eno2
# - type: throughput_network_in
# arg: eno2
# - type: throughput_network_out
# arg: eno2
# - type: processor_use
-9
View File
@@ -1,9 +0,0 @@
platform: time_date
display_options:
- 'time'
- 'date'
- 'date_time'
- 'date_time_utc'
- 'date_time_iso'
- 'time_date'
- 'time_utc'
-2
View File
@@ -1,2 +0,0 @@
# platform: uptime
# name: Last System Boot
-217
View File
@@ -1,217 +0,0 @@
template:
- switch:
- unique_id: 9d2081d6-6ae2-4e51-81d3-cd8679905de8
# This shouldn't be used because it just re-circulates the air in the house.
# Since there aren't any returns in the basement, the upstairs air recirculates itself
# which accomplishes nothing
# I'd need to get some kind of fresh air intake and a damper
turn_on:
- action: ecobee.set_fan_min_on_time
data:
fan_min_on_time: 60
turn_off:
- action: ecobee.set_fan_min_on_time
data:
fan_min_on_time: 0
default_entity_id: switch.thermostat_fan_mode
name: Thermostat Fan Mode
state: >-
{% if state_attr('climate.thermostat', 'fan_min_on_time') | int(default=0) < 5 %}
{{'false'}}
{% else %}
{{ 'true' }}
{% endif %}
- unique_id: 81b29c14-23e0-4215-a3dd-21a52564d44e
default_entity_id: switch.master_bedroom_light_cycle
name: "Master Bedroom Light Cycle"
state: "{{ is_state('input_boolean.master_bedroom_light_cycle', 'on') }}"
turn_on:
action: input_boolean.turn_on
data:
entity_id: input_boolean.master_bedroom_light_cycle
turn_off:
action: input_boolean.turn_off
data:
entity_id: input_boolean.master_bedroom_light_cycle
icon: >-
{% if is_state('input_boolean.master_bedroom_light_cycle', 'on') %}
mdi:party-popper
{% else %}
mdi:party-popper
{% endif %}
- unique_id: 000baf7e-3065-432e-a3eb-e4f1d40f8028
default_entity_id: switch.girls_room_light_cycle
name: "Girls Room Light Cycle"
state: "{{ is_state('input_boolean.girls_room_light_cycle', 'on') }}"
turn_on:
action: input_boolean.turn_on
data:
entity_id: input_boolean.girls_room_light_cycle
turn_off:
action: input_boolean.turn_off
data:
entity_id: input_boolean.girls_room_light_cycle
icon: >-
{% if is_state('input_boolean.girls_room_light_cycle', 'on') %}
mdi:party-popper
{% else %}
mdi:party-popper
{% endif %}
- unique_id: bbdb494c-2ec9-4840-a1e9-c20268136ebb
default_entity_id: switch.boys_room_light_cycle
name: "Boys Room Light Cycle"
state: "{{ is_state('input_boolean.boys_room_light_cycle', 'on') }}"
turn_on:
action: input_boolean.turn_on
data:
entity_id: input_boolean.boys_room_light_cycle
turn_off:
action: input_boolean.turn_off
data:
entity_id: input_boolean.boys_room_light_cycle
icon: >-
{% if is_state('input_boolean.boys_room_light_cycle', 'on') %}
mdi:party-popper
{% else %}
mdi:party-popper
{% endif %}
- unique_id: 267f9562-7fcd-42cd-aa8d-b801b1a18ffc
default_entity_id: switch.front_room_light_cycle
name: "Front Room Light Cycle"
state: "{{ is_state('input_boolean.front_room_light_cycle', 'on') }}"
turn_on:
action: input_boolean.turn_on
data:
entity_id: input_boolean.front_room_light_cycle
turn_off:
action: input_boolean.turn_off
data:
entity_id: input_boolean.front_room_light_cycle
icon: >-
{% if is_state('input_boolean.front_room_light_cycle', 'on') %}
mdi:party-popper
{% else %}
mdi:party-popper
{% endif %}
- unique_id: fff0f6b6-dfcf-4bda-b21e-1cf1ef385cd1
default_entity_id: switch.great_room_light_cycle
name: "Great Room Light Cycle"
state: "{{ is_state('input_boolean.great_room_light_cycle', 'on') }}"
turn_on:
action: input_boolean.turn_on
data:
entity_id: input_boolean.great_room_light_cycle
turn_off:
action: input_boolean.turn_off
data:
entity_id: input_boolean.great_room_light_cycle
icon: >-
{% if is_state('input_boolean.great_room_light_cycle', 'on') %}
mdi:party-popper
{% else %}
mdi:party-popper
{% endif %}
- unique_id: fc8be266-37ce-4eac-a2c5-2398f84681bb
default_entity_id: switch.computer_area_light_cycle
name: "Computer Area Light Cycle"
state: "{{ is_state('input_boolean.computer_area_light_cycle', 'on') }}"
turn_on:
action: input_boolean.turn_on
data:
entity_id: input_boolean.computer_area_light_cycle
turn_off:
action: input_boolean.turn_off
data:
entity_id: input_boolean.computer_area_light_cycle
icon: >-
{% if is_state('input_boolean.computer_area_light_cycle', 'on') %}
mdi:party-popper
{% else %}
mdi:party-popper
{% endif %}
- unique_id: be11d0e0-4858-4381-8528-23c16179bbe3
default_entity_id: switch.nursery_bed_lights
state: "{{ is_state('light.black_bed_wled', 'on') or is_state('light.white_bed_wled', 'on') }}"
turn_on:
action: select.select_option
target:
entity_id:
- select.black_bed_wled_preset
- select.white_bed_wled_preset
data:
option: Bouncing Balls
turn_off:
action: select.select_option
target:
entity_id:
- select.black_bed_wled_preset
- select.white_bed_wled_preset
data:
option: "Off"
icon: >-
mdi:led-strip-variant
- unique_id: 5cba4cb3-1fa0-482f-b419-edde77030500
default_entity_id: switch.virtual_reality
state: "{{ is_state('switch.vr_headset_plug', 'on') }}"
turn_on:
action: homeassistant.turn_on
data:
entity_id:
- switch.vr_headset_plug
turn_off:
action: homeassistant.turn_off
data:
entity_id:
- switch.vr_headset_plug
icon: >-
mdi:virtual-reality
# all_chores:
# unique_id: templateswitch.all_chores
# state: "{{ is_state('input_boolean.grocy_next_chores', 'on')}}"
# turn_on:
# action: homeassistant.turn_on
# data:
# entity_id:
# - input_boolean.grocy_next_chores
# turn_off:
# action: homeassistant.turn_off
# data:
# entity_id:
# - input_boolean.grocy_next_chores
# boys_room_chores:
# unique_id: templateswitch.boys_room_chores
# state: "{{ is_state('input_boolean.boys_room_next_chores', 'on')}}"
# turn_on:
# action: homeassistant.turn_on
# data:
# entity_id:
# - input_boolean.boys_room_next_chores
# turn_off:
# action: homeassistant.turn_off
# data:
# entity_id:
# - input_boolean.boys_room_next_chores
# computer_area_chores:
# unique_id: templateswitch.computer_area_chores
# state: "{{ is_state('input_boolean.computer_area_next_chores', 'on')}}"
# turn_on:
# action: homeassistant.turn_on
# data:
# entity_id:
# - input_boolean.computer_area_next_chores
# turn_off:
# action: homeassistant.turn_off
# data:
# entity_id:
# - input_boolean.computer_area_next_chores
+2 -2
View File
@@ -4,8 +4,8 @@ switch.bathroom_vent_switch:
switch.utility_room_vent_switch: switch.utility_room_vent_switch:
icon: mdi:fan icon: mdi:fan
fan.nursery: fan.girls_room_fan_light_switch_fan:
icon: mdi:ceiling-fan icon: mdi:ceiling-fan
fan.master_bedroom: fan.master_bedroom_fan_light_switch_fan:
icon: mdi:ceiling-fan icon: mdi:ceiling-fan
+1 -1
View File
@@ -24,7 +24,7 @@ light.dining_room_3:
light.entryway_hue: light.entryway_hue:
icon: mdi:ceiling-light icon: mdi:ceiling-light
light.nursery_hue: light.girls_room_hue:
icon: mdi:ceiling-fan-light icon: mdi:ceiling-fan-light
light.master_bedroom_hue: light.master_bedroom_hue:
+2 -2
View File
@@ -1,11 +1,11 @@
substitutions: substitutions:
devicename: nursery-tagreader devicename: girls_room-tagreader
entity_name: nursery_tagreader entity_name: nursery_tagreader
friendly_name: Nursery Tagreader friendly_name: Nursery Tagreader
comment: Clever Tag Reader comment: Clever Tag Reader
platform: ESP8266 platform: ESP8266
board: d1_mini board: d1_mini
static_ip: !secret nursery-tagreader-ip static_ip: !secret girls_room-tagreader-ip
packages: packages:
wifi: !include common/wifi.yaml wifi: !include common/wifi.yaml
+16 -17
View File
@@ -14,8 +14,8 @@ outdoor_plants:
- plant.hasta_soil_sensor #Hostas - plant.hasta_soil_sensor #Hostas
ceiling_fans: ceiling_fans:
- fan.master_bedroom - fan.girls_room_fan_light_switch_fan
- fan.nursery - fan.master_bedroom_fan_light_switch_fan
my_room_status: my_room_status:
- input_boolean.front_room_occupied - input_boolean.front_room_occupied
@@ -24,7 +24,7 @@ my_room_status:
- input_boolean.great_room_occupied - input_boolean.great_room_occupied
- input_boolean.utility_room_occupied - input_boolean.utility_room_occupied
- input_boolean.master_bedroom_occupied - input_boolean.master_bedroom_occupied
- input_boolean.nursery_occupied - input_boolean.girls_room_occupied
- input_boolean.master_bathroom_occupied - input_boolean.master_bathroom_occupied
- input_boolean.boys_room_occupied - input_boolean.boys_room_occupied
- input_boolean.mancave_occupied - input_boolean.mancave_occupied
@@ -115,19 +115,19 @@ great_room_motion:
- binary_sensor.great_room_multisensor_home_security_motion_detection - binary_sensor.great_room_multisensor_home_security_motion_detection
- binary_sensor.everything_presence_lite_8fa4fc_occupancy - binary_sensor.everything_presence_lite_8fa4fc_occupancy
# nursery_doors: # girls_room_doors:
# icon: hass:door # icon: hass:door
# name: Nursery Doors # name: Girls Room Doors
# entities: # entities:
# - binary_sensor.nursery_door # - binary_sensor.girls_room_door
# - binary_sensor.nursery_closet_door_contact # - binary_sensor.girls_room_closet_door_contact
# nursery_motion: # girls_room_motion:
# icon: mdi:motion-sensor # icon: mdi:motion-sensor
# name: Nursery Motion # name: Girls Room Motion
# entities: # entities:
# - binary_sensor.nursery_multisensor_home_security_motion_detection # The Aeotech # - binary_sensor.girls_room_multisensor_home_security_motion_detection # The Aeotech
# - binary_sensor.nursery_closet_motion_switch_home_security_motion_detection # - binary_sensor.girls_room_closet_motion_switch_home_security_motion_detection
master_bedroom_motion: master_bedroom_motion:
icon: mdi:motion-sensor icon: mdi:motion-sensor
@@ -255,7 +255,7 @@ my_hvac_affecting_openings:
- binary_sensor.patio_door_contact - binary_sensor.patio_door_contact
- binary_sensor.inner_garage_door_open_to_outside - binary_sensor.inner_garage_door_open_to_outside
- binary_sensor.front_room_window_contact - binary_sensor.front_room_window_contact
- binary_sensor.nursery_window_contact - binary_sensor.girls_room_window_contact
- binary_sensor.master_bedroom_window_contact - binary_sensor.master_bedroom_window_contact
- binary_sensor.computer_area_window_contact - binary_sensor.computer_area_window_contact
- binary_sensor.boys_room_window_contact - binary_sensor.boys_room_window_contact
@@ -276,7 +276,7 @@ my_exterior_windows:
icon: hass:window-closed icon: hass:window-closed
entities: entities:
- binary_sensor.front_room_window_contact - binary_sensor.front_room_window_contact
- binary_sensor.nursery_window_contact - binary_sensor.girls_room_window_contact
- binary_sensor.master_bedroom_window_contact - binary_sensor.master_bedroom_window_contact
- binary_sensor.computer_area_window_contact - binary_sensor.computer_area_window_contact
- binary_sensor.boys_room_window_contact - binary_sensor.boys_room_window_contact
@@ -297,7 +297,7 @@ my_lights:
- light.kitchen_hue - light.kitchen_hue
- light.master_bathroom_hue - light.master_bathroom_hue
- light.master_bedroom_hue - light.master_bedroom_hue
- light.nursery_hue - light.girls_room_hue
- light.black_bed_wled - light.black_bed_wled
- light.white_bed_wled - light.white_bed_wled
- light.garage_overhead - light.garage_overhead
@@ -309,8 +309,8 @@ my_fans:
name: My Fans name: My Fans
icon: hass:fan icon: hass:fan
entities: entities:
- fan.master_bedroom - fan.girls_room_fan_light_switch_fan
- fan.nursery - fan.master_bedroom_fan_light_switch_fan
weavers_at_home: weavers_at_home:
name: Weavers At Home name: Weavers At Home
@@ -406,4 +406,3 @@ all_my_speakers:
- media_player.deck - media_player.deck
- media_player.garage - media_player.garage
- media_player.boys_room_clock - media_player.boys_room_clock
+7 -8
View File
@@ -79,14 +79,14 @@ card:
left: 40% left: 40%
top: 95% top: 95%
- type: state-icon - type: state-icon
entity: input_boolean.nursery_occupied entity: input_boolean.girls_room_occupied
tap_action: tap_action:
action: toggle action: toggle
style: style:
left: 76% left: 76%
top: 95% top: 95%
- type: state-icon - type: state-icon
entity: binary_sensor.nursery_occupied entity: binary_sensor.girls_room_occupied
style: style:
top: 95% top: 95%
left: 92% left: 92%
@@ -102,20 +102,19 @@ card:
top: 30% top: 30%
left: 18% left: 18%
- type: conditional - type: conditional
conditions: conditions:
- entity: binary_sensor.nursery_person_occupancy - entity: binary_sensor.girls_room_person_occupancy
state: "on" state: "on"
elements: elements:
- type: state-icon - type: state-icon
entity: binary_sensor.nursery_person_occupancy entity: binary_sensor.girls_room_person_occupancy
style: style:
top: 50% top: 50%
left: 50% left: 50%
- type: state-icon - type: state-icon
entity: light.nursery_hue entity: light.girls_room_hue
style: style:
left: 50% left: 50%
top: 3% top: 3%
@@ -125,7 +124,7 @@ card:
action: more-info action: more-info
- type: state-icon - type: state-icon
entity: light.nursery_closet entity: light.girls_room_closet
style: style:
left: 80% left: 80%
top: 7% top: 7%
@@ -158,7 +157,7 @@ card:
top: 70% top: 70%
- type: state-icon - type: state-icon
entity: binary_sensor.nursery_closet_motion_switch_home_security_motion_detection entity: binary_sensor.girls_room_closet_motion_switch_motion_detection
style: style:
left: 84% left: 84%
top: 22% top: 22%
+3 -3
View File
@@ -41,7 +41,7 @@ cards:
- type: entities - type: entities
title: Window Batteries title: Window Batteries
entities: entities:
- sensor.nursery_window_battery - sensor.girls_room_window_battery
- sensor.computer_area_window_battery - sensor.computer_area_window_battery
- sensor.entryway_window_battery - sensor.entryway_window_battery
- sensor.front_room_window_battery - sensor.front_room_window_battery
@@ -67,7 +67,7 @@ cards:
- sensor.master_bedroom_closet_door_battery - sensor.master_bedroom_closet_door_battery
- sensor.master_bedroom_door_battery - sensor.master_bedroom_door_battery
- sensor.master_suite_door_battery - sensor.master_suite_door_battery
- sensor.nursery_closet_door_battery - sensor.girls_room_closet_door_battery
- sensor.patio_door_battery - sensor.patio_door_battery
- sensor.storage_room_door_battery - sensor.storage_room_door_battery
- sensor.pantry_door_battery - sensor.pantry_door_battery
@@ -83,7 +83,7 @@ cards:
- sensor.front_room_motion_sensor_battery_level - sensor.front_room_motion_sensor_battery_level
- sensor.kitchen_motion_sensor_battery_level - sensor.kitchen_motion_sensor_battery_level
- sensor.master_bedroom_multisensor_battery_level - sensor.master_bedroom_multisensor_battery_level
- sensor.nursery_multisensor_battery_level - sensor.girls_room_multisensor_battery_level
- sensor.computer_area_multisensor_battery_level - sensor.computer_area_multisensor_battery_level
- sensor.great_room_multisensor_battery_level - sensor.great_room_multisensor_battery_level
- sensor.garage_multisensor_battery_level - sensor.garage_multisensor_battery_level
+63 -63
View File
@@ -734,161 +734,161 @@ sections:
heading_style: title heading_style: title
badges: badges:
- type: entity - type: entity
entity: sensor.nursery_multisensor_air_temperature entity: sensor.girls_room_multisensor_air_temperature
tap_action: tap_action:
action: more-info action: more-info
- type: entity - type: entity
entity: sensor.nursery_multisensor_humidity entity: sensor.girls_room_multisensor_humidity
tap_action: tap_action:
action: more-info action: more-info
- type: custom:mushroom-template-card - type: custom:mushroom-template-card
entity: sensor.nursery_thermal_comfort_summer_simmer_perception entity: sensor.girls_room_thermal_comfort_summer_simmer_perception
primary: > primary: >
{% if {% if
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','cool') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','cool')
%} Cool {% elif %} Cool {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','slightly_cool') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','slightly_cool')
%} Comfy {% elif %} Comfy {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','comfortable') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','comfortable')
%} Comfy {% elif %} Comfy {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','slightly_warm') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','slightly_warm')
%} Warm {% elif %} Warm {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','increasing_discomfort') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','increasing_discomfort')
%} Warm {% elif %} Warm {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','extremely_warm') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','extremely_warm')
%} Hot {% elif %} Hot {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','danger_of_heatstroke') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','danger_of_heatstroke')
%} Hot {% elif %} Hot {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','extreme_danger_of_heatstroke') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','extreme_danger_of_heatstroke')
%} Danger {% elif %} Danger {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','circulatory_collapse_imminent') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','circulatory_collapse_imminent')
%} Danger {% else %} Unknown {% endif %} %} Danger {% else %} Unknown {% endif %}
secondary: Simmer secondary: Simmer
icon: tc:simmer-zone icon: tc:simmer-zone
icon_color: > icon_color: >
{% if {% if
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','cool') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','cool')
%} indigo {% elif %} indigo {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','slightly_cool') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','slightly_cool')
%} light-blue {% elif %} light-blue {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','comfortable') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','comfortable')
%} green {% elif %} green {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','slightly_warm') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','slightly_warm')
%} light-green {% elif %} light-green {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','increasing_discomfort') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','increasing_discomfort')
%} yellow {% elif %} yellow {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','extremely_warm') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','extremely_warm')
%} amber {% elif %} amber {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','danger_of_heatstroke') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','danger_of_heatstroke')
%} orange {% elif %} orange {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','extreme_danger_of_heatstroke') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','extreme_danger_of_heatstroke')
%} deep-orange {% elif %} deep-orange {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','circulatory_collapse_imminent') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','circulatory_collapse_imminent')
%} red {% else %} disabled {% endif %} %} red {% else %} disabled {% endif %}
tap_action: tap_action:
action: more-info action: more-info
- type: custom:mushroom-template-card - type: custom:mushroom-template-card
entity: sensor.nursery_thermal_comfort_summer_simmer_index entity: sensor.girls_room_thermal_comfort_summer_simmer_index
primary: >- primary: >-
{{states('sensor.nursery_thermal_comfort_summer_simmer_index') | {{states('sensor.girls_room_thermal_comfort_summer_simmer_index') |
round(2) }} °F round(2) }} °F
icon: tc:simmer-zone icon: tc:simmer-zone
icon_color: > icon_color: >
{% if {% if
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','cool') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','cool')
%} indigo {% elif %} indigo {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','slightly_cool') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','slightly_cool')
%} light-blue {% elif %} light-blue {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','comfortable') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','comfortable')
%} green {% elif %} green {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','slightly_warm') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','slightly_warm')
%} light-green {% elif %} light-green {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','increasing_discomfort') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','increasing_discomfort')
%} yellow {% elif %} yellow {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','extremely_warm') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','extremely_warm')
%} amber {% elif %} amber {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','danger_of_heatstroke') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','danger_of_heatstroke')
%} orange {% elif %} orange {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','extreme_danger_of_heatstroke') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','extreme_danger_of_heatstroke')
%} deep-orange {% elif %} deep-orange {% elif
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','circulatory_collapse_imminent') is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','circulatory_collapse_imminent')
%} red {% else %} disabled {% endif %} %} red {% else %} disabled {% endif %}
tap_action: tap_action:
action: more-info action: more-info
secondary: "" secondary: ""
- type: custom:mushroom-template-card - type: custom:mushroom-template-card
entity: sensor.nursery_thermal_comfort_dew_point_perception entity: sensor.girls_room_thermal_comfort_dew_point_perception
primary: > primary: >
{% if {% if
is_state('sensor.nursery_thermal_comfort_dew_point_perception','dry') is_state('sensor.girls_room_thermal_comfort_dew_point_perception','dry')
%} Dry {% elif %} Dry {% elif
is_state('sensor.nursery_thermal_comfort_dew_point_perception','very_comfortable') is_state('sensor.girls_room_thermal_comfort_dew_point_perception','very_comfortable')
%} Very Comfy {% elif %} Very Comfy {% elif
is_state('sensor.nursery_thermal_comfort_dew_point_perception','comfortable') is_state('sensor.girls_room_thermal_comfort_dew_point_perception','comfortable')
%} Comfortable {% elif %} Comfortable {% elif
is_state('sensor.nursery_thermal_comfort_dew_point_perception','ok_but_humid') is_state('sensor.girls_room_thermal_comfort_dew_point_perception','ok_but_humid')
%} Sticky {% elif %} Sticky {% elif
is_state('sensor.nursery_thermal_comfort_dew_point_perception','somewhat_uncomfortable') is_state('sensor.girls_room_thermal_comfort_dew_point_perception','somewhat_uncomfortable')
%} Humid {% elif %} Humid {% elif
is_state('sensor.nursery_thermal_comfort_dew_point_perception','quite_uncomfortable') is_state('sensor.girls_room_thermal_comfort_dew_point_perception','quite_uncomfortable')
%} Uncomfortable {% elif %} Uncomfortable {% elif
is_state('sensor.nursery_thermal_comfort_dew_point_perception','extremely_uncomfortable') is_state('sensor.girls_room_thermal_comfort_dew_point_perception','extremely_uncomfortable')
%} Oppressive {% elif %} Oppressive {% elif
is_state('sensor.nursery_thermal_comfort_dew_point_perception','severely_high') is_state('sensor.girls_room_thermal_comfort_dew_point_perception','severely_high')
%} Miserable {% else %} Unknown {% endif %} %} Miserable {% else %} Unknown {% endif %}
icon: tc:dew-point icon: tc:dew-point
icon_color: > icon_color: >
{% if {% if
is_state('sensor.nursery_thermal_comfort_dew_point_perception','dry') is_state('sensor.girls_room_thermal_comfort_dew_point_perception','dry')
%} blue-grey {% elif %} blue-grey {% elif
is_state('sensor.nursery_thermal_comfort_dew_point_perception','very_comfortable') is_state('sensor.girls_room_thermal_comfort_dew_point_perception','very_comfortable')
%} green {% elif %} green {% elif
is_state('sensor.nursery_thermal_comfort_dew_point_perception','comfortable') is_state('sensor.girls_room_thermal_comfort_dew_point_perception','comfortable')
%} light-green {% elif %} light-green {% elif
is_state('sensor.nursery_thermal_comfort_dew_point_perception','ok_but_humid') is_state('sensor.girls_room_thermal_comfort_dew_point_perception','ok_but_humid')
%} lime {% elif %} lime {% elif
is_state('sensor.nursery_thermal_comfort_dew_point_perception','somewhat_uncomfortable') is_state('sensor.girls_room_thermal_comfort_dew_point_perception','somewhat_uncomfortable')
%} yellow {% elif %} yellow {% elif
is_state('sensor.nursery_thermal_comfort_dew_point_perception','quite_uncomfortable') is_state('sensor.girls_room_thermal_comfort_dew_point_perception','quite_uncomfortable')
%} amber {% elif %} amber {% elif
is_state('sensor.nursery_thermal_comfort_dew_point_perception','extremely_uncomfortable') is_state('sensor.girls_room_thermal_comfort_dew_point_perception','extremely_uncomfortable')
%} deep-orange {% elif %} deep-orange {% elif
is_state('sensor.nursery_thermal_comfort_dew_point_perception','severely_high') is_state('sensor.girls_room_thermal_comfort_dew_point_perception','severely_high')
%} red {% else %} disabled {% endif %} %} red {% else %} disabled {% endif %}
tap_action: tap_action:
action: more-info action: more-info
secondary: Dew Point secondary: Dew Point
- type: custom:mushroom-template-card - type: custom:mushroom-template-card
entity: sensor.nursery_thermal_comfort_humidex_perception entity: sensor.girls_room_thermal_comfort_humidex_perception
primary: > primary: >
{% if {% if
is_state('sensor.nursery_thermal_comfort_humidex_perception','comfortable') is_state('sensor.girls_room_thermal_comfort_humidex_perception','comfortable')
%} Comfortable {% elif %} Comfortable {% elif
is_state('sensor.nursery_thermal_comfort_humidex_perception','noticable_discomfort') is_state('sensor.girls_room_thermal_comfort_humidex_perception','noticable_discomfort')
%} Uncomfortable {% elif %} Uncomfortable {% elif
is_state('sensor.nursery_thermal_comfort_humidex_perception','evident_discomfort') is_state('sensor.girls_room_thermal_comfort_humidex_perception','evident_discomfort')
%} Unbearable {% elif %} Unbearable {% elif
is_state('sensor.nursery_thermal_comfort_humidex_perception','great_discomfort') is_state('sensor.girls_room_thermal_comfort_humidex_perception','great_discomfort')
%} Oppressive {% elif %} Oppressive {% elif
is_state('sensor.nursery_thermal_comfort_humidex_perception','dangerous_discomfort') is_state('sensor.girls_room_thermal_comfort_humidex_perception','dangerous_discomfort')
%} Dangerous {% elif %} Dangerous {% elif
is_state('sensor.nursery_thermal_comfort_humidex_perception','heat_stroke') is_state('sensor.girls_room_thermal_comfort_humidex_perception','heat_stroke')
%} Hazardous {% else %} disabled {% endif %} %} Hazardous {% else %} disabled {% endif %}
secondary: Humidex secondary: Humidex
icon: tc:thermal-perception icon: tc:thermal-perception
icon_color: > icon_color: >
{% if {% if
is_state('sensor.nursery_thermal_comfort_humidex_perception','comfortable') is_state('sensor.girls_room_thermal_comfort_humidex_perception','comfortable')
%} green {% elif %} green {% elif
is_state('sensor.nursery_thermal_comfort_humidex_perception','noticable_discomfort') is_state('sensor.girls_room_thermal_comfort_humidex_perception','noticable_discomfort')
%} yellow {% elif %} yellow {% elif
is_state('sensor.nursery_thermal_comfort_humidex_perception','evident_discomfort') is_state('sensor.girls_room_thermal_comfort_humidex_perception','evident_discomfort')
%} amber {% elif %} amber {% elif
is_state('sensor.nursery_thermal_comfort_humidex_perception','great_discomfort') is_state('sensor.girls_room_thermal_comfort_humidex_perception','great_discomfort')
%} orange {% elif %} orange {% elif
is_state('sensor.nursery_thermal_comfort_humidex_perception','dangerous_discomfort') is_state('sensor.girls_room_thermal_comfort_humidex_perception','dangerous_discomfort')
%} deep-orange {% elif %} deep-orange {% elif
is_state('sensor.nursery_thermal_comfort_humidex_perception','heat_stroke') is_state('sensor.girls_room_thermal_comfort_humidex_perception','heat_stroke')
%} red {% else %} disabled {% endif %} %} red {% else %} disabled {% endif %}
tap_action: tap_action:
action: more-info action: more-info
@@ -1736,7 +1736,7 @@ sections:
name: Front Room name: Front Room
- entity: sensor.master_bedroom_multisensor_air_temperature - entity: sensor.master_bedroom_multisensor_air_temperature
name: Bedroom name: Bedroom
- entity: sensor.nursery_multisensor_air_temperature - entity: sensor.girls_room_multisensor_air_temperature
name: Nursery name: Nursery
- entity: sensor.kitchen_multisensor_air_temperature - entity: sensor.kitchen_multisensor_air_temperature
name: Kitchen name: Kitchen
+2 -2
View File
@@ -201,7 +201,7 @@ cards:
cards: cards:
- type: entity-filter - type: entity-filter
entities: entities:
- binary_sensor.nursery_person_occupancy - binary_sensor.girls_room_person_occupancy
show_empty: false show_empty: false
state_filter: state_filter:
- "on" - "on"
@@ -211,7 +211,7 @@ cards:
camera_view: auto camera_view: auto
entities: [] entities: []
image_entity: image.frigate_cam08_person image_entity: image.frigate_cam08_person
entity: binary_sensor.nursery_person_occupancy entity: binary_sensor.girls_room_person_occupancy
- type: entity-filter - type: entity-filter
entities: entities:
+2 -2
View File
@@ -14,7 +14,7 @@ cards:
position: sidebar position: sidebar
cards: cards:
- type: glance - type: glance
title: Nursery title: Girls Room
entities: [] entities: []
- type: glance - type: glance
show_state: false show_state: false
@@ -50,7 +50,7 @@ cards:
live_provider: ha live_provider: ha
frigate: frigate:
camera_name: frigate_cam08 camera_name: frigate_cam08
zone: nursery zone: girls_room
label: person label: person
url: http://192.168.1.11:5000 url: http://192.168.1.11:5000
view: view:
+1 -1
View File
@@ -39,7 +39,7 @@ cards:
hide_state: true hide_state: true
layout: vertical layout: vertical
- type: custom:mushroom-entity-card - type: custom:mushroom-entity-card
entity: input_select.nursery_mode entity: input_select.girls_room_mode
name: Mode name: Mode
layout: vertical layout: vertical
- type: horizontal-stack - type: horizontal-stack
+65 -65
View File
@@ -15,138 +15,138 @@ cards:
- hours_to_show: 24 - hours_to_show: 24
graph: line graph: line
type: sensor type: sensor
entity: sensor.nursery_multisensor_air_temperature entity: sensor.girls_room_multisensor_air_temperature
detail: 1 detail: 1
name: Temperature name: Temperature
- hours_to_show: 24 - hours_to_show: 24
graph: line graph: line
type: sensor type: sensor
detail: 1 detail: 1
entity: sensor.nursery_multisensor_humidity entity: sensor.girls_room_multisensor_humidity
name: Humidity name: Humidity
- type: horizontal-stack - type: horizontal-stack
cards: cards:
- type: custom:mushroom-template-card - type: custom:mushroom-template-card
entity: sensor.nursery_thermal_comfort_dew_point_perception entity: sensor.girls_room_thermal_comfort_dew_point_perception
layout: vertical layout: vertical
primary: Dew Point primary: Dew Point
secondary: > secondary: >
{% if is_state('sensor.nursery_thermal_comfort_dew_point_perception','dry') %} {% if is_state('sensor.girls_room_thermal_comfort_dew_point_perception','dry') %}
Dry Dry
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','very_comfortable') %} {% elif is_state('sensor.girls_room_thermal_comfort_dew_point_perception','very_comfortable') %}
Very Comfy Very Comfy
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','comfortable') %} {% elif is_state('sensor.girls_room_thermal_comfort_dew_point_perception','comfortable') %}
Comfy Comfy
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','ok_but_humid') %} {% elif is_state('sensor.girls_room_thermal_comfort_dew_point_perception','ok_but_humid') %}
Humid Humid
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','somewhat_uncomfortable') %} {% elif is_state('sensor.girls_room_thermal_comfort_dew_point_perception','somewhat_uncomfortable') %}
Somewhat Uncomfy Somewhat Uncomfy
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','quite_uncomfortable') %} {% elif is_state('sensor.girls_room_thermal_comfort_dew_point_perception','quite_uncomfortable') %}
Quite Uncomfy Quite Uncomfy
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','extremely_uncomfortable') %} {% elif is_state('sensor.girls_room_thermal_comfort_dew_point_perception','extremely_uncomfortable') %}
Extremely Uncomfy Extremely Uncomfy
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','severely_high') %} {% elif is_state('sensor.girls_room_thermal_comfort_dew_point_perception','severely_high') %}
Severely High Severely High
{% endif %} {% endif %}
icon: tc:dew-point icon: tc:dew-point
icon_color: > icon_color: >
{% if is_state('sensor.nursery_thermal_comfort_dew_point_perception','dry') %} {% if is_state('sensor.girls_room_thermal_comfort_dew_point_perception','dry') %}
gray gray
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','very_comfortable') %} {% elif is_state('sensor.girls_room_thermal_comfort_dew_point_perception','very_comfortable') %}
green green
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','comfortable') %} {% elif is_state('sensor.girls_room_thermal_comfort_dew_point_perception','comfortable') %}
green green
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','ok_but_humid') %} {% elif is_state('sensor.girls_room_thermal_comfort_dew_point_perception','ok_but_humid') %}
blue blue
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','somewhat_uncomfortable') %} {% elif is_state('sensor.girls_room_thermal_comfort_dew_point_perception','somewhat_uncomfortable') %}
yellow yellow
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','quite_uncomfortable') %} {% elif is_state('sensor.girls_room_thermal_comfort_dew_point_perception','quite_uncomfortable') %}
orange orange
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','extremely_uncomfortable') %} {% elif is_state('sensor.girls_room_thermal_comfort_dew_point_perception','extremely_uncomfortable') %}
orange orange
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','severely_high') %} {% elif is_state('sensor.girls_room_thermal_comfort_dew_point_perception','severely_high') %}
red red
{% endif %} {% endif %}
tap_action: tap_action:
action: more-info action: more-info
- type: custom:mushroom-template-card - type: custom:mushroom-template-card
entity: sensor.nursery_thermal_comfort_humidex_perception entity: sensor.girls_room_thermal_comfort_humidex_perception
layout: vertical layout: vertical
primary: Humidex primary: Humidex
secondary: > secondary: >
{% if is_state('sensor.nursery_thermal_comfort_humidex_perception','comfortable') %} {% if is_state('sensor.girls_room_thermal_comfort_humidex_perception','comfortable') %}
Comfy Comfy
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','noticable_discomfort') %} {% elif is_state('sensor.girls_room_thermal_comfort_humidex_perception','noticable_discomfort') %}
Noticable Discomfort Noticable Discomfort
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','evident_discomfort') %} {% elif is_state('sensor.girls_room_thermal_comfort_humidex_perception','evident_discomfort') %}
Evident Discomfort Evident Discomfort
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','great_discomfort') %} {% elif is_state('sensor.girls_room_thermal_comfort_humidex_perception','great_discomfort') %}
Great Discomfort Great Discomfort
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','dangerous_discomfort') %} {% elif is_state('sensor.girls_room_thermal_comfort_humidex_perception','dangerous_discomfort') %}
Dangerous Dangerous
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','heat_stroke') %} {% elif is_state('sensor.girls_room_thermal_comfort_humidex_perception','heat_stroke') %}
Heat Stroke Heat Stroke
{% endif %} {% endif %}
icon: tc:thermal-perception icon: tc:thermal-perception
icon_color: > icon_color: >
{% if is_state('sensor.nursery_thermal_comfort_humidex_perception','comfortable') %} {% if is_state('sensor.girls_room_thermal_comfort_humidex_perception','comfortable') %}
green green
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','noticable_discomfort') %} {% elif is_state('sensor.girls_room_thermal_comfort_humidex_perception','noticable_discomfort') %}
yellow yellow
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','evident_discomfort') %} {% elif is_state('sensor.girls_room_thermal_comfort_humidex_perception','evident_discomfort') %}
orange orange
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','great_discomfort') %} {% elif is_state('sensor.girls_room_thermal_comfort_humidex_perception','great_discomfort') %}
orange orange
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','dangerous_discomfort') %} {% elif is_state('sensor.girls_room_thermal_comfort_humidex_perception','dangerous_discomfort') %}
red red
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','heat_stroke') %} {% elif is_state('sensor.girls_room_thermal_comfort_humidex_perception','heat_stroke') %}
red red
{% endif %} {% endif %}
tap_action: tap_action:
action: more-info action: more-info
- type: custom:mushroom-template-card - type: custom:mushroom-template-card
entity: sensor.nursery_thermal_comfort_summer_simmer_perception entity: sensor.girls_room_thermal_comfort_summer_simmer_perception
layout: vertical layout: vertical
primary: Simmer Simmer primary: Simmer Simmer
secondary: > secondary: >
{% if is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','cool') %} {% if is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','cool') %}
Cool Cool
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','slightly_cool') %} {% elif is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','slightly_cool') %}
Cool Cool
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','comfortable') %} {% elif is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','comfortable') %}
Comfy Comfy
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','slightly_warm') %} {% elif is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','slightly_warm') %}
Warm Warm
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','increasing_discomfort') %} {% elif is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','increasing_discomfort') %}
Warm Warm
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','extremely_warm') %} {% elif is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','extremely_warm') %}
Hot Hot
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','danger_of_heatstroke') %} {% elif is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','danger_of_heatstroke') %}
Hot Hot
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','extreme_danger_of_heatstroke') %} {% elif is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','extreme_danger_of_heatstroke') %}
Danger Danger
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','circulatory_collapse_imminent') %} {% elif is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','circulatory_collapse_imminent') %}
Danger Danger
{% endif %} {% endif %}
icon: tc:simmer-zone icon: tc:simmer-zone
icon_color: > icon_color: >
{% if is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','cool') %} {% if is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','cool') %}
blue blue
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','slightly_cool') %} {% elif is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','slightly_cool') %}
blue blue
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','comfortable') %} {% elif is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','comfortable') %}
green green
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','slightly_warm') %} {% elif is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','slightly_warm') %}
yellow yellow
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','increasing_discomfort') %} {% elif is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','increasing_discomfort') %}
yellow yellow
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','extremely_warm') %} {% elif is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','extremely_warm') %}
orange orange
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','danger_of_heatstroke') %} {% elif is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','danger_of_heatstroke') %}
orange orange
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','extreme_danger_of_heatstroke') %} {% elif is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','extreme_danger_of_heatstroke') %}
red red
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','circulatory_collapse_imminent') %} {% elif is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','circulatory_collapse_imminent') %}
red red
{% endif %} {% endif %}
tap_action: tap_action:
@@ -155,7 +155,7 @@ cards:
cards: cards:
- type: custom:mushroom-entity-card - type: custom:mushroom-entity-card
layout: vertical layout: vertical
entity: binary_sensor.nursery_occupied entity: binary_sensor.girls_room_occupied
name: Nursery Occupied name: Nursery Occupied
- type: custom:mushroom-entity-card - type: custom:mushroom-entity-card
layout: vertical layout: vertical
@@ -170,7 +170,7 @@ cards:
- type: horizontal-stack - type: horizontal-stack
cards: cards:
- type: custom:mushroom-light-card - type: custom:mushroom-light-card
entity: light.nursery_hue entity: light.girls_room_hue
name: Main Light name: Main Light
tap_action: tap_action:
action: toggle action: toggle
@@ -179,7 +179,7 @@ cards:
layout: vertical layout: vertical
hide_state: false hide_state: false
- type: custom:mushroom-entity-card - type: custom:mushroom-entity-card
entity: input_select.nursery_mode entity: input_select.girls_room_mode
name: Mode name: Mode
layout: vertical layout: vertical
- type: horizontal-stack - type: horizontal-stack
@@ -223,7 +223,7 @@ cards:
- type: horizontal-stack - type: horizontal-stack
cards: cards:
- type: custom:mushroom-light-card - type: custom:mushroom-light-card
entity: light.nursery_closet entity: light.girls_room_closet
name: Closet name: Closet
icon: mdi:dome-light icon: mdi:dome-light
tap_action: tap_action:
@@ -242,14 +242,14 @@ cards:
cards: cards:
- type: custom:mushroom-entity-card - type: custom:mushroom-entity-card
layout: vertical layout: vertical
entity: sensor.nursery_multisensor_illuminance entity: sensor.girls_room_multisensor_illuminance
name: Nursery name: Nursery
- type: custom:mushroom-entity-card - type: custom:mushroom-entity-card
entity: input_number.nursery_light_level_trigger entity: input_number.girls_room_light_level_trigger
layout: vertical layout: vertical
name: Trigger name: Trigger
- type: custom:mushroom-entity-card - type: custom:mushroom-entity-card
entity: binary_sensor.nursery_naturally_lit entity: binary_sensor.girls_room_naturally_lit
name: Naturally Lit name: Naturally Lit
layout: vertical layout: vertical
@@ -259,7 +259,7 @@ cards:
- type: custom:mushroom-title-card - type: custom:mushroom-title-card
subtitle: Devices subtitle: Devices
- type: custom:mushroom-fan-card - type: custom:mushroom-fan-card
entity: fan.nursery entity: fan.girls_room_fan_light_switch_fan
name: Fan name: Fan
icon_animation: false icon_animation: false
tap_action: tap_action:
@@ -347,26 +347,26 @@ cards:
secondary_info: none secondary_info: none
layout: vertical layout: vertical
- type: custom:mushroom-entity-card - type: custom:mushroom-entity-card
entity: binary_sensor.nursery_person_occupancy entity: binary_sensor.girls_room_person_occupancy
name: Person name: Person
secondary_info: none secondary_info: none
layout: vertical layout: vertical
- type: horizontal-stack - type: horizontal-stack
cards: cards:
- type: custom:mushroom-entity-card - type: custom:mushroom-entity-card
entity: binary_sensor.nursery_door entity: binary_sensor.girls_room_door
name: Door name: Door
secondary_info: none secondary_info: none
layout: vertical layout: vertical
- type: custom:mushroom-entity-card - type: custom:mushroom-entity-card
entity: binary_sensor.nursery_closet_door_contact entity: binary_sensor.girls_room_closet_door_contact
name: Closet name: Closet
secondary_info: none secondary_info: none
layout: vertical layout: vertical
- type: horizontal-stack - type: horizontal-stack
cards: cards:
- type: custom:mushroom-entity-card - type: custom:mushroom-entity-card
entity: binary_sensor.nursery_window_contact entity: binary_sensor.girls_room_window_contact
name: Window name: Window
secondary_info: none secondary_info: none
layout: vertical layout: vertical
@@ -382,14 +382,14 @@ cards:
type: button type: button
tap_action: tap_action:
action: toggle action: toggle
entity: input_button.nursery_bedtime entity: input_button.girls_room_bedtime
name: Bedtime name: Bedtime
- show_name: true - show_name: true
show_icon: true show_icon: true
type: button type: button
tap_action: tap_action:
action: toggle action: toggle
entity: input_button.nursery_awake entity: input_button.girls_room_awake
name: Awake name: Awake
- type: vertical-stack - type: vertical-stack
+4 -4
View File
@@ -298,16 +298,16 @@ cards:
- type: custom:mushroom-template-card - type: custom:mushroom-template-card
primary: Girl's Room primary: Girl's Room
icon: mdi:teddy-bear icon: mdi:teddy-bear
entity: light.nursery_hue entity: light.girls_room_hue
tap_action: tap_action:
action: navigate action: navigate
navigation_path: girls-room navigation_path: girls-room
hold_action: hold_action:
action: toggle action: toggle
secondary: |- secondary: |-
{{states('sensor.nursery_multisensor_air_temperature')}}°F {{states('sensor.girls_room_multisensor_air_temperature')}}°F
{{states('sensor.nursery_multisensor_humidity')}}% {{states('sensor.girls_room_multisensor_humidity')}}%
icon_color: "{{iif(is_state('light.nursery_hue','on'),'yellow')}}" icon_color: "{{iif(is_state('light.girls_room_hue','on'),'yellow')}}"
multiline_secondary: true multiline_secondary: true
layout: vertical layout: vertical
- type: custom:mushroom-template-card - type: custom:mushroom-template-card

Some files were not shown because too many files have changed in this diff Show More