Compare commits

..

1 Commits

Author SHA1 Message Date
a5a88231e0 New entity for controlling master bedroom climate modes 2025-09-16 02:15:09 -04:00
3 changed files with 191 additions and 706 deletions

View File

@@ -919,8 +919,8 @@ views:
heading: Emma
- type: entities
entities:
- entity: input_datetime.emma_bedroom_climate
name: Climate
- entity: input_datetime.emma_bedroom_cooling
name: Cooling
- entity: input_datetime.emma_bedtime
name: Bedtime
- entity: input_datetime.emma_wakeup
@@ -982,6 +982,112 @@ views:
title: Modes
show_header_toggle: false
state_color: true
- type: entities
entities:
- entity: input_number.master_bedroom_aircon_run_threshold
name: Run Threshold
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_aircon_run_threshold') |
int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
- entity: input_number.master_bedroom_aircon_mode_threshold
name: Mode Threshold
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_aircon_mode_threshold') |
int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
- entity: input_number.master_bedroom_auto_cooling_threshold
name: MBR Auto Cooling
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_auto_cooling_threshold') |
int %} {% set roomtemp =
states('sensor.master_bedroom_temperature') | int %} {{
'Threshold Met' if roomtemp >= threshold else '' }}
- entity: input_number.master_bedroom_mode_switch_threshold
name: MBR Mode Switch
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_mode_switch_threshold') |
int %} {% set high = states('sensor.todays_high_temp') | int
%} {{ 'Threshold Met' if high >= threshold else '' }}
- entity: input_boolean.master_bedroom_aircon_installed
name: Aircon Installed
- entity: input_boolean.master_bedroom_climate_protocol
name: Climate Automations
title: Master Bedroom Aircon
visibility:
- condition: state
entity: input_boolean.master_bedroom_aircon_installed
state: 'on'
show_header_toggle: false
state_color: true
- type: entities
entities:
- entity: input_number.emma_bedroom_aircon_run_threshold
name: Run Threshold
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_aircon_run_threshold') | int
%} {% set low = states('sensor.tonights_low_temp') | int %} {{
'Threshold Met' if low >= threshold else '' }}
- entity: input_number.emma_bedroom_aircon_mode_threshold
name: Mode Threshold
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_aircon_mode_threshold') |
int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
- entity: input_number.emma_bedroom_auto_cooling_threshold
name: EBR Auto Cooling
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_auto_cooling_threshold') |
int %} {% set roomtemp =
states('sensor.emma_bedroom_temperature') | int %} {{
'Threshold Met' if roomtemp >= threshold else '' }}
- entity: input_number.emma_bedroom_mode_switch_threshold
name: EBR Mode Switch
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_mode_switch_threshold') |
int %} {% set high = states('sensor.todays_high_temp') | int
%} {{ 'Threshold Met' if high >= threshold else '' }}
- entity: input_boolean.emma_bedroom_aircon_installed
name: Aircon Installed
- entity: input_boolean.emma_bedroom_heater_installed
name: Heater Installed
- entity: input_boolean.emma_bedroom_climate_protocol
name: Climate Automations
- entity: switch.emma_bedroom_climate_watchdog
name: Climate Watchdog
title: Emma Bedroom Aircon
visibility:
- condition: state
entity: input_boolean.emma_bedroom_aircon_installed
state: 'on'
show_header_toggle: false
state_color: true
- type: entities
entities:
- entity: input_number.master_bedroom_fan_threshold
name: MBR Fan
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_fan_threshold') | int %}
{% set low = states('sensor.tonights_low_temp') | int %} {{
'Threshold Met' if low >= threshold else '' }}
- entity: input_number.kallen_fan_threshold
name: Kallen Fan
secondary_info: >
{% set threshold = states('input_number.kallen_fan_threshold')
| int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
title: Fans
show_header_toggle: false
state_color: true
- type: entities
entities:
- entity: input_number.hot_day_threshold
@@ -1034,157 +1140,6 @@ views:
state_color: true
title: Weather
column_span: 1
- type: grid
cards:
- type: heading
heading: Master Bedroom Climate Settings
heading_style: title
- type: entities
entities:
- entity: input_boolean.master_bedroom_climate_protocol
name: Climate Automations
- entity: input_boolean.master_bedroom_aircon_installed
name: Aircon Installed
title: General
show_header_toggle: false
state_color: true
- type: entities
entities:
- entity: input_number.master_bedroom_fan_threshold
name: Fan
- entity: input_number.master_bedroom_aircon_run_threshold
name: Aircon Run
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_aircon_run_threshold') |
int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
- entity: input_number.master_bedroom_aircon_mode_threshold
name: Aircon Mode
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_aircon_mode_threshold') |
int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
- entity: input_number.master_bedroom_auto_cooling_threshold
name: Auto Cooling
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_auto_cooling_threshold') |
int %} {% set roomtemp =
states('sensor.master_bedroom_temperature') | int %} {{
'Threshold Met' if roomtemp >= threshold else '' }}
- entity: input_number.master_bedroom_mode_switch_threshold
name: Mode Switch
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_mode_switch_threshold') |
int %} {% set high = states('sensor.todays_high_temp') | int
%} {{ 'Threshold Met' if high >= threshold else '' }}
- entity: input_boolean.master_bedroom_aircon_installed
name: Aircon Installed
title: Aircon Settings
visibility:
- condition: state
entity: input_boolean.master_bedroom_aircon_installed
state: 'on'
show_header_toggle: false
state_color: true
- type: grid
cards:
- type: heading
heading: Kallen Bedroom Climate Settings
heading_style: title
- type: entities
entities:
- entity: input_number.kallen_fan_threshold
name: Kallen Fan
secondary_info: >
{% set threshold = states('input_number.kallen_fan_threshold')
| int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
title: Fan Settings
show_header_toggle: false
state_color: true
- type: grid
cards:
- type: heading
heading: Emma Bedroom Climate Settings
heading_style: title
- type: entities
entities:
- entity: input_boolean.emma_bedroom_climate_protocol
name: Climate Automations
- entity: input_boolean.emma_bedroom_aircon_installed
name: Aircon Installed
- entity: input_boolean.emma_bedroom_heater_installed
name: Heater Installed
show_header_toggle: false
state_color: true
title: General
- type: entities
entities:
- entity: input_number.emma_bedroom_aircon_run_threshold
name: Run Threshold
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_aircon_run_threshold') | int
%} {% set low = states('sensor.tonights_low_temp') | int %} {{
'Threshold Met' if low >= threshold else '' }}
- entity: input_number.emma_bedroom_aircon_mode_threshold
name: Mode Threshold
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_aircon_mode_threshold') |
int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
- entity: input_number.emma_bedroom_auto_cooling_threshold
name: EBR Auto Cooling
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_auto_cooling_threshold') |
int %} {% set roomtemp =
states('sensor.emma_bedroom_temperature') | int %} {{
'Threshold Met' if roomtemp >= threshold else '' }}
- entity: input_number.emma_bedroom_mode_switch_threshold
name: EBR Mode Switch
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_mode_switch_threshold') |
int %} {% set high = states('sensor.todays_high_temp') | int
%} {{ 'Threshold Met' if high >= threshold else '' }}
- entity: switch.emma_bedroom_climate_watchdog
name: Climate Watchdog
title: Aircon Settings
visibility:
- condition: state
entity: input_boolean.emma_bedroom_aircon_installed
state: 'on'
show_header_toggle: false
state_color: true
- type: entities
entities:
- entity: input_number.emma_bedroom_heater_run_threshold
name: Run Threshold
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_heater_run_threshold') | int
%} {% set low = states('sensor.tonights_low_temp') | int %} {{
'Threshold Met' if low < threshold else '' }}
- entity: input_number.emma_bedroom_heater_shutoff_threshold
name: Shutoff Threshold
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_heater_shutoff_threshold') |
int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
title: Heater Settings
visibility:
- condition: state
entity: input_boolean.emma_bedroom_heater_installed
state: 'on'
show_header_toggle: false
state_color: true
- type: grid
cards:
- type: heading
@@ -1235,10 +1190,6 @@ views:
name_template: >-
{{ states('input_text.tony_custom_med_name_p1') + ' Notify'
}}
- entity: input_boolean.tony_custom_meds_reminder_p1
name: Reminders Active
- entity: counter.tony_custom_meds_reminder_count_p1
name: Reminder Count
visibility:
- condition: state
entity: input_boolean.tony_custom_meds_tracker_p1
@@ -1248,15 +1199,8 @@ views:
show_header_toggle: false
entities:
- entity: input_boolean.tony_ibuprofen_taken
name: Ibuprofen Taken
- entity: input_datetime.tony_ibuprofen_taken
name: Ibuprofen Taken
- entity: input_datetime.tony_ibuprofen_notify
name: Ibuprofen Notify
- entity: input_boolean.tony_ibuprofen_reminder
name: Reminders Active
- entity: counter.tony_ibuprofen_reminder_count
name: Reminder Count
visibility:
- condition: state
entity: input_boolean.tony_ibuprofen_active
@@ -1266,15 +1210,8 @@ views:
show_header_toggle: false
entities:
- entity: input_boolean.tony_tylenol_taken
name: Tylenol Taken
- entity: input_datetime.tony_tylenol_taken
name: Tylenol Taken
- entity: input_datetime.tony_tylenol_notify
name: Tylenol Notify
- entity: input_boolean.tony_tylenol_reminder
name: Reminders Active
- entity: counter.tony_tylenol_reminder_count
name: Reminder Count
visibility:
- condition: state
entity: input_boolean.tony_tylenol_active

