mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
nursery to girls room... finally
This commit is contained in:
@@ -47,17 +47,17 @@ This is how to actuall do it!
|
||||
```yaml
|
||||
- platform: 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
|
||||
|
||||
- platform: 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
|
||||
|
||||
- platform: 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
|
||||
```
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ action:
|
||||
entity_id: input_boolean.girls_room_asleep
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: binary_sensor.nursery_occupied
|
||||
entity_id: binary_sensor.girls_room_occupied
|
||||
state: "off"
|
||||
sequence:
|
||||
- action: input_boolean.turn_on
|
||||
|
||||
@@ -52,10 +52,10 @@ action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: template
|
||||
value_template: "{{states('switch.nursery_bed_lights') == 'off' }}"
|
||||
value_template: "{{states('switch.girls_room_bed_lights') == 'off' }}"
|
||||
sequence:
|
||||
- action: input_select.select_option
|
||||
target:
|
||||
entity_id: input_select.nursery_wled
|
||||
entity_id: input_select.girls_room_wled
|
||||
data:
|
||||
option: Read
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
alias: Continue Nursery Noise
|
||||
id: automation_continue_nursery_noise
|
||||
alias: Continue Girls Room Noise
|
||||
id: automation_continue_girls_room_noise
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: media_player.girls_room_hub
|
||||
@@ -27,13 +27,13 @@ condition:
|
||||
entity_id: input_boolean.ebin_home
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_select.nursery_mode
|
||||
entity_id: input_select.girls_room_mode
|
||||
state: "Night on"
|
||||
action:
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
entity_id: input_select.google_home
|
||||
option: "Nursery"
|
||||
option: "Girls Room"
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
entity_id: input_select.ambient_sound
|
||||
|
||||
@@ -115,36 +115,18 @@ action:
|
||||
|
||||
- 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:
|
||||
- conditions: "{{is_state('input_boolean.ebin_home','on')}}"
|
||||
sequence:
|
||||
- action: input_select.select_option
|
||||
target:
|
||||
entity_id: input_select.nursery_wled
|
||||
entity_id: input_select.girls_room_wled
|
||||
data:
|
||||
option: "Off"
|
||||
|
||||
- action: input_select.select_option
|
||||
target:
|
||||
entity_id: input_select.nursery_mode
|
||||
entity_id: input_select.girls_room_mode
|
||||
data:
|
||||
option: "Nightlight"
|
||||
|
||||
@@ -161,13 +143,13 @@ action:
|
||||
- action: input_button.press
|
||||
data: {}
|
||||
target:
|
||||
entity_id: input_button.nursery_bedtime
|
||||
entity_id: input_button.girls_room_bedtime
|
||||
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
option: Running Rainbow
|
||||
target:
|
||||
entity_id: input_select.nursery_wled
|
||||
entity_id: input_select.girls_room_wled
|
||||
|
||||
- choose:
|
||||
- conditions: "{{is_state('input_boolean.emmett_home','on')}}"
|
||||
|
||||
@@ -198,7 +198,7 @@ action:
|
||||
- condition: not
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.nursery_mode
|
||||
entity_id: input_select.girls_room_mode
|
||||
state: "Manual"
|
||||
- condition: state
|
||||
entity_id: input_select.house
|
||||
@@ -206,7 +206,7 @@ action:
|
||||
sequence:
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
entity_id: input_select.nursery_mode
|
||||
entity_id: input_select.girls_room_mode
|
||||
option: Auto
|
||||
|
||||
- choose:
|
||||
|
||||
@@ -27,9 +27,9 @@ condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.ebin_home
|
||||
state: "on"
|
||||
# - condition: state
|
||||
# entity_id: input_boolean.nursery_light_cycle
|
||||
# state: "off"
|
||||
- condition: state
|
||||
entity_id: input_boolean.boys_room_light_cycle
|
||||
state: "off"
|
||||
- condition: state
|
||||
entity_id: input_select.boys_room_mode
|
||||
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
|
||||
state: "on"
|
||||
|
||||
- alias: "Is Nursery Light Cycle turned off?"
|
||||
- alias: "Is Boys Room Light Cycle turned off?"
|
||||
condition: state
|
||||
entity_id: input_boolean.nursery_light_cycle
|
||||
entity_id: input_boolean.girls_room_light_cycle
|
||||
state: "off"
|
||||
|
||||
- alias: "Are the kids asleep?"
|
||||
|
||||
@@ -5,7 +5,7 @@ trigger:
|
||||
platform: event
|
||||
event_type: timer.finished
|
||||
event_data:
|
||||
entity_id: timer.nursery_camera_on_hub
|
||||
entity_id: timer.girls_room_camera_on_hub
|
||||
action:
|
||||
action: media_player.turn_off
|
||||
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:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: timer.nursery_camera_on_hub
|
||||
entity_id: timer.girls_room_camera_on_hub
|
||||
state: "idle"
|
||||
sequence:
|
||||
- action: media_player.volume_set
|
||||
@@ -50,10 +50,10 @@ action:
|
||||
target:
|
||||
entity_id: media_player.front_room_hub
|
||||
data:
|
||||
media_content_id: camera-casting-yml/nursery-camera
|
||||
media_content_id: camera-casting-yml/girls_room-camera
|
||||
media_content_type: lovelace
|
||||
metadata:
|
||||
title: Nursery Camera
|
||||
title: Girls Room Camera
|
||||
thumbnail: https://brands.home-assistant.io/_/lovelace/logo.png
|
||||
media_class: app
|
||||
children_media_class: null
|
||||
@@ -66,4 +66,4 @@ action:
|
||||
|
||||
- action: timer.start
|
||||
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
|
||||
id: automation_nursery_awake_button
|
||||
alias: Girls Room Awake Button
|
||||
id: automation_girls_room_awake_button
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_button.nursery_awake
|
||||
entity_id: input_button.girls_room_awake
|
||||
|
||||
condition: []
|
||||
|
||||
@@ -12,13 +12,13 @@ action:
|
||||
data:
|
||||
option: Auto
|
||||
target:
|
||||
entity_id: input_select.nursery_mode
|
||||
entity_id: input_select.girls_room_mode
|
||||
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
option: "Off"
|
||||
target:
|
||||
entity_id: input_select.nursery_wled
|
||||
entity_id: input_select.girls_room_wled
|
||||
|
||||
- action: switch.turn_off
|
||||
target:
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
alias: Nursery Bedtime Button
|
||||
id: automation_nursery_bedtime_button
|
||||
alias: Girls Room Bedtime Button
|
||||
id: automation_girls_room_bedtime_button
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_button.nursery_bedtime
|
||||
entity_id: input_button.girls_room_bedtime
|
||||
|
||||
condition: []
|
||||
|
||||
@@ -12,17 +12,17 @@ action:
|
||||
data:
|
||||
option: Nightlight
|
||||
target:
|
||||
entity_id: input_select.nursery_mode
|
||||
entity_id: input_select.girls_room_mode
|
||||
|
||||
# - action: input_select.select_option
|
||||
# data:
|
||||
# option: Running Rainbow
|
||||
# target:
|
||||
# entity_id: input_select.nursery_wled
|
||||
# entity_id: input_select.girls_room_wled
|
||||
|
||||
# - action: automation.trigger
|
||||
# target:
|
||||
# entity_id: automation.nursery_wled_changed
|
||||
# entity_id: automation.girls_room_wled_changed
|
||||
|
||||
#- condition:
|
||||
- alias: "Do not restart the music if it is already playing"
|
||||
|
||||
@@ -1,29 +1,29 @@
|
||||
alias: Nursery Dimmer LEDs
|
||||
id: automation_nursery_dimmer_leds
|
||||
alias: Girls Room Dimmer LEDs
|
||||
id: automation_girls_room_dimmer_leds
|
||||
mode: single
|
||||
# Hide warnings when triggered while in delay.
|
||||
max_exceeded: silent
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
attribute: brightness
|
||||
|
||||
- platform: state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
|
||||
- platform: homeassistant
|
||||
event: start
|
||||
|
||||
# condition:
|
||||
# - "{{ is_state('sensor.nursery_dimmer_node_status','alive') }}"
|
||||
# - "{{ is_state('sensor.girls_room_dimmer_node_status','alive') }}"
|
||||
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- alias: "Light off"
|
||||
condition: state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
state: "off"
|
||||
sequence:
|
||||
- action: zwave_js.set_config_parameter
|
||||
@@ -42,7 +42,7 @@ action:
|
||||
- conditions:
|
||||
- alias: "Light brightness below 78"
|
||||
condition: numeric_state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
attribute: brightness
|
||||
below: 78
|
||||
sequence:
|
||||
@@ -62,7 +62,7 @@ action:
|
||||
- conditions:
|
||||
- alias: "Light brightness below 104"
|
||||
condition: numeric_state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
attribute: brightness
|
||||
below: 104
|
||||
sequence:
|
||||
@@ -82,7 +82,7 @@ action:
|
||||
- conditions:
|
||||
- alias: "Light brightness below 130"
|
||||
condition: numeric_state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
attribute: brightness
|
||||
below: 130
|
||||
sequence:
|
||||
@@ -102,7 +102,7 @@ action:
|
||||
- conditions:
|
||||
- alias: "Light brightness below 156"
|
||||
condition: numeric_state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
attribute: brightness
|
||||
below: 156
|
||||
sequence:
|
||||
@@ -122,7 +122,7 @@ action:
|
||||
- conditions:
|
||||
- alias: "Light brightness below 182"
|
||||
condition: numeric_state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
attribute: brightness
|
||||
below: 182
|
||||
sequence:
|
||||
@@ -142,7 +142,7 @@ action:
|
||||
- conditions:
|
||||
- alias: "Light brightness below 208"
|
||||
condition: numeric_state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
attribute: brightness
|
||||
below: 208
|
||||
sequence:
|
||||
@@ -162,7 +162,7 @@ action:
|
||||
- conditions:
|
||||
- alias: "Light brightness below 234"
|
||||
condition: numeric_state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
attribute: brightness
|
||||
below: 234
|
||||
sequence:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
alias: Nursery Into Bed
|
||||
id: automation_nursery_into_bed
|
||||
alias: Girls Room Into Bed
|
||||
id: automation_girls_room_into_bed
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
@@ -27,13 +27,13 @@ condition:
|
||||
entity_id: input_boolean.ebin_home
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: input_boolean.nursery_light_cycle
|
||||
entity_id: input_boolean.girls_room_light_cycle
|
||||
state: "off"
|
||||
- condition: state
|
||||
entity_id: input_select.nursery_mode
|
||||
entity_id: input_select.girls_room_mode
|
||||
state: "Nightlight"
|
||||
- condition: state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
state: "on"
|
||||
|
||||
action:
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
alias: Nursery Light Cycle
|
||||
id: automation_nursery_light_cycle
|
||||
alias: Girls Room Light Cycle
|
||||
id: e5174fca-7170-4348-87dc-a27d4a2bdb9c
|
||||
trigger:
|
||||
- id: light_cycle_on
|
||||
platform: state
|
||||
entity_id: input_boolean.nursery_light_cycle
|
||||
entity_id: input_boolean.girls_room_light_cycle
|
||||
from: "off"
|
||||
to: "on"
|
||||
|
||||
- id: setting_change
|
||||
platform: state
|
||||
entity_id:
|
||||
- input_number.nursery_light_cycle_transition
|
||||
- input_select.nursery_color_set
|
||||
- input_boolean.nursery_cycle_same
|
||||
- input_number.girls_room_light_cycle_transition
|
||||
- input_select.girls_room_color_set
|
||||
- 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:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.nursery_light_cycle
|
||||
entity_id: input_boolean.girls_room_light_cycle
|
||||
state: "on"
|
||||
sequence:
|
||||
- repeat:
|
||||
@@ -28,141 +28,141 @@ action:
|
||||
- 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.nursery_cycle_same
|
||||
entity_id: input_boolean.girls_room_cycle_same
|
||||
state: "on"
|
||||
sequence:
|
||||
- action: light.turn_on
|
||||
target:
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
data:
|
||||
brightness: '{{ states("input_number.nursery_light_cycle_brightness") | int }}'
|
||||
transition: '{{ states("input_number.nursery_light_cycle_transition") | int }}'
|
||||
brightness: '{{ states("input_number.girls_room_light_cycle_brightness") | int }}'
|
||||
transition: '{{ states("input_number.girls_room_light_cycle_transition") | int }}'
|
||||
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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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.nursery_cycle_same
|
||||
entity_id: input_boolean.girls_room_cycle_same
|
||||
state: "off"
|
||||
sequence:
|
||||
- action: light.turn_on
|
||||
target:
|
||||
entity_id: light.nursery_color_1
|
||||
entity_id: light.girls_room_color_1
|
||||
data:
|
||||
brightness: '{{ states("input_number.nursery_light_cycle_brightness") | int }}'
|
||||
transition: '{{ states("input_number.nursery_light_cycle_transition") | int }}'
|
||||
brightness: '{{ states("input_number.girls_room_light_cycle_brightness") | int }}'
|
||||
transition: '{{ states("input_number.girls_room_light_cycle_transition") | int }}'
|
||||
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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% endif %}
|
||||
{{ colors|random }}
|
||||
|
||||
- action: light.turn_on
|
||||
target:
|
||||
entity_id: light.nursery_color_2
|
||||
entity_id: light.girls_room_color_2
|
||||
data:
|
||||
brightness: '{{ states("input_number.nursery_light_cycle_brightness") | int }}'
|
||||
transition: '{{ states("input_number.nursery_light_cycle_transition") | int }}'
|
||||
brightness: '{{ states("input_number.girls_room_light_cycle_brightness") | int }}'
|
||||
transition: '{{ states("input_number.girls_room_light_cycle_transition") | int }}'
|
||||
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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% 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'] %}
|
||||
{% endif %}
|
||||
{{ colors|random }}
|
||||
|
||||
- delay:
|
||||
seconds: '{{ states("input_number.nursery_light_cycle_transition") | int }}'
|
||||
seconds: '{{ states("input_number.girls_room_light_cycle_transition") | int }}'
|
||||
|
||||
until:
|
||||
- condition: state
|
||||
entity_id: input_boolean.nursery_light_cycle
|
||||
entity_id: input_boolean.girls_room_light_cycle
|
||||
state: "off"
|
||||
|
||||
- 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
|
||||
id: automation_nursery_lights_to_off
|
||||
alias: Girls Room Lights to Off
|
||||
id: e4926a27-2022-4d48-875e-f368e6472749
|
||||
mode: restart
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_select.nursery_mode
|
||||
entity_id: input_select.girls_room_mode
|
||||
|
||||
- platform: state
|
||||
entity_id: input_boolean.nursery_occupied
|
||||
entity_id: input_boolean.girls_room_occupied
|
||||
to: "off"
|
||||
|
||||
- platform: state
|
||||
id: light_level
|
||||
entity_id: binary_sensor.nursery_naturally_lit
|
||||
entity_id: binary_sensor.girls_room_naturally_lit
|
||||
from: "off"
|
||||
to: "on"
|
||||
|
||||
@@ -21,21 +21,21 @@ trigger:
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
state: "on"
|
||||
|
||||
- alias: "Nursery light cycle not on"
|
||||
- alias: "Girls Room light cycle not on"
|
||||
condition: state
|
||||
entity_id: input_boolean.nursery_light_cycle
|
||||
entity_id: input_boolean.girls_room_light_cycle
|
||||
state: "off"
|
||||
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.nursery_mode
|
||||
entity_id: input_select.girls_room_mode
|
||||
state: "Off"
|
||||
- condition: state
|
||||
entity_id: input_boolean.nursery_occupied
|
||||
entity_id: input_boolean.girls_room_occupied
|
||||
state: "off"
|
||||
|
||||
action:
|
||||
@@ -47,22 +47,22 @@ action:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.nursery_mode
|
||||
entity_id: input_select.girls_room_mode
|
||||
state: "Off"
|
||||
- condition: state
|
||||
entity_id: input_boolean.nursery_occupied
|
||||
entity_id: input_boolean.girls_room_occupied
|
||||
state: "off"
|
||||
- condition: not
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.nursery_mode
|
||||
entity_id: input_select.girls_room_mode
|
||||
state: "Manual"
|
||||
sequence:
|
||||
- action: scene.turn_on
|
||||
data:
|
||||
transition: 5
|
||||
target:
|
||||
entity_id: scene.nursery_hue_off
|
||||
entity_id: scene.girls_room_hue_off
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
@@ -72,4 +72,4 @@ action:
|
||||
- alias: "Turn off z-wave switch since all lights are off"
|
||||
action: homeassistant.turn_off
|
||||
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
|
||||
id: automation_nursery_lights_to_on
|
||||
alias: Girls Room Lights to On
|
||||
id: automation_girls_room_lights_to_on
|
||||
mode: single
|
||||
# Hide warnings when triggered while in delay.
|
||||
max_exceeded: silent
|
||||
@@ -8,20 +8,20 @@ trigger:
|
||||
- platform: state
|
||||
id: mode_change
|
||||
entity_id:
|
||||
- input_select.nursery_mode
|
||||
- input_select.girls_room_mode
|
||||
- input_select.automatic_light_profile
|
||||
|
||||
- platform: state
|
||||
id: light_level
|
||||
entity_id: binary_sensor.nursery_naturally_lit
|
||||
entity_id: binary_sensor.girls_room_naturally_lit
|
||||
from: "on"
|
||||
to: "off"
|
||||
|
||||
- platform: state
|
||||
id: occupied
|
||||
entity_id:
|
||||
- input_boolean.nursery_occupied
|
||||
- binary_sensor.nursery_occupied
|
||||
- input_boolean.girls_room_occupied
|
||||
- binary_sensor.girls_room_occupied
|
||||
to: "on"
|
||||
|
||||
condition:
|
||||
@@ -30,9 +30,9 @@ condition:
|
||||
entity_id: input_boolean.home_occupied
|
||||
state: "on"
|
||||
|
||||
- alias: "Nursery light cycle not on"
|
||||
- alias: "Girls Room light cycle not on"
|
||||
condition: state
|
||||
entity_id: input_boolean.nursery_light_cycle
|
||||
entity_id: input_boolean.girls_room_light_cycle
|
||||
state: "off"
|
||||
|
||||
- alias: "Check if light should turn on"
|
||||
@@ -48,7 +48,7 @@ condition:
|
||||
conditions:
|
||||
- alias: "Light level below trigger amount"
|
||||
condition: state
|
||||
entity_id: binary_sensor.nursery_naturally_lit
|
||||
entity_id: binary_sensor.girls_room_naturally_lit
|
||||
state: "off"
|
||||
|
||||
- alias: "Motion or occupancy were detected"
|
||||
@@ -66,13 +66,13 @@ condition:
|
||||
- condition: trigger
|
||||
id: "mode_change"
|
||||
- condition: state
|
||||
entity_id: input_boolean.nursery_occupied
|
||||
entity_id: input_boolean.girls_room_occupied
|
||||
state: "on"
|
||||
|
||||
variables:
|
||||
switch_name: light.nursery_dimmer_light
|
||||
light_name: nursery_hue
|
||||
mode_name: input_select.nursery_mode
|
||||
switch_name: girls_room_fan_light_switch_light
|
||||
light_name: girls_room_hue
|
||||
mode_name: input_select.girls_room_mode
|
||||
automatic_profile: input_select.automatic_light_profile
|
||||
action:
|
||||
- alias: "Make sure Z-Wave switch is turned on"
|
||||
@@ -84,22 +84,22 @@ action:
|
||||
conditions:
|
||||
- alias: "Room set to manual"
|
||||
condition: state
|
||||
entity_id: input_select.nursery_mode
|
||||
entity_id: input_select.girls_room_mode
|
||||
state: Manual
|
||||
sequence:
|
||||
- action: light.turn_on
|
||||
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"
|
||||
conditions:
|
||||
- alias: "Room set to auto"
|
||||
condition: state
|
||||
entity_id: input_select.nursery_mode
|
||||
entity_id: input_select.girls_room_mode
|
||||
state: Auto
|
||||
- alias: "Lights are on"
|
||||
condition: state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
state: "on"
|
||||
- alias: "Automatic light profile set to Nightlight"
|
||||
condition: state
|
||||
@@ -116,11 +116,11 @@ action:
|
||||
conditions:
|
||||
- alias: "Room set to auto"
|
||||
condition: state
|
||||
entity_id: input_select.nursery_mode
|
||||
entity_id: input_select.girls_room_mode
|
||||
state: Auto
|
||||
- alias: "Lights are on"
|
||||
condition: state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
state: "on"
|
||||
sequence:
|
||||
- action: scene.turn_on
|
||||
@@ -133,26 +133,26 @@ action:
|
||||
conditions:
|
||||
- alias: "Room set to auto"
|
||||
condition: state
|
||||
entity_id: input_select.nursery_mode
|
||||
entity_id: input_select.girls_room_mode
|
||||
state: Auto
|
||||
- alias: "Lights are off"
|
||||
condition: state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
state: "off"
|
||||
sequence:
|
||||
- action: scene.turn_on
|
||||
target:
|
||||
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:
|
||||
- alias: "Room not manual or auto and lights are on"
|
||||
condition: state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
state: "on"
|
||||
- alias: "Room set to Nightlight"
|
||||
condition: state
|
||||
entity_id: input_select.nursery_mode
|
||||
entity_id: input_select.girls_room_mode
|
||||
state: Nightlight
|
||||
sequence:
|
||||
- action: scene.turn_on
|
||||
@@ -161,11 +161,11 @@ action:
|
||||
target:
|
||||
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:
|
||||
- alias: "Room not manual or auto and lights are on"
|
||||
condition: state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
state: "on"
|
||||
sequence:
|
||||
- action: scene.turn_on
|
||||
@@ -174,11 +174,11 @@ action:
|
||||
target:
|
||||
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:
|
||||
- alias: "Room not manual or auto and lights are off"
|
||||
condition: state
|
||||
entity_id: light.nursery_hue
|
||||
entity_id: light.girls_room_hue
|
||||
state: "off"
|
||||
sequence:
|
||||
- action: scene.turn_on
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
alias: "Nursery Not Occupied"
|
||||
id: automation_nursery_not_occupied
|
||||
alias: "Girls Room Not Occupied"
|
||||
id: automation_girls_room_not_occupied
|
||||
mode: restart
|
||||
|
||||
trigger:
|
||||
@@ -11,7 +11,7 @@ trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- input_boolean.home_occupied
|
||||
- binary_sensor.nursery_occupied
|
||||
- binary_sensor.girls_room_occupied
|
||||
to: "off"
|
||||
for: "00:05:00"
|
||||
|
||||
@@ -31,7 +31,7 @@ condition:
|
||||
- "unavailable"
|
||||
|
||||
- condition: state
|
||||
entity_id: input_boolean.nursery_occupied
|
||||
entity_id: input_boolean.girls_room_occupied
|
||||
state: "on"
|
||||
|
||||
- condition: or
|
||||
@@ -42,12 +42,12 @@ condition:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.nursery_person_occupancy
|
||||
entity_id: binary_sensor.girls_room_person_occupancy
|
||||
state: "off"
|
||||
for:
|
||||
minutes: 5
|
||||
- condition: state
|
||||
entity_id: binary_sensor.nursery_occupied
|
||||
entity_id: binary_sensor.girls_room_occupied
|
||||
state: "off"
|
||||
for:
|
||||
minutes: 5
|
||||
@@ -60,7 +60,7 @@ action:
|
||||
state: "off"
|
||||
sequence:
|
||||
- action: homeassistant.turn_off
|
||||
entity_id: input_boolean.nursery_occupied
|
||||
entity_id: input_boolean.girls_room_occupied
|
||||
- conditions:
|
||||
- condition: not
|
||||
conditions:
|
||||
@@ -69,4 +69,4 @@ action:
|
||||
state: "Manual"
|
||||
sequence:
|
||||
- action: homeassistant.turn_off
|
||||
entity_id: input_boolean.nursery_occupied
|
||||
entity_id: input_boolean.girls_room_occupied
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
alias: Nursery Occupied
|
||||
id: automation_nursery_occupied
|
||||
alias: Girls Room Occupied
|
||||
id: automation_girls_room_occupied
|
||||
mode: restart
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.nursery_occupied
|
||||
- binary_sensor.girls_room_occupied
|
||||
to: "on"
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_boolean.nursery_occupied
|
||||
entity_id: input_boolean.girls_room_occupied
|
||||
state: "off"
|
||||
|
||||
action:
|
||||
- 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
|
||||
id: automation_nursery_out_of_bed
|
||||
alias: Girls Room Out of Bed
|
||||
id: automation_girls_room_out_of_bed
|
||||
mode: single
|
||||
# Hide warnings when triggered while in delay.
|
||||
max_exceeded: silent
|
||||
@@ -16,7 +16,7 @@ trigger:
|
||||
to: "off"
|
||||
for: "00:00:05"
|
||||
- trigger: state
|
||||
entity_id: binary_sensor.nursery_door
|
||||
entity_id: binary_sensor.girls_room_door
|
||||
from: "off"
|
||||
to: "on"
|
||||
|
||||
@@ -65,9 +65,9 @@ condition:
|
||||
entity_id: binary_sensor.early_morning
|
||||
state: "on"
|
||||
|
||||
- alias: "Is Nursery Light Cycle turned off?"
|
||||
- alias: "Is Girls Room Light Cycle turned off?"
|
||||
condition: state
|
||||
entity_id: input_boolean.nursery_light_cycle
|
||||
entity_id: input_boolean.girls_room_light_cycle
|
||||
state: "off"
|
||||
|
||||
- alias: "Are the kids asleep?"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
alias: Nursery White Noise Off
|
||||
id: automation_nursery_white_noise_off
|
||||
alias: Girls Room White Noise Off
|
||||
id: automation_girls_room_white_noise_off
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
alias: Nursery White Noise On
|
||||
id: automation_nursery_white_noise_on
|
||||
alias: Girls Room White Noise On
|
||||
id: automation_girls_room_white_noise_on
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
|
||||
@@ -52,6 +52,6 @@ action:
|
||||
|
||||
# - action: input_select.select_option
|
||||
# target:
|
||||
# entity_id: input_select.nursery_mode
|
||||
# entity_id: input_select.girls_room_mode
|
||||
# data:
|
||||
# option: "Nightlight"
|
||||
|
||||
@@ -21,7 +21,7 @@ action:
|
||||
sequence:
|
||||
- action: fan.turn_off
|
||||
target:
|
||||
entity_id: fan.master_bedroom
|
||||
entity_id: fan.master_bedroom_fan_light_switch_fan
|
||||
|
||||
- alias: "Humidity too high via manual run"
|
||||
conditions:
|
||||
@@ -31,7 +31,7 @@ action:
|
||||
sequence:
|
||||
- action: fan.turn_off
|
||||
target:
|
||||
entity_id: fan.master_bedroom
|
||||
entity_id: fan.master_bedroom_fan_light_switch_fan
|
||||
|
||||
- alias: "Humidity too low via trigger"
|
||||
conditions:
|
||||
@@ -42,7 +42,7 @@ action:
|
||||
data:
|
||||
percentage: 33
|
||||
target:
|
||||
entity_id: fan.master_bedroom
|
||||
entity_id: fan.master_bedroom_fan_light_switch_fan
|
||||
|
||||
- alias: "Humidity too low via manual run"
|
||||
conditions:
|
||||
@@ -54,4 +54,4 @@ action:
|
||||
data:
|
||||
percentage: 33
|
||||
target:
|
||||
entity_id: fan.master_bedroom
|
||||
entity_id: fan.master_bedroom_fan_light_switch_fan
|
||||
|
||||
@@ -14,8 +14,8 @@ trigger:
|
||||
- platform: state
|
||||
id: light_level
|
||||
entity_id: binary_sensor.master_bedroom_naturally_lit
|
||||
from: 'on'
|
||||
to: 'off'
|
||||
from: "on"
|
||||
to: "off"
|
||||
|
||||
- platform: state
|
||||
entity_id: input_boolean.master_bedroom_occupied
|
||||
@@ -45,7 +45,6 @@ condition:
|
||||
- alias: "Check if light should turn on"
|
||||
condition: or
|
||||
conditions:
|
||||
|
||||
- alias: "Guest mode is on"
|
||||
condition: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
@@ -57,7 +56,7 @@ condition:
|
||||
- alias: "Light level below trigger amount"
|
||||
condition: state
|
||||
entity_id: binary_sensor.master_bedroom_naturally_lit
|
||||
state: 'off'
|
||||
state: "off"
|
||||
|
||||
- alias: "Motion or occupancy were detected"
|
||||
condition: or
|
||||
@@ -78,7 +77,7 @@ condition:
|
||||
state: "on"
|
||||
|
||||
variables:
|
||||
switch_name: light.master_bedroom_dimmer_light
|
||||
switch_name: light.master_bedroom_fan_light_switch_light
|
||||
light_name: master_bedroom_hue
|
||||
mode_name: input_select.master_bedroom_mode
|
||||
automatic_profile: input_select.automatic_light_profile
|
||||
@@ -109,7 +108,7 @@ action:
|
||||
- alias: "Lights are on"
|
||||
condition: state
|
||||
entity_id: light.master_bedroom_hue
|
||||
state: 'on'
|
||||
state: "on"
|
||||
- alias: "Automatic light profile set to Nightlight"
|
||||
condition: state
|
||||
entity_id: input_select.automatic_light_profile
|
||||
@@ -130,7 +129,7 @@ action:
|
||||
- alias: "Lights are on"
|
||||
condition: state
|
||||
entity_id: light.master_bedroom_hue
|
||||
state: 'on'
|
||||
state: "on"
|
||||
sequence:
|
||||
- action: scene.turn_on
|
||||
data:
|
||||
@@ -147,7 +146,7 @@ action:
|
||||
- alias: "Lights are off"
|
||||
condition: state
|
||||
entity_id: light.master_bedroom_hue
|
||||
state: 'off'
|
||||
state: "off"
|
||||
sequence:
|
||||
- action: scene.turn_on
|
||||
target:
|
||||
@@ -158,7 +157,7 @@ action:
|
||||
- alias: "Room not manual or auto and lights are on"
|
||||
condition: state
|
||||
entity_id: light.master_bedroom_hue
|
||||
state: 'on'
|
||||
state: "on"
|
||||
- alias: "Room set to Nightlight"
|
||||
condition: state
|
||||
entity_id: input_select.master_bedroom_mode
|
||||
@@ -175,7 +174,7 @@ action:
|
||||
- alias: "Room not manual or auto and lights are on"
|
||||
condition: state
|
||||
entity_id: light.master_bedroom_hue
|
||||
state: 'on'
|
||||
state: "on"
|
||||
sequence:
|
||||
- action: scene.turn_on
|
||||
data:
|
||||
@@ -188,7 +187,7 @@ action:
|
||||
- alias: "Room not manual or auto and lights are off"
|
||||
condition: state
|
||||
entity_id: light.master_bedroom_hue
|
||||
state: 'off'
|
||||
state: "off"
|
||||
sequence:
|
||||
- action: scene.turn_on
|
||||
target:
|
||||
|
||||
@@ -9,26 +9,26 @@ triggers:
|
||||
id: start
|
||||
|
||||
- trigger: numeric_state
|
||||
entity_id: sensor.nursery_multisensor_air_temperature
|
||||
id: nursery_off
|
||||
below: input_number.nursery_fan_low_temp
|
||||
entity_id: sensor.girls_room_multisensor_air_temperature
|
||||
id: girls_room_off
|
||||
below: input_number.girls_room_fan_low_temp
|
||||
|
||||
- trigger: numeric_state
|
||||
entity_id: sensor.nursery_multisensor_air_temperature
|
||||
id: nursery_low
|
||||
above: input_number.nursery_fan_low_temp
|
||||
below: input_number.nursery_fan_medium_temp
|
||||
entity_id: sensor.girls_room_multisensor_air_temperature
|
||||
id: girls_room_low
|
||||
above: input_number.girls_room_fan_low_temp
|
||||
below: input_number.girls_room_fan_medium_temp
|
||||
|
||||
- trigger: numeric_state
|
||||
entity_id: sensor.nursery_multisensor_air_temperature
|
||||
id: nursery_mid
|
||||
above: input_number.nursery_fan_medium_temp
|
||||
below: input_number.nursery_fan_high_temp
|
||||
entity_id: sensor.girls_room_multisensor_air_temperature
|
||||
id: girls_room_mid
|
||||
above: input_number.girls_room_fan_medium_temp
|
||||
below: input_number.girls_room_fan_high_temp
|
||||
|
||||
- trigger: numeric_state
|
||||
entity_id: sensor.nursery_multisensor_air_temperature
|
||||
id: nursery_high
|
||||
above: input_number.nursery_fan_high_temp
|
||||
entity_id: sensor.girls_room_multisensor_air_temperature
|
||||
id: girls_room_high
|
||||
above: input_number.girls_room_fan_high_temp
|
||||
|
||||
- trigger: numeric_state
|
||||
entity_id: sensor.master_bedroom_multisensor_air_temperature
|
||||
@@ -53,7 +53,7 @@ triggers:
|
||||
id: mbr_high
|
||||
|
||||
- trigger: state
|
||||
entity_id: input_boolean.nursery_occupied
|
||||
entity_id: input_boolean.girls_room_occupied
|
||||
|
||||
- trigger: state
|
||||
entity_id: input_boolean.master_bedroom_occupied
|
||||
@@ -74,7 +74,7 @@ condition:
|
||||
action:
|
||||
- alias: "Calculate fan speeds"
|
||||
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) }}"
|
||||
|
||||
# - action: logbook.log
|
||||
@@ -83,115 +83,115 @@ action:
|
||||
# entity_id: automation.automatic_fan_speeds
|
||||
# message: >
|
||||
# Outdoor Air Temp: {{states('sensor.front_yard_thermostat_temperature') | float(default=0)}}
|
||||
# Nursery Air Temp: {{states('sensor.nursery_multisensor_air_temperature') | float(default=0)}}
|
||||
# Nursery Min Temp: {{states('input_number.nursery_fan_min_temp') | float(default=0)}}
|
||||
# Nursery High Temp: {{states('input_number.nursery_fan_high_temp') | float(default=0)}}
|
||||
# Nursery Calculated: {{ nursery_fan_speed }}
|
||||
# Girls Room Air Temp: {{states('sensor.girls_room_multisensor_air_temperature') | float(default=0)}}
|
||||
# Girls Room Min Temp: {{states('input_number.girls_room_fan_min_temp') | float(default=0)}}
|
||||
# Girls Room High Temp: {{states('input_number.girls_room_fan_high_temp') | float(default=0)}}
|
||||
# Girls Room Calculated: {{ girls_room_fan_speed }}
|
||||
# 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 High Temp: {{states('input_number.master_bedroom_fan_high_temp') | float(default=0)}}
|
||||
# Master Bedroom Calculated: {{ master_bedroom_fan_speed }}
|
||||
|
||||
- alias: "Set Nursery fan speed"
|
||||
- alias: "Set Girls Room fan speed"
|
||||
choose:
|
||||
- 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
|
||||
entity_id: sensor.nursery_multisensor_air_temperature
|
||||
below: input_number.nursery_fan_min_temp
|
||||
- alias: "Nursery fan on"
|
||||
entity_id: sensor.girls_room_multisensor_air_temperature
|
||||
below: input_number.girls_room_fan_min_temp
|
||||
- alias: "Girls Room fan on"
|
||||
condition: state
|
||||
entity_id: fan.nursery
|
||||
entity_id: fan.girls_room_fan_light_switch_fan
|
||||
state: "on"
|
||||
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
|
||||
target:
|
||||
entity_id: fan.nursery
|
||||
entity_id: fan.girls_room_fan_light_switch_fan
|
||||
- conditions:
|
||||
- alias: "Nusery not occupied and window is closed"
|
||||
condition: state
|
||||
entity_id: input_boolean.nursery_occupied
|
||||
entity_id: input_boolean.girls_room_occupied
|
||||
state: "off"
|
||||
- alias: "Nusery not asleep"
|
||||
condition: state
|
||||
entity_id: input_boolean.girls_room_asleep
|
||||
state: "off"
|
||||
- alias: "Nursery fan on"
|
||||
- alias: "Girls Room fan on"
|
||||
condition: state
|
||||
entity_id: fan.nursery
|
||||
entity_id: fan.girls_room_fan_light_switch_fan
|
||||
state: "on"
|
||||
- alias: "Nursery window is closed"
|
||||
- alias: "Girls Room window is closed"
|
||||
condition: state
|
||||
entity_id: binary_sensor.nursery_window_contact
|
||||
entity_id: binary_sensor.girls_room_window_contact
|
||||
state: "off"
|
||||
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
|
||||
target:
|
||||
entity_id: fan.nursery
|
||||
entity_id: fan.girls_room_fan_light_switch_fan
|
||||
- conditions:
|
||||
- alias: "Nursery below low"
|
||||
- alias: "Girls Room below low"
|
||||
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
|
||||
entity_id: fan.nursery
|
||||
entity_id: fan.girls_room_fan_light_switch_fan
|
||||
state: "on"
|
||||
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
|
||||
target:
|
||||
entity_id: fan.nursery
|
||||
entity_id: fan.girls_room_fan_light_switch_fan
|
||||
- conditions:
|
||||
- alias: "Nursery is occupied"
|
||||
- alias: "Girls Room is occupied"
|
||||
condition: state
|
||||
entity_id: input_boolean.nursery_occupied
|
||||
entity_id: input_boolean.girls_room_occupied
|
||||
state: "on"
|
||||
- alias: "Nusery above high"
|
||||
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:
|
||||
- alias: "Turn nursery fan on to percentage speed"
|
||||
- alias: "Turn girls_room fan on to percentage speed"
|
||||
action: fan.set_percentage
|
||||
target:
|
||||
entity_id: fan.nursery
|
||||
entity_id: fan.girls_room_fan_light_switch_fan
|
||||
data:
|
||||
percentage: 100
|
||||
|
||||
- conditions:
|
||||
- alias: "Nursery is occupied"
|
||||
- alias: "Girls Room is occupied"
|
||||
condition: state
|
||||
entity_id: input_boolean.nursery_occupied
|
||||
entity_id: input_boolean.girls_room_occupied
|
||||
state: "on"
|
||||
- alias: "Nusery above medium"
|
||||
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:
|
||||
- alias: "Turn nursery fan on to percentage speed"
|
||||
- alias: "Turn girls_room fan on to percentage speed"
|
||||
action: fan.set_percentage
|
||||
target:
|
||||
entity_id: fan.nursery
|
||||
entity_id: fan.girls_room_fan_light_switch_fan
|
||||
data:
|
||||
percentage: 66
|
||||
|
||||
- conditions:
|
||||
- alias: "Nursery is occupied"
|
||||
- alias: "Girls Room is occupied"
|
||||
condition: state
|
||||
entity_id: input_boolean.nursery_occupied
|
||||
entity_id: input_boolean.girls_room_occupied
|
||||
state: "on"
|
||||
- alias: "Nusery above low"
|
||||
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:
|
||||
- alias: "Turn nursery fan on to percentage speed"
|
||||
- alias: "Turn girls_room fan on to percentage speed"
|
||||
action: fan.set_percentage
|
||||
target:
|
||||
entity_id: fan.nursery
|
||||
entity_id: fan.girls_room_fan_light_switch_fan
|
||||
data:
|
||||
percentage: 33
|
||||
|
||||
@@ -206,7 +206,7 @@ action:
|
||||
- alias: "Turn master bedroom fan off because it is too cold outside"
|
||||
action: fan.turn_off
|
||||
target:
|
||||
entity_id: fan.master_bedroom
|
||||
entity_id: fan.master_bedroom_fan_light_switch_fan
|
||||
- conditions:
|
||||
- alias: "Master Bedroom not occupied"
|
||||
condition: state
|
||||
@@ -218,7 +218,7 @@ action:
|
||||
state: "off"
|
||||
- alias: "Master Bedroom fan on"
|
||||
condition: state
|
||||
entity_id: fan.master_bedroom
|
||||
entity_id: fan.master_bedroom_fan_light_switch_fan
|
||||
state: "on"
|
||||
- alias: "Master bedroom window is closed"
|
||||
condition: state
|
||||
@@ -228,7 +228,7 @@ action:
|
||||
- alias: "Turn master bedroom fan off because room isn't occupied"
|
||||
action: fan.turn_off
|
||||
target:
|
||||
entity_id: fan.master_bedroom
|
||||
entity_id: fan.master_bedroom_fan_light_switch_fan
|
||||
|
||||
- conditions:
|
||||
- alias: "Master Bedroom below low"
|
||||
@@ -237,13 +237,13 @@ action:
|
||||
|
||||
- alias: "Master Bedroom fan on"
|
||||
condition: state
|
||||
entity_id: fan.master_bedroom
|
||||
entity_id: fan.master_bedroom_fan_light_switch_fan
|
||||
state: "on"
|
||||
sequence:
|
||||
- alias: "Turn master bedroom fan off because the room is too cool"
|
||||
action: fan.turn_off
|
||||
target:
|
||||
entity_id: fan.master_bedroom
|
||||
entity_id: fan.master_bedroom_fan_light_switch_fan
|
||||
|
||||
- conditions:
|
||||
- alias: "Master Bedroom is occupied"
|
||||
@@ -258,7 +258,7 @@ action:
|
||||
- alias: "Turn master bedroom fan on to percentage speed"
|
||||
action: fan.set_percentage
|
||||
target:
|
||||
entity_id: fan.master_bedroom
|
||||
entity_id: fan.master_bedroom_fan_light_switch_fan
|
||||
data:
|
||||
percentage: 100
|
||||
|
||||
@@ -275,7 +275,7 @@ action:
|
||||
- alias: "Turn master bedroom fan on to percentage speed"
|
||||
action: fan.set_percentage
|
||||
target:
|
||||
entity_id: fan.master_bedroom
|
||||
entity_id: fan.master_bedroom_fan_light_switch_fan
|
||||
data:
|
||||
percentage: 66
|
||||
|
||||
@@ -292,6 +292,6 @@ action:
|
||||
- alias: "Turn master bedroom fan on to percentage speed"
|
||||
action: fan.set_percentage
|
||||
target:
|
||||
entity_id: fan.master_bedroom
|
||||
entity_id: fan.master_bedroom_fan_light_switch_fan
|
||||
data:
|
||||
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
|
||||
+4
-4
@@ -1,12 +1,12 @@
|
||||
id: nursery_wled_changed
|
||||
alias: Nursery WLED Changed
|
||||
id: girls_room_wled_changed
|
||||
alias: Girls Room WLED Changed
|
||||
mode: single
|
||||
# Hide warnings when triggered while in delay.
|
||||
max_exceeded: silent
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_select.nursery_wled
|
||||
entity_id: input_select.girls_room_wled
|
||||
|
||||
action:
|
||||
#- alias: "Clear segment first"
|
||||
@@ -17,7 +17,7 @@ action:
|
||||
- alias: "Update wled presets for both beds"
|
||||
action: select.select_option
|
||||
data:
|
||||
option: "{{states('input_select.nursery_wled')}}"
|
||||
option: "{{states('input_select.girls_room_wled')}}"
|
||||
target:
|
||||
entity_id:
|
||||
- select.black_bed_wled_preset
|
||||
@@ -19,7 +19,7 @@ variables:
|
||||
3ce88b51335de032397b61e9003efe7b: mancave_motion_switch
|
||||
bee0ff46ae368c83ebd408ea7196f226: master_bathroom_motion_switch
|
||||
69bfa35651cd293ad221f32d3f836669: master_bedroom_closet_motion_switch
|
||||
ab40de79ce13e074ce0a820c47db717c: nursery_closet_motion_switch
|
||||
ab40de79ce13e074ce0a820c47db717c: girls_room_closet_motion_switch
|
||||
8291a2e240629c547b08733faaf53e90: shower_switch
|
||||
c0d80ce8eab4bdebce5343ce4a748f34: storage_room_switch
|
||||
8d77dcb0ee41302d5de67b4c333f5099: utility_room_motion_switch
|
||||
|
||||
@@ -13,7 +13,7 @@ variables:
|
||||
tags:
|
||||
# Lights: Reading
|
||||
04-AE-91-3A-B4-6D-80:
|
||||
input_select: nursery_wled
|
||||
input_select: girls_room_wled
|
||||
select_option: Read
|
||||
light_command: "No change"
|
||||
#preset: 6
|
||||
@@ -21,7 +21,7 @@ variables:
|
||||
|
||||
# Lights: Bedtime
|
||||
04-8F-50-3A-B4-6D-80:
|
||||
input_select: nursery_wled
|
||||
input_select: girls_room_wled
|
||||
select_option: Bedtime
|
||||
light_command: "No change"
|
||||
#preset: 3
|
||||
@@ -61,7 +61,7 @@ variables:
|
||||
|
||||
# Lights: Twinkle
|
||||
04-7C-B8-3A-B4-6D-80:
|
||||
input_select: nursery_wled
|
||||
input_select: girls_room_wled
|
||||
select_option: Twinkle
|
||||
light_command: "No change"
|
||||
#preset: 2
|
||||
@@ -69,7 +69,7 @@ variables:
|
||||
|
||||
# Lights:Dim
|
||||
04-98-2F-3A-B4-6D-80:
|
||||
input_select: nursery_wled
|
||||
input_select: girls_room_wled
|
||||
select_option: "Off"
|
||||
light_command: "Dimmed"
|
||||
#preset: -2
|
||||
@@ -77,7 +77,7 @@ variables:
|
||||
|
||||
# Lights: Normal
|
||||
04-0C-22-3A-B4-6D-81:
|
||||
input_select: nursery_wled
|
||||
input_select: girls_room_wled
|
||||
select_option: "Off"
|
||||
light_command: "Auto"
|
||||
#preset: -1
|
||||
@@ -85,7 +85,7 @@ variables:
|
||||
|
||||
# Lights: Off
|
||||
04-6D-46-3A-B4-6D-81:
|
||||
input_select: nursery_wled
|
||||
input_select: girls_room_wled
|
||||
select_option: "Off"
|
||||
light_command: "Off"
|
||||
#preset: 0
|
||||
@@ -120,16 +120,16 @@ action:
|
||||
sequence:
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
entity_id: input_select.nursery_mode
|
||||
entity_id: input_select.girls_room_mode
|
||||
option: "{{ light_command }}"
|
||||
|
||||
- conditions:
|
||||
- condition: template
|
||||
value_template: "{{ input_select | string == 'nursery_wled'}}"
|
||||
value_template: "{{ input_select | string == 'girls_room_wled'}}"
|
||||
sequence:
|
||||
- action: input_select.select_option
|
||||
data:
|
||||
entity_id: input_select.nursery_wled
|
||||
entity_id: input_select.girls_room_wled
|
||||
option: "{{ select_option }}"
|
||||
|
||||
- conditions:
|
||||
|
||||
@@ -6,12 +6,12 @@ max_exceeded: silent
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: light.master_bedroom_dimmer_main
|
||||
entity_id: light.master_bedroom_fan_light_switch_main
|
||||
|
||||
condition:
|
||||
- alias: "Master Bedroom Dimmer Less Than 255"
|
||||
condition: numeric_state
|
||||
entity_id: light.master_bedroom_dimmer_main
|
||||
entity_id: light.master_bedroom_fan_light_switch_main
|
||||
attribute: brightness
|
||||
below: 255
|
||||
|
||||
@@ -19,6 +19,6 @@ action:
|
||||
- alias: "Set Master Bedroom Dimmer to 255"
|
||||
action: light.turn_on
|
||||
target:
|
||||
entity_id: light.master_bedroom_dimmer_main
|
||||
entity_id: light.master_bedroom_fan_light_switch_main
|
||||
data:
|
||||
brightness: 255
|
||||
|
||||
@@ -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
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
platform: bayesian
|
||||
unique_id: bayesianbinarysensor.nursery_occupied
|
||||
name: Nursery Occupied
|
||||
unique_id: 608783dd-0d18-4e9b-a7f9-3f35eee41fc4
|
||||
name: Girls Room Occupied
|
||||
device_class: occupancy
|
||||
prior: 0.25
|
||||
probability_threshold: 0.90
|
||||
@@ -11,7 +11,7 @@ observations:
|
||||
prob_given_true: .33
|
||||
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_false: 0.0
|
||||
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
-1
@@ -1,2 +1,2 @@
|
||||
name: Nursery Lights
|
||||
name: Girls Room Lights
|
||||
icon: mdi:lightbulb-multiple
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
name: Nursery
|
||||
name: Girls Room
|
||||
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
|
||||
@@ -1,23 +1,23 @@
|
||||
nursery_bedtime:
|
||||
name: Nursery Bedtime
|
||||
icon: mdi:teddy-bear
|
||||
# girls_room_bedtime:
|
||||
# name: Girls Room Bedtime
|
||||
# icon: mdi:teddy-bear
|
||||
|
||||
nursery_awake:
|
||||
name: Nursery Awake
|
||||
icon: mdi:teddy-bear
|
||||
# girls_room_awake:
|
||||
# name: Girls Room Awake
|
||||
# icon: mdi:teddy-bear
|
||||
|
||||
master_bedroom_bedtime:
|
||||
name: Master Bedroom Bedtime
|
||||
icon: mdi:bed-king
|
||||
# master_bedroom_bedtime:
|
||||
# name: Master Bedroom Bedtime
|
||||
# icon: mdi:bed-king
|
||||
|
||||
master_bedroom_awake:
|
||||
name: Master Bedroom Awake
|
||||
icon: mdi:bed-king
|
||||
# master_bedroom_awake:
|
||||
# name: Master Bedroom Awake
|
||||
# icon: mdi:bed-king
|
||||
|
||||
boys_room_bedtime:
|
||||
name: Boys Room Bedtime
|
||||
icon: mdi:bed
|
||||
# boys_room_bedtime:
|
||||
# name: Boys Room Bedtime
|
||||
# icon: mdi:bed
|
||||
|
||||
boys_room_awake:
|
||||
name: Boys Room Awake
|
||||
icon: mdi:bed
|
||||
# boys_room_awake:
|
||||
# name: Boys Room Awake
|
||||
# icon: mdi:bed
|
||||
|
||||
@@ -68,8 +68,8 @@ master_bedroom_occupied:
|
||||
has_date: true
|
||||
has_time: true
|
||||
|
||||
nursery_occupied:
|
||||
name: Nursery Occupied
|
||||
girls_room_occupied:
|
||||
name: Girls Room Occupied
|
||||
has_date: true
|
||||
has_time: true
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
name: Nursery Light Cycle Brightness
|
||||
name: Boys Room Light Cycle Brightness
|
||||
icon: mdi:brightness-auto
|
||||
min: 1
|
||||
max: 254
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
name: Nursery Light Cycle Transition
|
||||
name: Boys Room Light Cycle Transition
|
||||
icon: mdi:clock
|
||||
min: 1
|
||||
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
|
||||
options:
|
||||
- Nursery
|
||||
- Girls Room
|
||||
- Kitchen
|
||||
- Front Room
|
||||
- Computer Area
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
name: Nursery Color Set
|
||||
name: Girls Room Color Set
|
||||
options:
|
||||
- Basic
|
||||
#'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
-1
@@ -1,4 +1,4 @@
|
||||
name: Nursery Light Off Delay
|
||||
name: Girls Room Light Off Delay
|
||||
options:
|
||||
- 'Normal'
|
||||
- 'Long'
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
name: Nursery Mode
|
||||
name: Girls Room Mode
|
||||
options:
|
||||
- 'Auto'
|
||||
- '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
|
||||
type: min
|
||||
entity_ids:
|
||||
- sensor.nursery_window_battery
|
||||
- sensor.girls_room_window_battery
|
||||
- sensor.computer_area_window_battery
|
||||
- sensor.entryway_window_battery
|
||||
- sensor.front_room_window_battery
|
||||
@@ -36,7 +36,7 @@ sensor:
|
||||
- sensor.master_bedroom_closet_door_battery
|
||||
- sensor.master_bedroom_door_battery
|
||||
- sensor.master_suite_door_battery
|
||||
- sensor.nursery_closet_door_battery
|
||||
- sensor.girls_room_closet_door_battery
|
||||
- sensor.patio_door_battery
|
||||
- sensor.storage_room_door_battery
|
||||
- sensor.pantry_door_battery
|
||||
|
||||
@@ -7,7 +7,7 @@ sensor:
|
||||
- sensor.front_room_motion_sensor_battery_level
|
||||
- sensor.kitchen_motion_sensor_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.great_room_multisensor_battery_level
|
||||
- sensor.garage_multisensor_battery_level
|
||||
|
||||
@@ -30,7 +30,7 @@ script:
|
||||
# entity_id: >
|
||||
# {% if is_state('input_select.cast_to_screen_dropdown', 'Front Room Display') %}
|
||||
# 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
|
||||
# {% elif is_state('input_select.cast_to_screen_dropdown', 'Computer Area Hub') %}
|
||||
# media_player.computer_area_hub
|
||||
@@ -47,7 +47,7 @@ script:
|
||||
# media-source://camera/camera.frigate_cam04
|
||||
# {% elif is_state('input_select.camera_dropdown', 'Master Bedroom') %}
|
||||
# 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
|
||||
# {% elif is_state('input_select.camera_dropdown', 'Back Yard') %}
|
||||
# media-source://camera/camera.frigate_cam14
|
||||
@@ -75,7 +75,7 @@ script:
|
||||
# entity_id: >
|
||||
# {% if is_state('input_select.cast_to_screen_dropdown', 'Front Room Display') %}
|
||||
# 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
|
||||
# {% elif is_state('input_select.cast_to_screen_dropdown', 'Computer Area Hub') %}
|
||||
# media_player.computer_area_hub
|
||||
@@ -91,7 +91,7 @@ script:
|
||||
# rtsp://192.168.1.11:8554/cam04_sub_opus
|
||||
# {% elif is_state('input_select.camera_dropdown', 'Master Bedroom') %}
|
||||
# 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
|
||||
# {% elif is_state('input_select.camera_dropdown', 'Back Yard') %}
|
||||
# rtsp://192.168.1.11:8554/cam14_sub_opus
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
input_number:
|
||||
# These numbers control what speed the ceiling fans should default to.
|
||||
# If a room is occupied, and it is relatively warm, the fan should come on
|
||||
# These numbers help ensure that when the fan turns on, it creates a noticible difference
|
||||
# These numbers control what speed the ceiling fans should default to.
|
||||
# If a room is occupied, and it is relatively warm, the fan should come on
|
||||
# These numbers help ensure that when the fan turns on, it creates a noticible difference
|
||||
master_bedroom_fan_min_temp:
|
||||
name: Master Bedroom Fan Min Temp
|
||||
min: 60
|
||||
@@ -27,25 +27,25 @@ input_number:
|
||||
step: 1
|
||||
mode: slider
|
||||
|
||||
nursery_fan_min_temp:
|
||||
girls_room_fan_min_temp:
|
||||
name: Nursery Fan Min Temp
|
||||
min: 60
|
||||
max: 80
|
||||
step: 1
|
||||
mode: slider
|
||||
nursery_fan_low_temp:
|
||||
girls_room_fan_low_temp:
|
||||
name: Nursery Fan Low Temp
|
||||
min: 60
|
||||
max: 80
|
||||
step: 1
|
||||
mode: slider
|
||||
nursery_fan_medium_temp:
|
||||
girls_room_fan_medium_temp:
|
||||
name: Nursery Fan Medium Temp
|
||||
min: 60
|
||||
max: 80
|
||||
step: 1
|
||||
mode: slider
|
||||
nursery_fan_high_temp:
|
||||
girls_room_fan_high_temp:
|
||||
name: Nursery Fan High Temp
|
||||
min: 60
|
||||
max: 80
|
||||
|
||||
@@ -183,7 +183,7 @@ google_assistant:
|
||||
- Front Room
|
||||
room: Front Room
|
||||
|
||||
fan.master_bedroom:
|
||||
fan.master_bedroom_fan_light_switch_fan:
|
||||
name: Master Bedroom Fan
|
||||
room: Master Bedroom
|
||||
expose: true
|
||||
@@ -191,7 +191,7 @@ google_assistant:
|
||||
- Fan
|
||||
- Ceiling Fan
|
||||
|
||||
fan.nursery:
|
||||
fan.girls_room_fan_light_switch_fan:
|
||||
name: Nursery Fan
|
||||
room: Nursery
|
||||
expose: true
|
||||
@@ -224,14 +224,14 @@ google_assistant:
|
||||
room: Furnace Room
|
||||
expose: true
|
||||
|
||||
input_button.nursery_bedtime:
|
||||
input_button.girls_room_bedtime:
|
||||
name: Kids Bedtime
|
||||
room: Nursery
|
||||
expose: true
|
||||
aliases:
|
||||
- Nursery Bedtime
|
||||
|
||||
input_button.nursery_awake:
|
||||
input_button.girls_room_awake:
|
||||
name: Kids Awake
|
||||
room: Nursery
|
||||
expose: true
|
||||
|
||||
@@ -4,7 +4,7 @@ sensor:
|
||||
type: max
|
||||
entity_ids:
|
||||
- sensor.master_bedroom_multisensor_air_temperature
|
||||
- sensor.nursery_multisensor_air_temperature
|
||||
- sensor.girls_room_multisensor_air_temperature
|
||||
- sensor.thermostat_temperature
|
||||
- sensor.bar_temperature
|
||||
- sensor.front_room_thermostat_temperature
|
||||
@@ -15,7 +15,7 @@ sensor:
|
||||
type: min
|
||||
entity_ids:
|
||||
- sensor.master_bedroom_multisensor_air_temperature
|
||||
- sensor.nursery_multisensor_air_temperature
|
||||
- sensor.girls_room_multisensor_air_temperature
|
||||
- sensor.thermostat_temperature
|
||||
- sensor.bar_temperature
|
||||
- sensor.front_room_thermostat_temperature
|
||||
@@ -26,7 +26,7 @@ sensor:
|
||||
# type: mean
|
||||
# entity_ids:
|
||||
# - sensor.master_bedroom_multisensor_air_temperature
|
||||
# - sensor.nursery_multisensor_air_temperature
|
||||
# - sensor.girls_room_multisensor_air_temperature
|
||||
# - sensor.thermostat_temperature
|
||||
# - sensor.bar_temperature
|
||||
# - sensor.front_room_thermostat_temperature
|
||||
@@ -37,7 +37,7 @@ sensor:
|
||||
type: max
|
||||
entity_ids:
|
||||
- sensor.master_bedroom_multisensor_humidity
|
||||
- sensor.nursery_multisensor_humidity
|
||||
- sensor.girls_room_multisensor_humidity
|
||||
- sensor.front_room_thermostat_humidity
|
||||
- sensor.kitchen_multisensor_humidity
|
||||
- sensor.thermostat_humidity
|
||||
@@ -47,7 +47,7 @@ sensor:
|
||||
type: min
|
||||
entity_ids:
|
||||
- sensor.master_bedroom_multisensor_humidity
|
||||
- sensor.nursery_multisensor_humidity
|
||||
- sensor.girls_room_multisensor_humidity
|
||||
- sensor.front_room_thermostat_humidity
|
||||
- sensor.kitchen_multisensor_humidity
|
||||
- sensor.thermostat_humidity
|
||||
@@ -57,7 +57,7 @@ sensor:
|
||||
type: mean
|
||||
entity_ids:
|
||||
- sensor.master_bedroom_multisensor_humidity
|
||||
- sensor.nursery_multisensor_humidity
|
||||
- sensor.girls_room_multisensor_humidity
|
||||
- sensor.front_room_thermostat_humidity
|
||||
- sensor.kitchen_multisensor_humidity
|
||||
- sensor.thermostat_humidity
|
||||
|
||||
@@ -328,27 +328,27 @@ template:
|
||||
|
||||
- platform: state
|
||||
entity_id:
|
||||
- input_number.nursery_light_level_trigger
|
||||
- sensor.nursery_multisensor_illuminance
|
||||
- input_number.girls_room_light_level_trigger
|
||||
- sensor.girls_room_multisensor_illuminance
|
||||
|
||||
binary_sensor:
|
||||
- name: "Nursery Naturally Lit"
|
||||
unique_id: templatebinarysensor_nurserynaturallylit
|
||||
- name: "Girls Room Naturally Lit"
|
||||
unique_id: templatebinarysensor_girls_roomnaturallylit
|
||||
delay_on:
|
||||
seconds: 3
|
||||
delay_off:
|
||||
seconds: 3
|
||||
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: >
|
||||
{% 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
|
||||
{% else %}
|
||||
mdi:weather-sunny-off
|
||||
{% endif %}
|
||||
attributes:
|
||||
illuminance: "{{ states('sensor.nursery_multisensor_illuminance') | float(default=0) }}"
|
||||
trigger: "{{ states('input_number.nursery_light_level_trigger') | float(default=0) }}"
|
||||
illuminance: "{{ states('sensor.girls_room_multisensor_illuminance') | float(default=0) }}"
|
||||
trigger: "{{ states('input_number.girls_room_light_level_trigger') | float(default=0) }}"
|
||||
|
||||
input_number:
|
||||
boys_room_light_level_trigger:
|
||||
@@ -428,7 +428,7 @@ input_number:
|
||||
max: 50000
|
||||
mode: box
|
||||
|
||||
nursery_light_level_trigger:
|
||||
girls_room_light_level_trigger:
|
||||
name: Nursery Light Level Trigger
|
||||
icon: mdi:brightness-auto
|
||||
min: 0
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
template:
|
||||
- binary_sensor:
|
||||
- binary_sensor:
|
||||
- unique_id: templatebinarysensor.pixel_7_connected_to_traverse
|
||||
default_entity_id: binary_sensor.pixel_7_connected_to_traverse
|
||||
icon: mdi:cellphone-key
|
||||
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
|
||||
default_entity_id: binary_sensor.humidity_too_low
|
||||
@@ -568,17 +568,17 @@ template:
|
||||
delay_on:
|
||||
seconds: 30
|
||||
|
||||
- unique_id: templatebinarysensor.nursery_light_left_on
|
||||
default_entity_id: binary_sensor.nursery_light_left_on
|
||||
name: Nursery Light Left On
|
||||
state: "{{ is_state('light.nursery_hue','on') and is_state('input_boolean.nursery_occupied','off') }}"
|
||||
- unique_id: templatebinarysensor.girls_room_light_left_on
|
||||
default_entity_id: binary_sensor.girls_room_light_left_on
|
||||
name: Girls Room Light Left On
|
||||
state: "{{ is_state('light.girls_room_hue','on') and is_state('input_boolean.girls_room_occupied','off') }}"
|
||||
delay_on:
|
||||
seconds: 30
|
||||
|
||||
- unique_id: templatebinarysensor.utility_room_light_left_on
|
||||
default_entity_id: binary_sensor.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:
|
||||
seconds: 30
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
template:
|
||||
- sensor:
|
||||
- sensor:
|
||||
# - unique_id: templatesensor.hvac_mode
|
||||
# default_entity_id: sensor.hvac_mode
|
||||
# name: HVAC Mode
|
||||
@@ -17,42 +17,42 @@ template:
|
||||
|
||||
- unique_id: templatesensor.clint_status
|
||||
default_entity_id: sensor.clint_status
|
||||
state: '{{ states.input_select.clint_status_dropdown.state }}'
|
||||
name: 'Clint'
|
||||
state: "{{ states.input_select.clint_status_dropdown.state }}"
|
||||
name: "Clint"
|
||||
|
||||
- unique_id: templatesensor.emmett_status
|
||||
default_entity_id: sensor.emmett_status
|
||||
state: '{{ states.input_select.emmett_status_dropdown.state }}'
|
||||
name: 'Emmett'
|
||||
state: "{{ states.input_select.emmett_status_dropdown.state }}"
|
||||
name: "Emmett"
|
||||
|
||||
- unique_id: templatesensor.bridget_status
|
||||
default_entity_id: sensor.bridget_status
|
||||
state: '{{ states.input_select.bridget_status_dropdown.state }}'
|
||||
name: 'Bridget'
|
||||
state: "{{ states.input_select.bridget_status_dropdown.state }}"
|
||||
name: "Bridget"
|
||||
|
||||
- unique_id: templatesensor.kristy_status
|
||||
default_entity_id: sensor.kristy_status
|
||||
state: '{{ states.input_select.kristy_status_dropdown.state }}'
|
||||
name: 'Kristy'
|
||||
state: "{{ states.input_select.kristy_status_dropdown.state }}"
|
||||
name: "Kristy"
|
||||
|
||||
- unique_id: templatesensor.marshall_status
|
||||
default_entity_id: sensor.marshall_status
|
||||
state: '{{ states.input_select.marshall_status_dropdown.state }}'
|
||||
name: 'Marshall'
|
||||
state: "{{ states.input_select.marshall_status_dropdown.state }}"
|
||||
name: "Marshall"
|
||||
|
||||
- unique_id: templatesensor.tess_status
|
||||
default_entity_id: sensor.tess_status
|
||||
state: '{{ states.input_select.tess_status_dropdown.state }}'
|
||||
name: 'Tess'
|
||||
state: "{{ states.input_select.tess_status_dropdown.state }}"
|
||||
name: "Tess"
|
||||
|
||||
- unique_id: templatesensor.ebin_status
|
||||
default_entity_id: sensor.ebin_status
|
||||
state: '{{ states.input_select.ebin_status_dropdown.state }}'
|
||||
name: 'Ebin'
|
||||
state: "{{ states.input_select.ebin_status_dropdown.state }}"
|
||||
name: "Ebin"
|
||||
|
||||
- unique_id: templatesensor.people_count
|
||||
default_entity_id: sensor.people_count
|
||||
name: 'People Count'
|
||||
name: "People Count"
|
||||
state: >
|
||||
{{[ states.input_boolean.clint_home,
|
||||
states.input_boolean.emmett_home,
|
||||
@@ -123,28 +123,28 @@ template:
|
||||
|
||||
- unique_id: templatesensor.non_summer_per_kwh
|
||||
default_entity_id: sensor.nonsummer_per_kwh
|
||||
name: 'Non-Summer Rate'
|
||||
name: "Non-Summer Rate"
|
||||
state: 0.100496
|
||||
icon: mdi:currency-usd
|
||||
unit_of_measurement: '$/kWh'
|
||||
unit_of_measurement: "$/kWh"
|
||||
|
||||
- unique_id: templatesensor.summer_nonpeak_per_kwh
|
||||
default_entity_id: sensor.summernonpeak_per_kwh
|
||||
name: 'Summer Non-Peak Rate'
|
||||
name: "Summer Non-Peak Rate"
|
||||
state: 0.100649
|
||||
icon: mdi:currency-usd
|
||||
unit_of_measurement: '$/kWh'
|
||||
unit_of_measurement: "$/kWh"
|
||||
|
||||
- unique_id: templatesensor.summerpeak_per_kwh
|
||||
default_entity_id: sensor.summerpeak_per_kwh
|
||||
name: 'Summer Peak Rate'
|
||||
name: "Summer Peak Rate"
|
||||
state: 0.149656
|
||||
icon: mdi:currency-usd
|
||||
unit_of_measurement: '$/kWh'
|
||||
unit_of_measurement: "$/kWh"
|
||||
|
||||
- unique_id: templatesensor.energy_cost
|
||||
default_entity_id: sensor.energy_cost
|
||||
name: 'Energy Cost'
|
||||
name: "Energy Cost"
|
||||
state: >-
|
||||
{% if now().month > 9 or now().month < 6 -%}
|
||||
0.100496
|
||||
@@ -156,11 +156,11 @@ template:
|
||||
{%- endif -%}
|
||||
{% endif %}
|
||||
icon: mdi:currency-usd
|
||||
unit_of_measurement: '$/kWh'
|
||||
unit_of_measurement: "$/kWh"
|
||||
|
||||
- unique_id: templatesensor.energy_tariff
|
||||
default_entity_id: sensor.energy_tariff
|
||||
name: 'Energy Tariff'
|
||||
name: "Energy Tariff"
|
||||
state: >-
|
||||
{% if now().month > 9 or now().month < 6 -%}
|
||||
Non-Summer
|
||||
@@ -174,7 +174,7 @@ template:
|
||||
|
||||
- unique_id: templatesensor.general_waste
|
||||
default_entity_id: sensor.general_waste
|
||||
name: 'General Waste'
|
||||
name: "General Waste"
|
||||
icon: mdi:trash-can
|
||||
state: >-
|
||||
{% if is_state('calendar.trash_schedule','on') %}
|
||||
@@ -185,7 +185,7 @@ template:
|
||||
future
|
||||
{% endif %}
|
||||
|
||||
#my_room_status
|
||||
#my_room_status
|
||||
- unique_id: temlatesensor.occupied_room_count
|
||||
default_entity_id: sensor.occupied_room_count
|
||||
name: Rooms Occupied
|
||||
@@ -231,7 +231,7 @@ template:
|
||||
states('sensor.great_room_person_count')|int(default=0) +
|
||||
states('sensor.kitchen_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.walkway_person_count')|int(default=0) +
|
||||
states('sensor.workshop_person_count')|int(default=0)
|
||||
|
||||
@@ -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
|
||||
@@ -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_weekly
|
||||
# - select.microwave_plug_monthly
|
||||
# - select.nursery_dining_kitchen_lights_hourly
|
||||
# - select.nursery_dining_kitchen_lights_daily
|
||||
# - select.nursery_dining_kitchen_lights_weekly
|
||||
# - select.nursery_dining_kitchen_lights_monthly
|
||||
# - select.girls_room_dining_kitchen_lights_hourly
|
||||
# - select.girls_room_dining_kitchen_lights_daily
|
||||
# - select.girls_room_dining_kitchen_lights_weekly
|
||||
# - select.girls_room_dining_kitchen_lights_monthly
|
||||
# - select.stove_hourly
|
||||
# - select.stove_daily
|
||||
# - select.stove_weekly
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
@@ -1,3 +0,0 @@
|
||||
# platform: version
|
||||
# name: Hassio Version
|
||||
# source: hassio
|
||||
@@ -1,2 +0,0 @@
|
||||
# platform: season
|
||||
# type: meteorological
|
||||
@@ -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
|
||||
@@ -1,9 +0,0 @@
|
||||
platform: time_date
|
||||
display_options:
|
||||
- 'time'
|
||||
- 'date'
|
||||
- 'date_time'
|
||||
- 'date_time_utc'
|
||||
- 'date_time_iso'
|
||||
- 'time_date'
|
||||
- 'time_utc'
|
||||
@@ -1,2 +0,0 @@
|
||||
# platform: uptime
|
||||
# name: Last System Boot
|
||||
@@ -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
|
||||
@@ -4,8 +4,8 @@ switch.bathroom_vent_switch:
|
||||
switch.utility_room_vent_switch:
|
||||
icon: mdi:fan
|
||||
|
||||
fan.nursery:
|
||||
fan.girls_room_fan_light_switch_fan:
|
||||
icon: mdi:ceiling-fan
|
||||
|
||||
fan.master_bedroom:
|
||||
fan.master_bedroom_fan_light_switch_fan:
|
||||
icon: mdi:ceiling-fan
|
||||
@@ -24,7 +24,7 @@ light.dining_room_3:
|
||||
light.entryway_hue:
|
||||
icon: mdi:ceiling-light
|
||||
|
||||
light.nursery_hue:
|
||||
light.girls_room_hue:
|
||||
icon: mdi:ceiling-fan-light
|
||||
|
||||
light.master_bedroom_hue:
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
substitutions:
|
||||
devicename: nursery-tagreader
|
||||
devicename: girls_room-tagreader
|
||||
entity_name: nursery_tagreader
|
||||
friendly_name: Nursery Tagreader
|
||||
comment: Clever Tag Reader
|
||||
platform: ESP8266
|
||||
board: d1_mini
|
||||
static_ip: !secret nursery-tagreader-ip
|
||||
static_ip: !secret girls_room-tagreader-ip
|
||||
|
||||
packages:
|
||||
wifi: !include common/wifi.yaml
|
||||
|
||||
+16
-17
@@ -14,8 +14,8 @@ outdoor_plants:
|
||||
- plant.hasta_soil_sensor #Hostas
|
||||
|
||||
ceiling_fans:
|
||||
- fan.master_bedroom
|
||||
- fan.nursery
|
||||
- fan.girls_room_fan_light_switch_fan
|
||||
- fan.master_bedroom_fan_light_switch_fan
|
||||
|
||||
my_room_status:
|
||||
- input_boolean.front_room_occupied
|
||||
@@ -24,7 +24,7 @@ my_room_status:
|
||||
- input_boolean.great_room_occupied
|
||||
- input_boolean.utility_room_occupied
|
||||
- input_boolean.master_bedroom_occupied
|
||||
- input_boolean.nursery_occupied
|
||||
- input_boolean.girls_room_occupied
|
||||
- input_boolean.master_bathroom_occupied
|
||||
- input_boolean.boys_room_occupied
|
||||
- input_boolean.mancave_occupied
|
||||
@@ -115,19 +115,19 @@ great_room_motion:
|
||||
- binary_sensor.great_room_multisensor_home_security_motion_detection
|
||||
- binary_sensor.everything_presence_lite_8fa4fc_occupancy
|
||||
|
||||
# nursery_doors:
|
||||
# girls_room_doors:
|
||||
# icon: hass:door
|
||||
# name: Nursery Doors
|
||||
# name: Girls Room Doors
|
||||
# entities:
|
||||
# - binary_sensor.nursery_door
|
||||
# - binary_sensor.nursery_closet_door_contact
|
||||
# - binary_sensor.girls_room_door
|
||||
# - binary_sensor.girls_room_closet_door_contact
|
||||
|
||||
# nursery_motion:
|
||||
# girls_room_motion:
|
||||
# icon: mdi:motion-sensor
|
||||
# name: Nursery Motion
|
||||
# name: Girls Room Motion
|
||||
# entities:
|
||||
# - binary_sensor.nursery_multisensor_home_security_motion_detection # The Aeotech
|
||||
# - binary_sensor.nursery_closet_motion_switch_home_security_motion_detection
|
||||
# - binary_sensor.girls_room_multisensor_home_security_motion_detection # The Aeotech
|
||||
# - binary_sensor.girls_room_closet_motion_switch_home_security_motion_detection
|
||||
|
||||
master_bedroom_motion:
|
||||
icon: mdi:motion-sensor
|
||||
@@ -255,7 +255,7 @@ my_hvac_affecting_openings:
|
||||
- binary_sensor.patio_door_contact
|
||||
- binary_sensor.inner_garage_door_open_to_outside
|
||||
- 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.computer_area_window_contact
|
||||
- binary_sensor.boys_room_window_contact
|
||||
@@ -276,7 +276,7 @@ my_exterior_windows:
|
||||
icon: hass:window-closed
|
||||
entities:
|
||||
- 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.computer_area_window_contact
|
||||
- binary_sensor.boys_room_window_contact
|
||||
@@ -297,7 +297,7 @@ my_lights:
|
||||
- light.kitchen_hue
|
||||
- light.master_bathroom_hue
|
||||
- light.master_bedroom_hue
|
||||
- light.nursery_hue
|
||||
- light.girls_room_hue
|
||||
- light.black_bed_wled
|
||||
- light.white_bed_wled
|
||||
- light.garage_overhead
|
||||
@@ -309,8 +309,8 @@ my_fans:
|
||||
name: My Fans
|
||||
icon: hass:fan
|
||||
entities:
|
||||
- fan.master_bedroom
|
||||
- fan.nursery
|
||||
- fan.girls_room_fan_light_switch_fan
|
||||
- fan.master_bedroom_fan_light_switch_fan
|
||||
|
||||
weavers_at_home:
|
||||
name: Weavers At Home
|
||||
@@ -406,4 +406,3 @@ all_my_speakers:
|
||||
- media_player.deck
|
||||
- media_player.garage
|
||||
- media_player.boys_room_clock
|
||||
|
||||
|
||||
@@ -79,14 +79,14 @@ card:
|
||||
left: 40%
|
||||
top: 95%
|
||||
- type: state-icon
|
||||
entity: input_boolean.nursery_occupied
|
||||
entity: input_boolean.girls_room_occupied
|
||||
tap_action:
|
||||
action: toggle
|
||||
style:
|
||||
left: 76%
|
||||
top: 95%
|
||||
- type: state-icon
|
||||
entity: binary_sensor.nursery_occupied
|
||||
entity: binary_sensor.girls_room_occupied
|
||||
style:
|
||||
top: 95%
|
||||
left: 92%
|
||||
@@ -102,20 +102,19 @@ card:
|
||||
top: 30%
|
||||
left: 18%
|
||||
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.nursery_person_occupancy
|
||||
- entity: binary_sensor.girls_room_person_occupancy
|
||||
state: "on"
|
||||
elements:
|
||||
- type: state-icon
|
||||
entity: binary_sensor.nursery_person_occupancy
|
||||
entity: binary_sensor.girls_room_person_occupancy
|
||||
style:
|
||||
top: 50%
|
||||
left: 50%
|
||||
|
||||
- type: state-icon
|
||||
entity: light.nursery_hue
|
||||
entity: light.girls_room_hue
|
||||
style:
|
||||
left: 50%
|
||||
top: 3%
|
||||
@@ -125,7 +124,7 @@ card:
|
||||
action: more-info
|
||||
|
||||
- type: state-icon
|
||||
entity: light.nursery_closet
|
||||
entity: light.girls_room_closet
|
||||
style:
|
||||
left: 80%
|
||||
top: 7%
|
||||
@@ -158,7 +157,7 @@ card:
|
||||
top: 70%
|
||||
|
||||
- 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:
|
||||
left: 84%
|
||||
top: 22%
|
||||
|
||||
@@ -41,7 +41,7 @@ cards:
|
||||
- type: entities
|
||||
title: Window Batteries
|
||||
entities:
|
||||
- sensor.nursery_window_battery
|
||||
- sensor.girls_room_window_battery
|
||||
- sensor.computer_area_window_battery
|
||||
- sensor.entryway_window_battery
|
||||
- sensor.front_room_window_battery
|
||||
@@ -67,7 +67,7 @@ cards:
|
||||
- sensor.master_bedroom_closet_door_battery
|
||||
- sensor.master_bedroom_door_battery
|
||||
- sensor.master_suite_door_battery
|
||||
- sensor.nursery_closet_door_battery
|
||||
- sensor.girls_room_closet_door_battery
|
||||
- sensor.patio_door_battery
|
||||
- sensor.storage_room_door_battery
|
||||
- sensor.pantry_door_battery
|
||||
@@ -83,7 +83,7 @@ cards:
|
||||
- sensor.front_room_motion_sensor_battery_level
|
||||
- sensor.kitchen_motion_sensor_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.great_room_multisensor_battery_level
|
||||
- sensor.garage_multisensor_battery_level
|
||||
|
||||
@@ -734,161 +734,161 @@ sections:
|
||||
heading_style: title
|
||||
badges:
|
||||
- type: entity
|
||||
entity: sensor.nursery_multisensor_air_temperature
|
||||
entity: sensor.girls_room_multisensor_air_temperature
|
||||
tap_action:
|
||||
action: more-info
|
||||
- type: entity
|
||||
entity: sensor.nursery_multisensor_humidity
|
||||
entity: sensor.girls_room_multisensor_humidity
|
||||
tap_action:
|
||||
action: more-info
|
||||
- type: custom:mushroom-template-card
|
||||
entity: sensor.nursery_thermal_comfort_summer_simmer_perception
|
||||
entity: sensor.girls_room_thermal_comfort_summer_simmer_perception
|
||||
primary: >
|
||||
{% if
|
||||
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','cool')
|
||||
is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','cool')
|
||||
%} 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
|
||||
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','comfortable')
|
||||
is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','comfortable')
|
||||
%} 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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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 %}
|
||||
secondary: Simmer
|
||||
icon: tc:simmer-zone
|
||||
icon_color: >
|
||||
{% if
|
||||
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','cool')
|
||||
is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','cool')
|
||||
%} 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
|
||||
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','comfortable')
|
||||
is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','comfortable')
|
||||
%} 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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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 %}
|
||||
tap_action:
|
||||
action: more-info
|
||||
- type: custom:mushroom-template-card
|
||||
entity: sensor.nursery_thermal_comfort_summer_simmer_index
|
||||
entity: sensor.girls_room_thermal_comfort_summer_simmer_index
|
||||
primary: >-
|
||||
{{states('sensor.nursery_thermal_comfort_summer_simmer_index') |
|
||||
{{states('sensor.girls_room_thermal_comfort_summer_simmer_index') |
|
||||
round(2) }} °F
|
||||
icon: tc:simmer-zone
|
||||
icon_color: >
|
||||
{% if
|
||||
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','cool')
|
||||
is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','cool')
|
||||
%} 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
|
||||
is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','comfortable')
|
||||
is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','comfortable')
|
||||
%} 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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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 %}
|
||||
tap_action:
|
||||
action: more-info
|
||||
secondary: ""
|
||||
- type: custom:mushroom-template-card
|
||||
entity: sensor.nursery_thermal_comfort_dew_point_perception
|
||||
entity: sensor.girls_room_thermal_comfort_dew_point_perception
|
||||
primary: >
|
||||
{% if
|
||||
is_state('sensor.nursery_thermal_comfort_dew_point_perception','dry')
|
||||
is_state('sensor.girls_room_thermal_comfort_dew_point_perception','dry')
|
||||
%} 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
|
||||
is_state('sensor.nursery_thermal_comfort_dew_point_perception','comfortable')
|
||||
is_state('sensor.girls_room_thermal_comfort_dew_point_perception','comfortable')
|
||||
%} 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
|
||||
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
|
||||
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
|
||||
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
|
||||
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 %}
|
||||
icon: tc:dew-point
|
||||
icon_color: >
|
||||
{% 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
|
||||
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
|
||||
is_state('sensor.nursery_thermal_comfort_dew_point_perception','comfortable')
|
||||
is_state('sensor.girls_room_thermal_comfort_dew_point_perception','comfortable')
|
||||
%} 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
|
||||
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
|
||||
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
|
||||
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
|
||||
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 %}
|
||||
tap_action:
|
||||
action: more-info
|
||||
secondary: Dew Point
|
||||
- type: custom:mushroom-template-card
|
||||
entity: sensor.nursery_thermal_comfort_humidex_perception
|
||||
entity: sensor.girls_room_thermal_comfort_humidex_perception
|
||||
primary: >
|
||||
{% if
|
||||
is_state('sensor.nursery_thermal_comfort_humidex_perception','comfortable')
|
||||
is_state('sensor.girls_room_thermal_comfort_humidex_perception','comfortable')
|
||||
%} 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
|
||||
is_state('sensor.nursery_thermal_comfort_humidex_perception','evident_discomfort')
|
||||
is_state('sensor.girls_room_thermal_comfort_humidex_perception','evident_discomfort')
|
||||
%} 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
|
||||
is_state('sensor.nursery_thermal_comfort_humidex_perception','dangerous_discomfort')
|
||||
is_state('sensor.girls_room_thermal_comfort_humidex_perception','dangerous_discomfort')
|
||||
%} 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 %}
|
||||
secondary: Humidex
|
||||
icon: tc:thermal-perception
|
||||
icon_color: >
|
||||
{% if
|
||||
is_state('sensor.nursery_thermal_comfort_humidex_perception','comfortable')
|
||||
is_state('sensor.girls_room_thermal_comfort_humidex_perception','comfortable')
|
||||
%} 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
|
||||
is_state('sensor.nursery_thermal_comfort_humidex_perception','evident_discomfort')
|
||||
is_state('sensor.girls_room_thermal_comfort_humidex_perception','evident_discomfort')
|
||||
%} 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
|
||||
is_state('sensor.nursery_thermal_comfort_humidex_perception','dangerous_discomfort')
|
||||
is_state('sensor.girls_room_thermal_comfort_humidex_perception','dangerous_discomfort')
|
||||
%} 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 %}
|
||||
tap_action:
|
||||
action: more-info
|
||||
@@ -1736,7 +1736,7 @@ sections:
|
||||
name: Front Room
|
||||
- entity: sensor.master_bedroom_multisensor_air_temperature
|
||||
name: Bedroom
|
||||
- entity: sensor.nursery_multisensor_air_temperature
|
||||
- entity: sensor.girls_room_multisensor_air_temperature
|
||||
name: Nursery
|
||||
- entity: sensor.kitchen_multisensor_air_temperature
|
||||
name: Kitchen
|
||||
|
||||
@@ -201,7 +201,7 @@ cards:
|
||||
cards:
|
||||
- type: entity-filter
|
||||
entities:
|
||||
- binary_sensor.nursery_person_occupancy
|
||||
- binary_sensor.girls_room_person_occupancy
|
||||
show_empty: false
|
||||
state_filter:
|
||||
- "on"
|
||||
@@ -211,7 +211,7 @@ cards:
|
||||
camera_view: auto
|
||||
entities: []
|
||||
image_entity: image.frigate_cam08_person
|
||||
entity: binary_sensor.nursery_person_occupancy
|
||||
entity: binary_sensor.girls_room_person_occupancy
|
||||
|
||||
- type: entity-filter
|
||||
entities:
|
||||
|
||||
@@ -14,7 +14,7 @@ cards:
|
||||
position: sidebar
|
||||
cards:
|
||||
- type: glance
|
||||
title: Nursery
|
||||
title: Girls Room
|
||||
entities: []
|
||||
- type: glance
|
||||
show_state: false
|
||||
@@ -50,7 +50,7 @@ cards:
|
||||
live_provider: ha
|
||||
frigate:
|
||||
camera_name: frigate_cam08
|
||||
zone: nursery
|
||||
zone: girls_room
|
||||
label: person
|
||||
url: http://192.168.1.11:5000
|
||||
view:
|
||||
|
||||
@@ -39,7 +39,7 @@ cards:
|
||||
hide_state: true
|
||||
layout: vertical
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: input_select.nursery_mode
|
||||
entity: input_select.girls_room_mode
|
||||
name: Mode
|
||||
layout: vertical
|
||||
- type: horizontal-stack
|
||||
|
||||
@@ -15,138 +15,138 @@ cards:
|
||||
- hours_to_show: 24
|
||||
graph: line
|
||||
type: sensor
|
||||
entity: sensor.nursery_multisensor_air_temperature
|
||||
entity: sensor.girls_room_multisensor_air_temperature
|
||||
detail: 1
|
||||
name: Temperature
|
||||
- hours_to_show: 24
|
||||
graph: line
|
||||
type: sensor
|
||||
detail: 1
|
||||
entity: sensor.nursery_multisensor_humidity
|
||||
entity: sensor.girls_room_multisensor_humidity
|
||||
name: Humidity
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-template-card
|
||||
entity: sensor.nursery_thermal_comfort_dew_point_perception
|
||||
entity: sensor.girls_room_thermal_comfort_dew_point_perception
|
||||
layout: vertical
|
||||
primary: Dew Point
|
||||
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
|
||||
{% 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
|
||||
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','comfortable') %}
|
||||
{% elif is_state('sensor.girls_room_thermal_comfort_dew_point_perception','comfortable') %}
|
||||
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
|
||||
{% 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
|
||||
{% 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
|
||||
{% 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
|
||||
{% 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
|
||||
{% endif %}
|
||||
icon: tc:dew-point
|
||||
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
|
||||
{% 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
|
||||
{% elif is_state('sensor.nursery_thermal_comfort_dew_point_perception','comfortable') %}
|
||||
{% elif is_state('sensor.girls_room_thermal_comfort_dew_point_perception','comfortable') %}
|
||||
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
|
||||
{% 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
|
||||
{% 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
|
||||
{% 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
|
||||
{% 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
|
||||
{% endif %}
|
||||
tap_action:
|
||||
action: more-info
|
||||
- type: custom:mushroom-template-card
|
||||
entity: sensor.nursery_thermal_comfort_humidex_perception
|
||||
entity: sensor.girls_room_thermal_comfort_humidex_perception
|
||||
layout: vertical
|
||||
primary: Humidex
|
||||
secondary: >
|
||||
{% if is_state('sensor.nursery_thermal_comfort_humidex_perception','comfortable') %}
|
||||
{% if is_state('sensor.girls_room_thermal_comfort_humidex_perception','comfortable') %}
|
||||
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
|
||||
{% 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
|
||||
{% 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
|
||||
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','dangerous_discomfort') %}
|
||||
{% elif is_state('sensor.girls_room_thermal_comfort_humidex_perception','dangerous_discomfort') %}
|
||||
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
|
||||
{% endif %}
|
||||
icon: tc:thermal-perception
|
||||
icon_color: >
|
||||
{% if is_state('sensor.nursery_thermal_comfort_humidex_perception','comfortable') %}
|
||||
{% if is_state('sensor.girls_room_thermal_comfort_humidex_perception','comfortable') %}
|
||||
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
|
||||
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','evident_discomfort') %}
|
||||
{% elif is_state('sensor.girls_room_thermal_comfort_humidex_perception','evident_discomfort') %}
|
||||
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
|
||||
{% elif is_state('sensor.nursery_thermal_comfort_humidex_perception','dangerous_discomfort') %}
|
||||
{% elif is_state('sensor.girls_room_thermal_comfort_humidex_perception','dangerous_discomfort') %}
|
||||
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
|
||||
{% endif %}
|
||||
tap_action:
|
||||
action: more-info
|
||||
- type: custom:mushroom-template-card
|
||||
entity: sensor.nursery_thermal_comfort_summer_simmer_perception
|
||||
entity: sensor.girls_room_thermal_comfort_summer_simmer_perception
|
||||
layout: vertical
|
||||
primary: Simmer Simmer
|
||||
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
|
||||
{% 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
|
||||
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','comfortable') %}
|
||||
{% elif is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','comfortable') %}
|
||||
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
|
||||
{% 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
|
||||
{% 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
|
||||
{% 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
|
||||
{% 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
|
||||
{% 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
|
||||
{% endif %}
|
||||
icon: tc:simmer-zone
|
||||
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
|
||||
{% 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
|
||||
{% elif is_state('sensor.nursery_thermal_comfort_summer_simmer_perception','comfortable') %}
|
||||
{% elif is_state('sensor.girls_room_thermal_comfort_summer_simmer_perception','comfortable') %}
|
||||
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
|
||||
{% 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
|
||||
{% 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
|
||||
{% 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
|
||||
{% 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
|
||||
{% 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
|
||||
{% endif %}
|
||||
tap_action:
|
||||
@@ -155,7 +155,7 @@ cards:
|
||||
cards:
|
||||
- type: custom:mushroom-entity-card
|
||||
layout: vertical
|
||||
entity: binary_sensor.nursery_occupied
|
||||
entity: binary_sensor.girls_room_occupied
|
||||
name: Nursery Occupied
|
||||
- type: custom:mushroom-entity-card
|
||||
layout: vertical
|
||||
@@ -170,7 +170,7 @@ cards:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-light-card
|
||||
entity: light.nursery_hue
|
||||
entity: light.girls_room_hue
|
||||
name: Main Light
|
||||
tap_action:
|
||||
action: toggle
|
||||
@@ -179,7 +179,7 @@ cards:
|
||||
layout: vertical
|
||||
hide_state: false
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: input_select.nursery_mode
|
||||
entity: input_select.girls_room_mode
|
||||
name: Mode
|
||||
layout: vertical
|
||||
- type: horizontal-stack
|
||||
@@ -223,7 +223,7 @@ cards:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-light-card
|
||||
entity: light.nursery_closet
|
||||
entity: light.girls_room_closet
|
||||
name: Closet
|
||||
icon: mdi:dome-light
|
||||
tap_action:
|
||||
@@ -242,14 +242,14 @@ cards:
|
||||
cards:
|
||||
- type: custom:mushroom-entity-card
|
||||
layout: vertical
|
||||
entity: sensor.nursery_multisensor_illuminance
|
||||
entity: sensor.girls_room_multisensor_illuminance
|
||||
name: Nursery
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: input_number.nursery_light_level_trigger
|
||||
entity: input_number.girls_room_light_level_trigger
|
||||
layout: vertical
|
||||
name: Trigger
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: binary_sensor.nursery_naturally_lit
|
||||
entity: binary_sensor.girls_room_naturally_lit
|
||||
name: Naturally Lit
|
||||
layout: vertical
|
||||
|
||||
@@ -259,7 +259,7 @@ cards:
|
||||
- type: custom:mushroom-title-card
|
||||
subtitle: Devices
|
||||
- type: custom:mushroom-fan-card
|
||||
entity: fan.nursery
|
||||
entity: fan.girls_room_fan_light_switch_fan
|
||||
name: Fan
|
||||
icon_animation: false
|
||||
tap_action:
|
||||
@@ -347,26 +347,26 @@ cards:
|
||||
secondary_info: none
|
||||
layout: vertical
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: binary_sensor.nursery_person_occupancy
|
||||
entity: binary_sensor.girls_room_person_occupancy
|
||||
name: Person
|
||||
secondary_info: none
|
||||
layout: vertical
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: binary_sensor.nursery_door
|
||||
entity: binary_sensor.girls_room_door
|
||||
name: Door
|
||||
secondary_info: none
|
||||
layout: vertical
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: binary_sensor.nursery_closet_door_contact
|
||||
entity: binary_sensor.girls_room_closet_door_contact
|
||||
name: Closet
|
||||
secondary_info: none
|
||||
layout: vertical
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-entity-card
|
||||
entity: binary_sensor.nursery_window_contact
|
||||
entity: binary_sensor.girls_room_window_contact
|
||||
name: Window
|
||||
secondary_info: none
|
||||
layout: vertical
|
||||
@@ -382,14 +382,14 @@ cards:
|
||||
type: button
|
||||
tap_action:
|
||||
action: toggle
|
||||
entity: input_button.nursery_bedtime
|
||||
entity: input_button.girls_room_bedtime
|
||||
name: Bedtime
|
||||
- show_name: true
|
||||
show_icon: true
|
||||
type: button
|
||||
tap_action:
|
||||
action: toggle
|
||||
entity: input_button.nursery_awake
|
||||
entity: input_button.girls_room_awake
|
||||
name: Awake
|
||||
|
||||
- type: vertical-stack
|
||||
|
||||
@@ -298,16 +298,16 @@ cards:
|
||||
- type: custom:mushroom-template-card
|
||||
primary: Girl's Room
|
||||
icon: mdi:teddy-bear
|
||||
entity: light.nursery_hue
|
||||
entity: light.girls_room_hue
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: girls-room
|
||||
hold_action:
|
||||
action: toggle
|
||||
secondary: |-
|
||||
{{states('sensor.nursery_multisensor_air_temperature')}}°F
|
||||
{{states('sensor.nursery_multisensor_humidity')}}%
|
||||
icon_color: "{{iif(is_state('light.nursery_hue','on'),'yellow')}}"
|
||||
{{states('sensor.girls_room_multisensor_air_temperature')}}°F
|
||||
{{states('sensor.girls_room_multisensor_humidity')}}%
|
||||
icon_color: "{{iif(is_state('light.girls_room_hue','on'),'yellow')}}"
|
||||
multiline_secondary: true
|
||||
layout: vertical
|
||||
- type: custom:mushroom-template-card
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user