mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
nursery to girls room... finally
This commit is contained in:
+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
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,246 +1,246 @@
|
||||
template:
|
||||
- sensor:
|
||||
# - unique_id: templatesensor.hvac_mode
|
||||
# default_entity_id: sensor.hvac_mode
|
||||
# name: HVAC Mode
|
||||
# state: '{{states("climate.thermostat")}}'
|
||||
- sensor:
|
||||
# - unique_id: templatesensor.hvac_mode
|
||||
# default_entity_id: sensor.hvac_mode
|
||||
# name: HVAC Mode
|
||||
# state: '{{states("climate.thermostat")}}'
|
||||
|
||||
- unique_id: templatesensor.hvac_equipment_running
|
||||
default_entity_id: sensor.hvac_equipment_running
|
||||
name: HVAC Equipment Running
|
||||
state: '{{state_attr("climate.thermostat", "equipment_running")|default("none", true)}}'
|
||||
- unique_id: templatesensor.hvac_equipment_running
|
||||
default_entity_id: sensor.hvac_equipment_running
|
||||
name: HVAC Equipment Running
|
||||
state: '{{state_attr("climate.thermostat", "equipment_running")|default("none", true)}}'
|
||||
|
||||
- unique_id: templatesensor.hvac_action
|
||||
default_entity_id: sensor.hvac_action
|
||||
state: '{{state_attr("climate.thermostat", "hvac_action")}}'
|
||||
name: HVAC Action
|
||||
- unique_id: templatesensor.hvac_action
|
||||
default_entity_id: sensor.hvac_action
|
||||
state: '{{state_attr("climate.thermostat", "hvac_action")}}'
|
||||
name: HVAC Action
|
||||
|
||||
- unique_id: templatesensor.clint_status
|
||||
default_entity_id: sensor.clint_status
|
||||
state: '{{ states.input_select.clint_status_dropdown.state }}'
|
||||
name: 'Clint'
|
||||
- unique_id: templatesensor.clint_status
|
||||
default_entity_id: sensor.clint_status
|
||||
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'
|
||||
- unique_id: templatesensor.emmett_status
|
||||
default_entity_id: sensor.emmett_status
|
||||
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'
|
||||
- unique_id: templatesensor.bridget_status
|
||||
default_entity_id: sensor.bridget_status
|
||||
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'
|
||||
- unique_id: templatesensor.kristy_status
|
||||
default_entity_id: sensor.kristy_status
|
||||
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'
|
||||
- unique_id: templatesensor.marshall_status
|
||||
default_entity_id: sensor.marshall_status
|
||||
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'
|
||||
- unique_id: templatesensor.tess_status
|
||||
default_entity_id: sensor.tess_status
|
||||
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'
|
||||
- unique_id: templatesensor.ebin_status
|
||||
default_entity_id: sensor.ebin_status
|
||||
state: "{{ states.input_select.ebin_status_dropdown.state }}"
|
||||
name: "Ebin"
|
||||
|
||||
- unique_id: templatesensor.people_count
|
||||
default_entity_id: sensor.people_count
|
||||
name: 'People Count'
|
||||
state: >
|
||||
{{[ states.input_boolean.clint_home,
|
||||
states.input_boolean.emmett_home,
|
||||
states.input_boolean.bridget_home,
|
||||
states.input_boolean.kristy_home,
|
||||
states.input_boolean.marshall_home,
|
||||
states.input_boolean.tess_home,
|
||||
states.input_boolean.ebin_home,
|
||||
states.input_boolean.guest_home ]
|
||||
| selectattr('state', 'eq', 'on') | list | count}}
|
||||
- unique_id: templatesensor.people_count
|
||||
default_entity_id: sensor.people_count
|
||||
name: "People Count"
|
||||
state: >
|
||||
{{[ states.input_boolean.clint_home,
|
||||
states.input_boolean.emmett_home,
|
||||
states.input_boolean.bridget_home,
|
||||
states.input_boolean.kristy_home,
|
||||
states.input_boolean.marshall_home,
|
||||
states.input_boolean.tess_home,
|
||||
states.input_boolean.ebin_home,
|
||||
states.input_boolean.guest_home ]
|
||||
| selectattr('state', 'eq', 'on') | list | count}}
|
||||
|
||||
- unique_id: templatesensor.count_automations
|
||||
default_entity_id: sensor.count_automations
|
||||
state: "{{ states.automation | list | length }}"
|
||||
- unique_id: templatesensor.count_automations
|
||||
default_entity_id: sensor.count_automations
|
||||
state: "{{ states.automation | list | length }}"
|
||||
|
||||
- unique_id: templatesensor.count_scripts
|
||||
default_entity_id: sensor.count_scripts
|
||||
state: "{{ states.script | list | length }}"
|
||||
- unique_id: templatesensor.count_scripts
|
||||
default_entity_id: sensor.count_scripts
|
||||
state: "{{ states.script | list | length }}"
|
||||
|
||||
- unique_id: templatesensor.count_device_trackers
|
||||
default_entity_id: sensor.count_device_trackers
|
||||
state: "{{ states.device_tracker | list | length }}"
|
||||
- unique_id: templatesensor.count_device_trackers
|
||||
default_entity_id: sensor.count_device_trackers
|
||||
state: "{{ states.device_tracker | list | length }}"
|
||||
|
||||
- unique_id: templatesensor.count_binary_sensors
|
||||
default_entity_id: sensor.count_binary_sensors
|
||||
state: "{{ states.binary_sensor | list | length }}"
|
||||
- unique_id: templatesensor.count_binary_sensors
|
||||
default_entity_id: sensor.count_binary_sensors
|
||||
state: "{{ states.binary_sensor | list | length }}"
|
||||
|
||||
- unique_id: templatesensor.count_sensors
|
||||
default_entity_id: sensor.count_sensors
|
||||
state: "{{ states.sensor | list | length }}"
|
||||
- unique_id: templatesensor.count_sensors
|
||||
default_entity_id: sensor.count_sensors
|
||||
state: "{{ states.sensor | list | length }}"
|
||||
|
||||
- unique_id: templatesensor.count_switches
|
||||
default_entity_id: sensor.count_switches
|
||||
state: "{{ states.switch | list | length }}"
|
||||
- unique_id: templatesensor.count_switches
|
||||
default_entity_id: sensor.count_switches
|
||||
state: "{{ states.switch | list | length }}"
|
||||
|
||||
- unique_id: templatesensor.count_zones
|
||||
default_entity_id: sensor.count_zones
|
||||
state: "{{ states.zone | list | length }}"
|
||||
- unique_id: templatesensor.count_zones
|
||||
default_entity_id: sensor.count_zones
|
||||
state: "{{ states.zone | list | length }}"
|
||||
|
||||
- unique_id: templatesensor.count_input_booleans
|
||||
default_entity_id: sensor.count_input_booleans
|
||||
state: "{{ states.input_boolean | list | length }}"
|
||||
- unique_id: templatesensor.count_input_booleans
|
||||
default_entity_id: sensor.count_input_booleans
|
||||
state: "{{ states.input_boolean | list | length }}"
|
||||
|
||||
- unique_id: templatesensor.count_input_numbers
|
||||
default_entity_id: sensor.count_input_numbers
|
||||
state: "{{ states.input_number | list | length }}"
|
||||
- unique_id: templatesensor.count_input_numbers
|
||||
default_entity_id: sensor.count_input_numbers
|
||||
state: "{{ states.input_number | list | length }}"
|
||||
|
||||
- unique_id: templatesensor.count_input_texts
|
||||
default_entity_id: sensor.count_input_texts
|
||||
state: "{{ states.input_text | list | length }}"
|
||||
- unique_id: templatesensor.count_input_texts
|
||||
default_entity_id: sensor.count_input_texts
|
||||
state: "{{ states.input_text | list | length }}"
|
||||
|
||||
- unique_id: templatesensor.count_input_selects
|
||||
default_entity_id: sensor.count_input_selects
|
||||
state: "{{ states.input_select | list | length }}"
|
||||
- unique_id: templatesensor.count_input_selects
|
||||
default_entity_id: sensor.count_input_selects
|
||||
state: "{{ states.input_select | list | length }}"
|
||||
|
||||
- unique_id: templatesensor.count_input_datetimes
|
||||
default_entity_id: sensor.count_input_datetimes
|
||||
state: "{{ states.input_datetime | list | length }}"
|
||||
- unique_id: templatesensor.count_input_datetimes
|
||||
default_entity_id: sensor.count_input_datetimes
|
||||
state: "{{ states.input_datetime | list | length }}"
|
||||
|
||||
- unique_id: templatesensor.steam1_game
|
||||
default_entity_id: sensor.steam1_game
|
||||
state: >-
|
||||
{% if state_attr('sensor.steam_76561197960668089', 'game') is not none%}
|
||||
{{ state_attr('sensor.steam_76561197960668089', 'game') }}
|
||||
{% else %}
|
||||
{{ states('sensor.steam_76561197960668089') }}
|
||||
{% endif %}
|
||||
- unique_id: templatesensor.steam1_game
|
||||
default_entity_id: sensor.steam1_game
|
||||
state: >-
|
||||
{% if state_attr('sensor.steam_76561197960668089', 'game') is not none%}
|
||||
{{ state_attr('sensor.steam_76561197960668089', 'game') }}
|
||||
{% else %}
|
||||
{{ states('sensor.steam_76561197960668089') }}
|
||||
{% endif %}
|
||||
|
||||
- unique_id: templatesensor.non_summer_per_kwh
|
||||
default_entity_id: sensor.nonsummer_per_kwh
|
||||
name: 'Non-Summer Rate'
|
||||
state: 0.100496
|
||||
icon: mdi:currency-usd
|
||||
unit_of_measurement: '$/kWh'
|
||||
- unique_id: templatesensor.non_summer_per_kwh
|
||||
default_entity_id: sensor.nonsummer_per_kwh
|
||||
name: "Non-Summer Rate"
|
||||
state: 0.100496
|
||||
icon: mdi:currency-usd
|
||||
unit_of_measurement: "$/kWh"
|
||||
|
||||
- unique_id: templatesensor.summer_nonpeak_per_kwh
|
||||
default_entity_id: sensor.summernonpeak_per_kwh
|
||||
name: 'Summer Non-Peak Rate'
|
||||
state: 0.100649
|
||||
icon: mdi:currency-usd
|
||||
unit_of_measurement: '$/kWh'
|
||||
- unique_id: templatesensor.summer_nonpeak_per_kwh
|
||||
default_entity_id: sensor.summernonpeak_per_kwh
|
||||
name: "Summer Non-Peak Rate"
|
||||
state: 0.100649
|
||||
icon: mdi:currency-usd
|
||||
unit_of_measurement: "$/kWh"
|
||||
|
||||
- unique_id: templatesensor.summerpeak_per_kwh
|
||||
default_entity_id: sensor.summerpeak_per_kwh
|
||||
name: 'Summer Peak Rate'
|
||||
state: 0.149656
|
||||
icon: mdi:currency-usd
|
||||
unit_of_measurement: '$/kWh'
|
||||
- unique_id: templatesensor.summerpeak_per_kwh
|
||||
default_entity_id: sensor.summerpeak_per_kwh
|
||||
name: "Summer Peak Rate"
|
||||
state: 0.149656
|
||||
icon: mdi:currency-usd
|
||||
unit_of_measurement: "$/kWh"
|
||||
|
||||
- unique_id: templatesensor.energy_cost
|
||||
default_entity_id: sensor.energy_cost
|
||||
name: 'Energy Cost'
|
||||
state: >-
|
||||
{% if now().month > 9 or now().month < 6 -%}
|
||||
0.100496
|
||||
{%- else -%}
|
||||
{%- if now().weekday() < 5 and now().hour >= 14 and now().hour <= 19 -%}
|
||||
0.149656
|
||||
{%- else -%}
|
||||
0.100649
|
||||
{%- endif -%}
|
||||
{% endif %}
|
||||
icon: mdi:currency-usd
|
||||
unit_of_measurement: '$/kWh'
|
||||
- unique_id: templatesensor.energy_cost
|
||||
default_entity_id: sensor.energy_cost
|
||||
name: "Energy Cost"
|
||||
state: >-
|
||||
{% if now().month > 9 or now().month < 6 -%}
|
||||
0.100496
|
||||
{%- else -%}
|
||||
{%- if now().weekday() < 5 and now().hour >= 14 and now().hour <= 19 -%}
|
||||
0.149656
|
||||
{%- else -%}
|
||||
0.100649
|
||||
{%- endif -%}
|
||||
{% endif %}
|
||||
icon: mdi:currency-usd
|
||||
unit_of_measurement: "$/kWh"
|
||||
|
||||
- unique_id: templatesensor.energy_tariff
|
||||
default_entity_id: sensor.energy_tariff
|
||||
name: 'Energy Tariff'
|
||||
state: >-
|
||||
{% if now().month > 9 or now().month < 6 -%}
|
||||
Non-Summer
|
||||
{%- else -%}
|
||||
{%- if now().weekday() < 5 and now().hour >= 14 and now().hour <= 19 -%}
|
||||
Summer Peak
|
||||
{%- else -%}
|
||||
Summer Non-Peak
|
||||
{%- endif -%}
|
||||
{% endif %}
|
||||
- unique_id: templatesensor.energy_tariff
|
||||
default_entity_id: sensor.energy_tariff
|
||||
name: "Energy Tariff"
|
||||
state: >-
|
||||
{% if now().month > 9 or now().month < 6 -%}
|
||||
Non-Summer
|
||||
{%- else -%}
|
||||
{%- if now().weekday() < 5 and now().hour >= 14 and now().hour <= 19 -%}
|
||||
Summer Peak
|
||||
{%- else -%}
|
||||
Summer Non-Peak
|
||||
{%- endif -%}
|
||||
{% endif %}
|
||||
|
||||
- unique_id: templatesensor.general_waste
|
||||
default_entity_id: sensor.general_waste
|
||||
name: 'General Waste'
|
||||
icon: mdi:trash-can
|
||||
state: >-
|
||||
{% if is_state('calendar.trash_schedule','on') %}
|
||||
today
|
||||
{% elif state_attr('calendar.trash_schedule','offset_reached') %}
|
||||
tomorrow
|
||||
{% else %}
|
||||
future
|
||||
{% endif %}
|
||||
- unique_id: templatesensor.general_waste
|
||||
default_entity_id: sensor.general_waste
|
||||
name: "General Waste"
|
||||
icon: mdi:trash-can
|
||||
state: >-
|
||||
{% if is_state('calendar.trash_schedule','on') %}
|
||||
today
|
||||
{% elif state_attr('calendar.trash_schedule','offset_reached') %}
|
||||
tomorrow
|
||||
{% else %}
|
||||
future
|
||||
{% endif %}
|
||||
|
||||
#my_room_status
|
||||
- unique_id: temlatesensor.occupied_room_count
|
||||
default_entity_id: sensor.occupied_room_count
|
||||
name: Rooms Occupied
|
||||
state: "{{ (expand('group.my_room_status') | selectattr('state', 'eq', 'on')) | list | count |int(default=0) }}"
|
||||
icon: "{{ iif(is_state('group.my_room_status', 'on'), 'mdi:floor-plan','mdi:floor-plan') }}"
|
||||
#my_room_status
|
||||
- unique_id: temlatesensor.occupied_room_count
|
||||
default_entity_id: sensor.occupied_room_count
|
||||
name: Rooms Occupied
|
||||
state: "{{ (expand('group.my_room_status') | selectattr('state', 'eq', 'on')) | list | count |int(default=0) }}"
|
||||
icon: "{{ iif(is_state('group.my_room_status', 'on'), 'mdi:floor-plan','mdi:floor-plan') }}"
|
||||
|
||||
- unique_id: temlatesensor.speakers_on_count
|
||||
default_entity_id: sensor.speakers_on_count
|
||||
name: Speakers On
|
||||
state: "{{ (expand('group.all_my_speakers') | selectattr('state', 'eq', 'playing')) | list | count |int(default=0) }}"
|
||||
icon: "{{ iif(is_state('group.all_my_speakers', 'on'), 'mdi:speaker-multiple','mdi:speaker-off') }}"
|
||||
- unique_id: temlatesensor.speakers_on_count
|
||||
default_entity_id: sensor.speakers_on_count
|
||||
name: Speakers On
|
||||
state: "{{ (expand('group.all_my_speakers') | selectattr('state', 'eq', 'playing')) | list | count |int(default=0) }}"
|
||||
icon: "{{ iif(is_state('group.all_my_speakers', 'on'), 'mdi:speaker-multiple','mdi:speaker-off') }}"
|
||||
|
||||
- unique_id: temlatesensor.lights_on_count
|
||||
default_entity_id: sensor.lights_on_count
|
||||
name: Lights On
|
||||
state: "{{ (expand('group.my_lights') | selectattr('state', 'eq', 'on')) | list | count |int(default=0) }}"
|
||||
icon: "{{ iif(is_state('group.my_lights', 'on'), 'mdi:lightbulb-group','mdi:lightbulb-group-off') }}"
|
||||
- unique_id: temlatesensor.lights_on_count
|
||||
default_entity_id: sensor.lights_on_count
|
||||
name: Lights On
|
||||
state: "{{ (expand('group.my_lights') | selectattr('state', 'eq', 'on')) | list | count |int(default=0) }}"
|
||||
icon: "{{ iif(is_state('group.my_lights', 'on'), 'mdi:lightbulb-group','mdi:lightbulb-group-off') }}"
|
||||
|
||||
- unique_id: temlatesensor.open_windows_count
|
||||
default_entity_id: sensor.open_windows_count
|
||||
name: Open Windows
|
||||
state: "{{ (expand('group.my_exterior_windows') | selectattr('state', 'eq', 'on')) | list | count |int(default=0) }}"
|
||||
icon: "{{ iif(is_state('group.my_exterior_windows', 'on'), 'mdi:window-open-variant','mdi:window-closed-variant') }}"
|
||||
- unique_id: temlatesensor.open_windows_count
|
||||
default_entity_id: sensor.open_windows_count
|
||||
name: Open Windows
|
||||
state: "{{ (expand('group.my_exterior_windows') | selectattr('state', 'eq', 'on')) | list | count |int(default=0) }}"
|
||||
icon: "{{ iif(is_state('group.my_exterior_windows', 'on'), 'mdi:window-open-variant','mdi:window-closed-variant') }}"
|
||||
|
||||
- unique_id: temlatesensor.open_external_doors_count
|
||||
default_entity_id: sensor.open_external_doors_count
|
||||
name: Open External Doors
|
||||
state: "{{ (expand('group.my_exterior_doors') | selectattr('state', 'eq', 'on')) | list | count |int(default=0) }}"
|
||||
icon: "{{ iif(is_state('group.my_exterior_windows', 'on'), 'mdi:door-open','mdi:door') }}"
|
||||
- unique_id: temlatesensor.open_external_doors_count
|
||||
default_entity_id: sensor.open_external_doors_count
|
||||
name: Open External Doors
|
||||
state: "{{ (expand('group.my_exterior_doors') | selectattr('state', 'eq', 'on')) | list | count |int(default=0) }}"
|
||||
icon: "{{ iif(is_state('group.my_exterior_windows', 'on'), 'mdi:door-open','mdi:door') }}"
|
||||
|
||||
- unique_id: temlatesensor.frigate_person_count
|
||||
default_entity_id: sensor.frigate_person_count
|
||||
name: Frigate Person Count
|
||||
state: >-
|
||||
{{
|
||||
states('sensor.boys_room_person_count')|int(default=0) +
|
||||
states('sensor.computer_area_person_count')|int(default=0) +
|
||||
states('sensor.dining_room_person_count')|int(default=0) +
|
||||
states('sensor.entryway_person_count')|int(default=0) +
|
||||
states('sensor.front_porch_person_count')|int(default=0) +
|
||||
states('sensor.front_room_person_count')|int(default=0) +
|
||||
states('sensor.furnace_room_person_count')|int(default=0) +
|
||||
states('sensor.great_room_person_count')|int(default=0) +
|
||||
states('sensor.kitchen_person_count')|int(default=0) +
|
||||
states('sensor.master_bedroom_person_count')|int(default=0) +
|
||||
states('sensor.nursery_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)
|
||||
}}
|
||||
icon: mdi:human-queue
|
||||
- unique_id: temlatesensor.frigate_person_count
|
||||
default_entity_id: sensor.frigate_person_count
|
||||
name: Frigate Person Count
|
||||
state: >-
|
||||
{{
|
||||
states('sensor.boys_room_person_count')|int(default=0) +
|
||||
states('sensor.computer_area_person_count')|int(default=0) +
|
||||
states('sensor.dining_room_person_count')|int(default=0) +
|
||||
states('sensor.entryway_person_count')|int(default=0) +
|
||||
states('sensor.front_porch_person_count')|int(default=0) +
|
||||
states('sensor.front_room_person_count')|int(default=0) +
|
||||
states('sensor.furnace_room_person_count')|int(default=0) +
|
||||
states('sensor.great_room_person_count')|int(default=0) +
|
||||
states('sensor.kitchen_person_count')|int(default=0) +
|
||||
states('sensor.master_bedroom_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)
|
||||
}}
|
||||
icon: mdi:human-queue
|
||||
|
||||
# monitored_daily_kwh:
|
||||
# unique_id: templatesensor.monitored_daily_kwh
|
||||
# name: 'Monitored Daily [kWh]'
|
||||
# icon: mdi:flash
|
||||
# unit_of_measurement: kWh
|
||||
# state: "{{ states('sensor.basement_and_laundry_lights_and_plugs_kwh')|float(default=0) + }}"
|
||||
# monitored_daily_kwh:
|
||||
# unique_id: templatesensor.monitored_daily_kwh
|
||||
# name: 'Monitored Daily [kWh]'
|
||||
# icon: mdi:flash
|
||||
# unit_of_measurement: kWh
|
||||
# state: "{{ states('sensor.basement_and_laundry_lights_and_plugs_kwh')|float(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
|
||||
Reference in New Issue
Block a user