View File

@@ -173,25 +173,6 @@ views:
tap_action:
action: navigate
navigation_path: /lovelace/weather
- type: custom:mushroom-template-card
primary: Lightning Warning
secondary: >-
{{
states('sensor.home_tempest_cloud_sensors_lightning_strikes_last_hour')
}} strikes in last hour!
icon: mdi:lightning-bolt
entity: binary_sensor.lightning_warning
color: var(--warning-color)
badge_icon: mdi:exclamation
badge_color: var(--error-color)
tap_action:
action: none
icon_tap_action:
action: none
visibility:
- condition: state
entity: binary_sensor.lightning_warning
state: 'on'
column_span: 1
- type: grid
cards:
@@ -431,7 +412,6 @@ views:
Wal-Mart: at Wal-Mart
School: at the middle school
Hospital: at the hospital
Latty: in Latty
- entity: person.christina_stork
name: Christina Stork
content_template: '{{display_name}} is {{state}}'
@@ -443,7 +423,6 @@ views:
Hospital: at the hospital
Bob Evans: at work
BobEvans: at work
Latty: in Latty
- entity: timer.kallen_timer
- entity: person.kallen_stork
name: Kallen Stork
@@ -454,7 +433,6 @@ views:
Wal-Mart: at Wal-Mart
School: at school
Hospital: at the hospital
Latty: in Latty
- entity: person.emmalynn_stork
- entity: automation.family_has_arrived
content_template: Family Arrived
@@ -2077,25 +2055,14 @@ views:
step: row
control:
hvac:
'off':
name: 'Off'
heat: false
cool:
name: Cool
auto:
name: Auto
dry:
name: Dry
fan_only:
name: Fan Only
preset:
none:
name: Eco Off
eco:
name: Eco On
boost: false
comfort:
name: Comfort
comfort: false
sleep: false
away: false
- type: custom:state-switch
@@ -2462,25 +2429,14 @@ views:
step: row
control:
hvac:
'off':
name: 'Off'
heat: false
cool:
name: Cool
auto:
name: Auto
dry:
name: Dry
fan_only:
name: Fan Only
preset:
none:
name: Eco Off
eco:
name: Eco On
boost: false
comfort:
name: Comfort
comfort: false
sleep: false
away: false
- type: custom:state-switch
@@ -3518,6 +3474,8 @@ views:
heading: Master Bedroom
- type: entities
entities:
- entity: input_select.current_climate_mode_master_bedroom
name: Current Climate Mode
- entity: switch.master_bedroom_aircon_display
name: A/C Display
- entity: switch.master_bedroom_aircon_prompt_tone
@@ -3552,9 +3510,6 @@ views:
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- condition: state
entity: input_boolean.master_bedroom_aircon_installed
state: ''
- type: grid
cards:
- type: heading
@@ -3598,9 +3553,6 @@ views:
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- condition: state
entity: input_boolean.emma_bedroom_aircon_installed
state: 'on'
- type: grid
cards:
- type: heading
@@ -4199,16 +4151,15 @@ views:
state: 'on'
- type: custom:battery-state-card
icon: mdi:harddisk
colors:
steps:
- value: 26
color: blue
- value: 50
color: green
- value: 60
color: yellow
- value: 70
color: red
color_thresholds:
- value: 26
color: blue
- value: 50
color: green
- value: 60
color: yellow
- value: 70
color: red
tap_action:
action: more-info
sort_by_level: desc
@@ -4350,19 +4301,6 @@ views:
numeric: true
reverse: false
ignore_case: false
- type: grid
cards:
- type: heading
heading: AdGuard Home
heading_style: title
- type: custom:adguard-card
device_id: ddb8569dfb13c80653caac866f92c719
switch_style: flex
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- type: grid
cards:
- type: heading
@@ -4407,7 +4345,7 @@ views:
- condition: state
entity: input_select.router_stats
state: History Stats - Upload
max_columns: 4
max_columns: 3
cards: []
- title: Mobile Devices
path: mobile-devices
@@ -4981,16 +4919,15 @@ views:
state: 'on'
- type: custom:battery-state-card
icon: mdi:harddisk
colors:
steps:
- value: 26
color: blue
- value: 50
color: green
- value: 60
color: yellow
- value: 70
color: red
color_thresholds:
- value: 26
color: blue
- value: 50
color: green
- value: 60
color: yellow
- value: 70
color: red
tap_action:
action: more-info
sort_by_level: desc
@@ -5313,16 +5250,15 @@ views:
state: 'on'
- type: custom:battery-state-card
icon: mdi:harddisk
colors:
steps:
- value: 26
color: blue
- value: 50
color: green
- value: 60
color: yellow
- value: 70
color: red
color_thresholds:
- value: 26
color: blue
- value: 50
color: green
- value: 60
color: yellow
- value: 70
color: red
tap_action:
action: more-info
sort_by_level: desc
@@ -5606,16 +5542,15 @@ views:
heading_style: subtitle
- type: custom:battery-state-card
icon: mdi:harddisk
colors:
steps:
- value: 26
color: blue
- value: 50
color: green
- value: 60
color: yellow
- value: 70
color: red
color_thresholds:
- value: 26
color: blue
- value: 50
color: green
- value: 60
color: yellow
- value: 70
color: red
tap_action:
action: more-info
sort_by_level: desc
@@ -5953,63 +5888,6 @@ views:
black
{% endif %}
column_span: 1
- type: grid
cards:
- type: heading
heading_style: title
heading: College Hockey
- type: custom:teamtracker-card
entity: sensor.michigan_wolverines_hockey
visibility:
- condition: state
entity: sensor.michigan_wolverines_hockey
state_not: NOT_FOUND
- condition: state
entity: sensor.michigan_wolverines_hockey
state_not: BYE
- condition: state
entity: binary_sensor.michigan_wolverines_hockey_inhibit
state: 'off'
show_league: false
- type: custom:teamtracker-card
entity: sensor.minnesota_golden_gophers_hockey
visibility:
- condition: state
entity: sensor.minnesota_golden_gophers_hockey
state_not: NOT_FOUND
- condition: state
entity: sensor.minnesota_golden_gophers_hockey
state_not: BYE
- condition: state
entity: binary_sensor.minnesota_golden_gophers_hockey_inhibit
state: 'off'
show_league: false
- type: custom:teamtracker-card
entity: sensor.minnesota_state_mavericks_hockey
visibility:
- condition: state
entity: sensor.minnesota_state_mavericks_hockey
state_not: NOT_FOUND
- condition: state
entity: sensor.minnesota_state_mavericks_hockey
state_not: BYE
- condition: state
entity: binary_sensor.minnesota_state_mavericks_hockey_inhibit
state: 'off'
show_league: false
column_span: 3
visibility:
- condition: or
conditions:
- condition: state
entity: binary_sensor.michigan_wolverines_hockey_inhibit
state: 'off'
- condition: state
entity: binary_sensor.minnesota_golden_gophers_hockey_inhibit
state: 'off'
- condition: state
entity: binary_sensor.minnesota_state_mavericks_hockey_inhibit
state: 'off'
max_columns: 5
cards: []
- theme: Backend-selected
@@ -6275,14 +6153,12 @@ views:
- type: custom:auto-entities
card:
type: entities
show_header_toggle: false
state_color: true
filter:
include:
- options: {}
integration: 01KCMZH58AAJZTZCY1KQNGD3BB
domain: sensor
entity_id: '*status'
state: down
exclude: []
- entity_id: binary_sensor.uptimekuma*
state: 'off'
sort:
method: friendly_name
reverse: false
@@ -6429,26 +6305,6 @@ views:
{{ "Stupid" if
is_state('input_boolean.early_night_mode','on') else "Not
Stupid" }}
- type: custom:bubble-card
card_type: button
button_type: state
entity: weather.iron_nerd_weather_station
modules:
- weather_forecast
weather_forecast:
type: daily
tap_action:
action: navigate
navigation_path: /lovelace/weather
button_action:
tap_action:
action: navigate
navigation_path: /lovelace/weather
rows: '1'
name: Defiance
show_state: true
show_attribute: true
attribute: temperature
- type: grid
cards:
- type: heading
@@ -6562,19 +6418,19 @@ views:
heading: Lightning
heading_style: title
icon: mdi:lightning-bolt
- type: custom:blitzortung-lightning-card
distance_entity: sensor.blitzortung_lightning_distance
counter_entity: sensor.blitzortung_lightning_counter
azimuth_entity: sensor.blitzortung_lightning_azimuth
lightning_detection_radius: 40
period: 1h
grid_color: var(--primary-text-color)
strike_color: var(--error-color)
card_section_order:
- map
- compass_radar
- history_chart
always_show_full_card: false
- type: custom:stack-in-card
cards:
- type: entity
entity: sensor.blitzortung_lightning_counter
name: Strike Counter
state_color: false
- type: iframe
url: >-
https://map.blitzortung.org/index.php?interactive=1&Advertisment=0&Cookies=1&InfoDiv=1&MapStyle=1&LightningRangeValue=23&LightningCheckboxChecked=1&CirclesRangeValue=3&CirclesCheckboxChecked=1&LinksRangeValue=10&LinksCheckboxChecked=1&DetectorsRangeValue=15&DetectorsCheckboxChecked=1#8.50/41.28/-84.38
aspect_ratio: 100%
grid_options:
columns: full
rows: 8
visibility:
- condition: numeric_state
entity: sensor.blitzortung_lightning_counter
@@ -7407,7 +7263,6 @@ views:
type: custom:multiple-entity-row
name: Warnings
state_header: Tornado
icon: wi:tornado
entities:
- entity: binary_sensor.severe_thunderstorm_warning
name: Severe T-storm
@@ -7416,7 +7271,6 @@ views:
name: Wind
format: precision1
state_header: Speed
icon: wi:windy
entities:
- entity: sensor.home_wind_direction_degrees
name: Bearing
@@ -7428,13 +7282,11 @@ views:
type: custom:multiple-entity-row
name: Moisture
state_header: Humidity
icon: wi:humidity
entities:
- entity: sensor.home_tempest_dew_point
name: Dew Point
- entity: sensor.home_tempest_local_slp
name: Barometric Pressure
icon: wi:barometer
- entity: sensor.current_season
icon: mdi:leaf
- entity: sensor.home_tempest_uv_index
@@ -7444,28 +7296,6 @@ views:
- entity: sensor.pirateweather_visibility
name: Visibility
- entity: sensor.temperature_change_per_hour
- entity: sensor.pirateweather_fire_index
name: Fire Index
- entity: sensor.pirateweather_fire_risk_level
name: Fire Risk Level
- entity: sensor.pirateweather_smoke
name: Smoke
- entity: sensor.pirateweather_convective_available_potential_energy
name: CAPE
- entity: sensor.pirateweather_hrrr_0_18_update_time
name: HRRR 0-18 Updated
- entity: sensor.pirateweather_hrrr_18_48_update_time
name: HRRR 18-48 Updated
- entity: sensor.pirateweather_hrrr_subhourly_update_time
name: HRRR SubH Updated
- entity: sensor.pirateweather_gfs_update_time
name: GFS Updated
- entity: sensor.pirateweather_gefs_update_time
name: GEFS Updated
- entity: sensor.pirateweather_nbm_update_time
name: NBM Updated
- entity: sensor.pirateweather_nbm_fire_update_time
name: NBM Fire Updated
show_header_toggle: false
state_color: true
- type: grid
@@ -7708,6 +7538,7 @@ views:
- entity: sensor.kdfi_temperature
- entity: sensor.kdfi_heat_index
- entity: sensor.kdfi_wind_chill
- entity: sensor.stratton_ave_apparent_temperature
show_header_toggle: false
state_color: true
- type: grid
@@ -7725,6 +7556,7 @@ views:
- entity: sensor.openweathermap_pressure
- entity: sensor.pirateweather_pressure
- entity: sensor.outside_pressure
- entity: sensor.stratton_ave_pressure_tendency
- type: grid
cards:
- type: heading
@@ -7764,6 +7596,12 @@ views:
entities:
- entity: sensor.home_uv_index
- entity: sensor.weatherapi_stratton_ave_uv_index
- entity: sensor.stratton_ave_uv_index
- entity: sensor.stratton_ave_uv_index_day_1
- entity: sensor.stratton_ave_uv_index_day_2
- entity: sensor.stratton_ave_uv_index_day_3
- entity: sensor.stratton_ave_uv_index_day_4
- entity: sensor.stratton_ave_uv_index_today
- entity: sensor.pirateweather_uv_index
- entity: sensor.openweathermap_uv_index
show_header_toggle: false

View File

@@ -4215,26 +4215,16 @@ views:
- condition: state
entity: input_boolean.tony_awake
state: 'on'
color: >-
{% set counter = states('counter.tony_morning_meds_reminder_count') |
int %}
color: |-
{% set counter = states('counter.tony_morning_meds_reminder_count') | int %}
{% if is_state('input_boolean.tony_morning_meds_taken','on') %}
var(--success-color)
{% elif counter >= 3 %}
var(--error-color)
{% elif counter >= 1 %}
var(--warning-color)
{% else %}
''
{% endif %}
- type: custom:mushroom-template-badge
content: >-
@@ -4246,9 +4236,8 @@ views:
endif %}
icon: mdi:medication
color: >-
{% set counter = states('counter.tony_afternoon_meds_reminder_count')
| int %} {% if
is_state('input_boolean.tony_afternoon_meds_taken','on') %}
{% set counter = states('counter.tony_afternoon_meds_reminder_count') | int
%} {% if is_state('input_boolean.tony_afternoon_meds_taken','on') %}
var(--success-color) {% elif counter >= 3 %} var(--error-color) {%
elif counter >= 1 %} var(--warning-color) {% else %} '' {% endif %}
entity: input_datetime.tony_afternoon_meds_taken
@@ -4283,26 +4272,16 @@ views:
else %} {{ input_datetime_read('input_datetime.tony_night_meds_taken')
}} {% endif %}
icon: mdi:medication
color: >-
{% set counter = states('counter.tony_night_meds_reminder_count') |
int %}
color: |-
{% set counter = states('counter.tony_night_meds_reminder_count') | int %}
{% if is_state('input_boolean.tony_night_meds_taken','on') %}
var(--success-color)
{% elif counter >= 3 %}
var(--error-color)
{% elif counter >= 1 %}
var(--warning-color)
{% else %}
''
{% endif %}
entity: input_datetime.tony_night_meds_taken
label: Tony Night Meds
@@ -4328,32 +4307,22 @@ views:
- type: custom:mushroom-template-badge
content: >-
{% from 'time.jinja' import input_datetime_read %} {% if
is_state('input_boolean.tina_morning_meds_reminder','on') %} Waiting:
{{ states('counter.tina_morning_meds_reminder_count') | int }}
reminders {% else %} {{
is_state('input_boolean.tina_morning_meds_reminder','on') %} Waiting: {{
states('counter.tina_morning_meds_reminder_count') | int }} reminders
{% else %} {{
input_datetime_read('input_datetime.tina_morning_meds_taken') }} {%
endif %}
icon: mdi:medication
color: >-
{% set counter = states('counter.tina_morning_meds_reminder_count') |
int %}
color: |-
{% set counter = states('counter.tina_morning_meds_reminder_count') | int %}
{% if is_state('input_boolean.tina_morning_meds_taken','on') %}
var(--success-color)
{% elif counter >= 3 %}
var(--error-color)
{% elif counter >= 1 %}
var(--warning-color)
{% else %}
''
{% endif %}
entity: input_datetime.tina_morning_meds_taken
label: Tina Morning Meds
@@ -4384,26 +4353,16 @@ views:
else %} {{ input_datetime_read('input_datetime.tina_night_meds_taken')
}} {% endif %}
icon: mdi:medication
color: >-
{% set counter = states('counter.tina_night_meds_reminder_count') |
int %}
color: |-
{% set counter = states('counter.tina_night_meds_reminder_count') | int %}
{% if is_state('input_boolean.tina_night_meds_taken','on') %}
var(--success-color)
{% elif counter >= 3 %}
var(--error-color)
{% elif counter >= 1 %}
var(--warning-color)
{% else %}
''
{% endif %}
entity: input_datetime.tina_night_meds_taken
label: Tina Night Meds
@@ -4436,8 +4395,8 @@ views:
endif %}
icon: mdi:medication
color: >-
{% set counter = states('counter.kallen_morning_meds_reminder_count')
| int %}
{% set counter = states('counter.kallen_morning_meds_reminder_count') | int
%}
{% if is_state('input_boolean.kallen_morning_meds_taken','on') %}
@@ -4490,26 +4449,16 @@ views:
input_datetime_read('input_datetime.kallen_night_meds_taken') }} {%
endif %}
icon: mdi:medication
color: >-
{% set counter = states('counter.kallen_night_meds_reminder_count') |
int %}
color: |-
{% set counter = states('counter.kallen_night_meds_reminder_count') | int %}
{% if is_state('input_boolean.kallen_night_meds_taken','on') %}
var(--success-color)
{% elif counter >= 3 %}
var(--error-color)
{% elif counter >= 1 %}
var(--warning-color)
{% else %}
''
{% endif %}
entity: input_datetime.kallen_night_meds_taken
label: Kallen Night Meds
@@ -5468,10 +5417,6 @@ views:
name_template: >-
{{ states('input_text.tony_custom_med_name_p1') + ' Notify'
}}
- entity: input_boolean.tony_custom_meds_reminder_p1
name: Reminders Active
- entity: counter.tony_custom_meds_reminder_count_p1
name: Reminder Count
visibility:
- condition: state
entity: input_boolean.tony_custom_meds_tracker_p1
@@ -5481,15 +5426,8 @@ views:
show_header_toggle: false
entities:
- entity: input_boolean.tony_ibuprofen_taken
name: Ibuprofen Taken
- entity: input_datetime.tony_ibuprofen_taken
name: Ibuprofen Taken
- entity: input_datetime.tony_ibuprofen_notify
name: Ibuprofen Notify
- entity: input_boolean.tony_ibuprofen_reminder
name: Reminders Active
- entity: counter.tony_ibuprofen_reminder_count
name: Reminder Count
visibility:
- condition: state
entity: input_boolean.tony_ibuprofen_active
@@ -5499,15 +5437,8 @@ views:
show_header_toggle: false
entities:
- entity: input_boolean.tony_tylenol_taken
name: Tylenol Taken
- entity: input_datetime.tony_tylenol_taken
name: Tylenol Taken
- entity: input_datetime.tony_tylenol_notify
name: Tylenol Notify
- entity: input_boolean.tony_tylenol_reminder
name: Reminders Active
- entity: counter.tony_tylenol_reminder_count
name: Reminder Count
visibility:
- condition: state
entity: input_boolean.tony_tylenol_active
@@ -6159,63 +6090,6 @@ views:
black
{% endif %}
column_span: 1
- type: grid
cards:
- type: heading
heading_style: title
heading: College Hockey
- type: custom:teamtracker-card
entity: sensor.michigan_wolverines_hockey
visibility:
- condition: state
entity: sensor.michigan_wolverines_hockey
state_not: NOT_FOUND
- condition: state
entity: sensor.michigan_wolverines_hockey
state_not: BYE
- condition: state
entity: binary_sensor.michigan_wolverines_hockey_inhibit
state: 'off'
show_league: false
- type: custom:teamtracker-card
entity: sensor.minnesota_golden_gophers_hockey
visibility:
- condition: state
entity: sensor.minnesota_golden_gophers_hockey
state_not: NOT_FOUND
- condition: state
entity: sensor.minnesota_golden_gophers_hockey
state_not: BYE
- condition: state
entity: binary_sensor.minnesota_golden_gophers_hockey_inhibit
state: 'off'
show_league: false
- type: custom:teamtracker-card
entity: sensor.minnesota_state_mavericks_hockey
visibility:
- condition: state
entity: sensor.minnesota_state_mavericks_hockey
state_not: NOT_FOUND
- condition: state
entity: sensor.minnesota_state_mavericks_hockey
state_not: BYE
- condition: state
entity: binary_sensor.minnesota_state_mavericks_hockey_inhibit
state: 'off'
show_league: false
column_span: 3
visibility:
- condition: or
conditions:
- condition: state
entity: binary_sensor.michigan_wolverines_hockey_inhibit
state: 'off'
- condition: state
entity: binary_sensor.minnesota_golden_gophers_hockey_inhibit
state: 'off'
- condition: state
entity: binary_sensor.minnesota_state_mavericks_hockey_inhibit
state: 'off'
max_columns: 5
cards: []
subview: true
@@ -6348,89 +6222,6 @@ views:
- condition: state
entity: input_boolean.master_bedroom_aircon_installed
state: 'on'
- type: heading
icon: m3o:schedule
heading: Scheduling
heading_style: title
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- type: entities
entities:
- entity: input_select.scheduled_climate_mode_master_bedroom_aircon
name: Scheduled Mode - Aircon
- entity: input_select.scheduled_climate_mode_master_bedroom_fan
name: Scheduled Mode - Fan
- entity: input_datetime.master_bedroom_cooling
name: Cooling
- entity: input_datetime.master_bedroom_fan
name: Fan
- entity: input_boolean.master_bedroom_climate_override
name: Climate Schedule Override
state_color: true
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- type: heading
icon: m3of:data-thresholding
heading: Thresholds
heading_style: title
visibility:
- condition: user
users:
- c3909d27048140729f002aaef0391775
- type: entities
entities:
- entity: input_number.master_bedroom_fan_threshold
name: Fan
- entity: input_number.master_bedroom_aircon_run_threshold
name: Aircon Run
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_aircon_run_threshold') |
int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
- entity: input_number.master_bedroom_aircon_mode_threshold
name: Aircon Mode
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_aircon_mode_threshold') |
int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
- entity: input_number.master_bedroom_auto_cooling_threshold
name: Auto Cooling
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_auto_cooling_threshold') |
int %} {% set roomtemp =
states('sensor.master_bedroom_temperature') | int %} {{
'Threshold Met' if roomtemp >= threshold else '' }}
- entity: input_number.master_bedroom_mode_switch_threshold
name: Mode Switch
secondary_info: >
{% set threshold =
states('input_number.master_bedroom_mode_switch_threshold') |
int %} {% set high = states('sensor.todays_high_temp') | int
%} {{ 'Threshold Met' if high >= threshold else '' }}
- entity: input_boolean.master_bedroom_aircon_installed
name: Aircon Installed
- entity: input_boolean.master_bedroom_climate_protocol
name: Climate Automations
visibility:
- condition: and
conditions:
- condition: state
entity: input_boolean.master_bedroom_aircon_installed
state: 'on'
- condition: user
users:
- c3909d27048140729f002aaef0391775
show_header_toggle: false
state_color: true
visibility:
- condition: user
users:
@@ -6476,87 +6267,6 @@ views:
- condition: state
entity: input_boolean.emma_bedroom_aircon_installed
state: 'on'
- type: heading
icon: m3o:schedule
heading: Scheduling
heading_style: title
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- type: entities
entities:
- entity: input_select.scheduled_climate_mode_emma_bedroom
name: Scheduled Mode
- entity: input_datetime.emma_bedroom_climate
name: Climate
- entity: input_boolean.emma_bedroom_climate_override
name: Climate Schedule Override
state_color: true
visibility:
- condition: user
users:
- f387a983651a4321a7411ff8cf36f949
- c3909d27048140729f002aaef0391775
- type: heading
icon: m3of:data-thresholding
heading: Thresholds
heading_style: title
visibility:
- condition: user
users:
- c3909d27048140729f002aaef0391775
- type: entities
entities:
- entity: input_number.emma_bedroom_aircon_run_threshold
name: Run Threshold
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_aircon_run_threshold') | int
%} {% set low = states('sensor.tonights_low_temp') | int %} {{
'Threshold Met' if low >= threshold else '' }}
- entity: input_number.emma_bedroom_aircon_mode_threshold
name: Mode Threshold
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_aircon_mode_threshold') |
int %} {% set low = states('sensor.tonights_low_temp') | int
%} {{ 'Threshold Met' if low >= threshold else '' }}
- entity: input_number.emma_bedroom_auto_cooling_threshold
name: EBR Auto Cooling
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_auto_cooling_threshold') |
int %} {% set roomtemp =
states('sensor.emma_bedroom_temperature') | int %} {{
'Threshold Met' if roomtemp >= threshold else '' }}
- entity: input_number.emma_bedroom_mode_switch_threshold
name: EBR Mode Switch
secondary_info: >
{% set threshold =
states('input_number.emma_bedroom_mode_switch_threshold') |
int %} {% set high = states('sensor.todays_high_temp') | int
%} {{ 'Threshold Met' if high >= threshold else '' }}
- entity: input_boolean.emma_bedroom_aircon_installed
name: Aircon Installed
- entity: input_boolean.emma_bedroom_heater_installed
name: Heater Installed
- entity: input_boolean.emma_bedroom_climate_protocol
name: Climate Automations
- entity: switch.emma_bedroom_climate_watchdog
name: Climate Watchdog
visibility:
- condition: and
conditions:
- condition: state
entity: input_boolean.emma_bedroom_aircon_installed
state: 'on'
- condition: user
users:
- c3909d27048140729f002aaef0391775
show_header_toggle: false
state_color: true
visibility:
- condition: user
users: