Compare commits
28 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
3a23f242d8
|
|||
|
ccc4f2a31e
|
|||
|
3df12d4022
|
|||
|
f66de6300f
|
|||
|
0d12bd36cd
|
|||
|
fc70e23f6b
|
|||
|
1a09755fe9
|
|||
|
6df5503432
|
|||
|
a95433bc7b
|
|||
|
0e8a2f355c
|
|||
|
8038c7eb7c
|
|||
|
d203051b4c
|
|||
|
0eec9bbb51
|
|||
|
d7e2c86dc1
|
|||
|
3cb7eed47c
|
|||
|
76e221f65d
|
|||
|
5c974b463d
|
|||
|
9f20c9f59e
|
|||
|
b9c263db16
|
|||
|
cb8ffaed51
|
|||
|
bdb82c87fa
|
|||
|
c1fc03250b
|
|||
|
16864d1cd3
|
|||
|
d9c620094e
|
|||
|
d3473f382f
|
|||
|
6daed2edca
|
|||
|
01c81305c3
|
|||
|
fd184d6548
|
@@ -919,8 +919,8 @@ views:
|
||||
heading: Emma
|
||||
- type: entities
|
||||
entities:
|
||||
- entity: input_datetime.emma_bedroom_cooling
|
||||
name: Cooling
|
||||
- entity: input_datetime.emma_bedroom_climate
|
||||
name: Climate
|
||||
- entity: input_datetime.emma_bedtime
|
||||
name: Bedtime
|
||||
- entity: input_datetime.emma_wakeup
|
||||
@@ -982,112 +982,6 @@ 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
|
||||
@@ -1140,6 +1034,185 @@ views:
|
||||
state_color: true
|
||||
title: Weather
|
||||
column_span: 1
|
||||
- type: grid
|
||||
cards:
|
||||
- type: heading
|
||||
heading: Thresholds
|
||||
heading_style: title
|
||||
- type: custom:auto-entities
|
||||
card:
|
||||
type: entities
|
||||
filter:
|
||||
include:
|
||||
- options: {}
|
||||
domain: input_number
|
||||
entity_id: '*hot_threshold'
|
||||
sort:
|
||||
method: entity_id
|
||||
exclude: []
|
||||
- type: custom:auto-entities
|
||||
card:
|
||||
type: entities
|
||||
filter:
|
||||
include:
|
||||
- options: {}
|
||||
domain: input_number
|
||||
entity_id: '*cold_threshold'
|
||||
sort:
|
||||
method: entity_id
|
||||
exclude: []
|
||||
column_span: 2
|
||||
- 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
|
||||
@@ -1190,6 +1263,10 @@ 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
|
||||
@@ -1199,8 +1276,15 @@ 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
|
||||
@@ -1210,8 +1294,15 @@ 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
|
||||
|
||||
1093
main_dashboard.yaml
1093
main_dashboard.yaml
File diff suppressed because it is too large
Load Diff
@@ -481,19 +481,32 @@ views:
|
||||
- condition: state
|
||||
entity: sensor.weatheralerts_alerts_are_active
|
||||
state: 'Yes'
|
||||
- type: custom:clock-weather-card
|
||||
entity: weather.iron_nerd_weather_station
|
||||
sun_entity: sun.sun
|
||||
weather_icon_type: fill
|
||||
humidity_sensor: sensor.home_relative_humidity
|
||||
show_humidity: true
|
||||
apparent_sensor: sensor.home_temperature_feels_like
|
||||
animated_icon: true
|
||||
forecast_rows: 7
|
||||
time_format: 12
|
||||
- type: custom:weather-forecast-card
|
||||
show_current: true
|
||||
show_forecast: true
|
||||
default_forecast: daily
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /lovelace/weather
|
||||
entity: weather.iron_nerd_weather_station
|
||||
show_condition_effects: true
|
||||
forecast:
|
||||
mode: chart
|
||||
show_sun_times: true
|
||||
extra_attribute: wind_bearing
|
||||
use_color_thresholds: false
|
||||
hourly_group_size: 1
|
||||
temperature_precision: 0
|
||||
forecast_action:
|
||||
tap_action:
|
||||
action: toggle-forecast
|
||||
current:
|
||||
show_attributes:
|
||||
- apparent_temperature
|
||||
- visibility
|
||||
- pressure
|
||||
- wind_speed
|
||||
temperature_precision: 0
|
||||
- type: heading
|
||||
icon: mdi:home-account
|
||||
heading: People
|
||||
@@ -3659,14 +3672,88 @@ views:
|
||||
button_type: name
|
||||
name: Gas Prices
|
||||
icon: mdi:gas-station
|
||||
- type: entities
|
||||
entities:
|
||||
- entity: sensor.local_minimum_gas_price
|
||||
name: Minimum
|
||||
- entity: sensor.local_average_gas_price
|
||||
name: Average
|
||||
- entity: sensor.local_maximum_gas_price
|
||||
name: Maximum
|
||||
sub_button:
|
||||
main: []
|
||||
bottom: []
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:gauge-card-pro
|
||||
entity: sensor.local_minimum_gas_price
|
||||
segments:
|
||||
- pos: 2
|
||||
color: var(--success-color)
|
||||
- pos: 3
|
||||
color: var(--warning-color)
|
||||
- pos: 4
|
||||
color: var(--error-color)
|
||||
needle: true
|
||||
gradient: true
|
||||
titles:
|
||||
primary: Minimum
|
||||
gradient_resolution: auto
|
||||
min: 2
|
||||
max: 4
|
||||
round: small
|
||||
value_texts:
|
||||
primary: |-
|
||||
{% if states(entity) in ['unavailable','unknown'] %}
|
||||
?
|
||||
{% else %}
|
||||
{{ states(entity) }}
|
||||
{% endif %}
|
||||
primary_unit: '{{ '''' }}'
|
||||
- type: custom:gauge-card-pro
|
||||
entity: sensor.local_average_gas_price
|
||||
segments:
|
||||
- pos: 2
|
||||
color: var(--success-color)
|
||||
- pos: 3
|
||||
color: var(--warning-color)
|
||||
- pos: 4
|
||||
color: var(--error-color)
|
||||
needle: true
|
||||
gradient: true
|
||||
titles:
|
||||
primary: Average
|
||||
gradient_resolution: auto
|
||||
min: 2
|
||||
max: 4
|
||||
round: small
|
||||
value_texts:
|
||||
primary: |-
|
||||
{% if states(entity) in ['unavailable','unknown'] %}
|
||||
?
|
||||
{% else %}
|
||||
{{ states(entity) }}
|
||||
{% endif %}
|
||||
primary_unit: '{{ '''' }}'
|
||||
- type: custom:gauge-card-pro
|
||||
entity: sensor.local_maximum_gas_price
|
||||
segments:
|
||||
- pos: 2
|
||||
color: var(--success-color)
|
||||
- pos: 3
|
||||
color: var(--warning-color)
|
||||
- pos: 4
|
||||
color: var(--error-color)
|
||||
needle: true
|
||||
gradient: true
|
||||
titles:
|
||||
primary: Maximum
|
||||
gradient_resolution: auto
|
||||
min: 2
|
||||
max: 4
|
||||
round: small
|
||||
value_texts:
|
||||
primary: |-
|
||||
{% if states(entity) in ['unavailable','unknown'] %}
|
||||
?
|
||||
{% else %}
|
||||
{{ states(entity) }}
|
||||
{% endif %}
|
||||
primary_font_size_reduction: 0
|
||||
primary_unit_before_value: true
|
||||
primary_unit: '{{ '''' }}'
|
||||
- type: custom:auto-entities
|
||||
card:
|
||||
type: entities
|
||||
@@ -4145,7 +4232,9 @@ views:
|
||||
state_not: No Risk
|
||||
- type: custom:mushroom-template-badge
|
||||
content: |-
|
||||
{% if is_state(entity,'on') %}
|
||||
{% if is_state('input_boolean.recliner_mode','on') %}
|
||||
Recliner Mode
|
||||
{% elif is_state(entity,'on') %}
|
||||
Do Not Enter
|
||||
{% elif is_state('input_boolean.studio_quiet','on') %}
|
||||
Studio Quiet
|
||||
@@ -4154,21 +4243,35 @@ views:
|
||||
{% endif %}
|
||||
entity: input_boolean.do_not_enter_basement_studio
|
||||
label: Basement Status
|
||||
color: |-
|
||||
{% if is_state(entity,'on') %}
|
||||
color: >-
|
||||
{% if is_state(entity,'on') or
|
||||
is_state('input_boolean.recliner_mode','on') %}
|
||||
|
||||
var(--error-color)
|
||||
|
||||
{% elif is_state('input_boolean.studio_quiet','on') %}
|
||||
|
||||
var(--warning-color)
|
||||
|
||||
{% else %}
|
||||
|
||||
var(--success-color)
|
||||
|
||||
{% endif %}
|
||||
icon: |-
|
||||
{% if is_state(entity,'on') %}
|
||||
icon: >-
|
||||
{% if is_state(entity,'on') or
|
||||
is_state('input_boolean.recliner_mode','on') %}
|
||||
|
||||
mdi:close-circle
|
||||
|
||||
{% elif is_state('input_boolean.studio_quiet','on') %}
|
||||
|
||||
mdi:alert
|
||||
|
||||
{% else %}
|
||||
|
||||
mdi:check-circle
|
||||
|
||||
{% endif %}
|
||||
tap_action:
|
||||
action: none
|
||||
@@ -4215,16 +4318,26 @@ 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: >-
|
||||
@@ -4236,8 +4349,9 @@ 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
|
||||
@@ -4272,16 +4386,26 @@ 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
|
||||
@@ -4307,22 +4431,32 @@ 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
|
||||
@@ -4353,16 +4487,26 @@ 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
|
||||
@@ -4395,8 +4539,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') %}
|
||||
|
||||
@@ -4449,16 +4593,26 @@ 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
|
||||
@@ -5417,6 +5571,10 @@ 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
|
||||
@@ -5426,8 +5584,15 @@ 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
|
||||
@@ -5437,8 +5602,15 @@ 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
|
||||
@@ -5514,10 +5686,14 @@ views:
|
||||
entities:
|
||||
- entity: binary_sensor.tony_desktop_on
|
||||
name: Status
|
||||
- entity: button.tony_asus_satellite_reboot
|
||||
name: Reboot
|
||||
confirmation: true
|
||||
- entity: button.tony_asus_satellite_shutdown
|
||||
name: Shutdown
|
||||
confirmation: true
|
||||
- entity: script.tony_desktop_wake
|
||||
name: Wake
|
||||
- entity: script.tony_desktop_shutdown
|
||||
name: Shutdown
|
||||
show_header_toggle: false
|
||||
state_color: true
|
||||
visible:
|
||||
@@ -5607,10 +5783,12 @@ views:
|
||||
entities:
|
||||
- entity: binary_sensor.tina_desktop_on
|
||||
name: Status
|
||||
- entity: button.xia_desktop_reboot
|
||||
name: Reboot
|
||||
- entity: button.xia_desktop_shutdown
|
||||
name: Shutdown
|
||||
- entity: script.tina_desktop_wake
|
||||
name: Wake
|
||||
- entity: script.tina_desktop_shutdown
|
||||
name: Shutdown
|
||||
show_header_toggle: false
|
||||
state_color: true
|
||||
- title: Kallen
|
||||
@@ -6090,6 +6268,63 @@ 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
|
||||
@@ -6222,6 +6457,89 @@ 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:
|
||||
@@ -6267,6 +6585,87 @@ 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:
|
||||
@@ -6460,6 +6859,10 @@ views:
|
||||
- entity: zone.latty
|
||||
hours_to_show: 24
|
||||
theme_mode: dark
|
||||
grid_options:
|
||||
columns: full
|
||||
rows: 8
|
||||
column_span: 2
|
||||
- type: grid
|
||||
cards:
|
||||
- type: heading
|
||||
|
||||
Reference in New Issue
Block a user