Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
cb8ffaed51
|
|||
|
bdb82c87fa
|
|||
|
c1fc03250b
|
|||
|
16864d1cd3
|
|||
|
d9c620094e
|
|||
|
d3473f382f
|
@@ -1190,6 +1190,10 @@ views:
|
|||||||
name_template: >-
|
name_template: >-
|
||||||
{{ states('input_text.tony_custom_med_name_p1') + ' Notify'
|
{{ 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:
|
visibility:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity: input_boolean.tony_custom_meds_tracker_p1
|
entity: input_boolean.tony_custom_meds_tracker_p1
|
||||||
@@ -1199,8 +1203,15 @@ views:
|
|||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
entities:
|
entities:
|
||||||
- entity: input_boolean.tony_ibuprofen_taken
|
- entity: input_boolean.tony_ibuprofen_taken
|
||||||
|
name: Ibuprofen Taken
|
||||||
- entity: input_datetime.tony_ibuprofen_taken
|
- entity: input_datetime.tony_ibuprofen_taken
|
||||||
|
name: Ibuprofen Taken
|
||||||
- entity: input_datetime.tony_ibuprofen_notify
|
- 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:
|
visibility:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity: input_boolean.tony_ibuprofen_active
|
entity: input_boolean.tony_ibuprofen_active
|
||||||
@@ -1210,8 +1221,15 @@ views:
|
|||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
entities:
|
entities:
|
||||||
- entity: input_boolean.tony_tylenol_taken
|
- entity: input_boolean.tony_tylenol_taken
|
||||||
|
name: Tylenol Taken
|
||||||
- entity: input_datetime.tony_tylenol_taken
|
- entity: input_datetime.tony_tylenol_taken
|
||||||
|
name: Tylenol Taken
|
||||||
- entity: input_datetime.tony_tylenol_notify
|
- 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:
|
visibility:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity: input_boolean.tony_tylenol_active
|
entity: input_boolean.tony_tylenol_active
|
||||||
|
|||||||
@@ -431,6 +431,7 @@ views:
|
|||||||
Wal-Mart: at Wal-Mart
|
Wal-Mart: at Wal-Mart
|
||||||
School: at the middle school
|
School: at the middle school
|
||||||
Hospital: at the hospital
|
Hospital: at the hospital
|
||||||
|
Latty: in Latty
|
||||||
- entity: person.christina_stork
|
- entity: person.christina_stork
|
||||||
name: Christina Stork
|
name: Christina Stork
|
||||||
content_template: '{{display_name}} is {{state}}'
|
content_template: '{{display_name}} is {{state}}'
|
||||||
@@ -442,6 +443,7 @@ views:
|
|||||||
Hospital: at the hospital
|
Hospital: at the hospital
|
||||||
Bob Evans: at work
|
Bob Evans: at work
|
||||||
BobEvans: at work
|
BobEvans: at work
|
||||||
|
Latty: in Latty
|
||||||
- entity: timer.kallen_timer
|
- entity: timer.kallen_timer
|
||||||
- entity: person.kallen_stork
|
- entity: person.kallen_stork
|
||||||
name: Kallen Stork
|
name: Kallen Stork
|
||||||
@@ -452,6 +454,7 @@ views:
|
|||||||
Wal-Mart: at Wal-Mart
|
Wal-Mart: at Wal-Mart
|
||||||
School: at school
|
School: at school
|
||||||
Hospital: at the hospital
|
Hospital: at the hospital
|
||||||
|
Latty: in Latty
|
||||||
- entity: person.emmalynn_stork
|
- entity: person.emmalynn_stork
|
||||||
- entity: automation.family_has_arrived
|
- entity: automation.family_has_arrived
|
||||||
content_template: Family Arrived
|
content_template: Family Arrived
|
||||||
@@ -4190,15 +4193,16 @@ views:
|
|||||||
state: 'on'
|
state: 'on'
|
||||||
- type: custom:battery-state-card
|
- type: custom:battery-state-card
|
||||||
icon: mdi:harddisk
|
icon: mdi:harddisk
|
||||||
color_thresholds:
|
colors:
|
||||||
- value: 26
|
steps:
|
||||||
color: blue
|
- value: 26
|
||||||
- value: 50
|
color: blue
|
||||||
color: green
|
- value: 50
|
||||||
- value: 60
|
color: green
|
||||||
color: yellow
|
- value: 60
|
||||||
- value: 70
|
color: yellow
|
||||||
color: red
|
- value: 70
|
||||||
|
color: red
|
||||||
tap_action:
|
tap_action:
|
||||||
action: more-info
|
action: more-info
|
||||||
sort_by_level: desc
|
sort_by_level: desc
|
||||||
@@ -4958,15 +4962,16 @@ views:
|
|||||||
state: 'on'
|
state: 'on'
|
||||||
- type: custom:battery-state-card
|
- type: custom:battery-state-card
|
||||||
icon: mdi:harddisk
|
icon: mdi:harddisk
|
||||||
color_thresholds:
|
colors:
|
||||||
- value: 26
|
steps:
|
||||||
color: blue
|
- value: 26
|
||||||
- value: 50
|
color: blue
|
||||||
color: green
|
- value: 50
|
||||||
- value: 60
|
color: green
|
||||||
color: yellow
|
- value: 60
|
||||||
- value: 70
|
color: yellow
|
||||||
color: red
|
- value: 70
|
||||||
|
color: red
|
||||||
tap_action:
|
tap_action:
|
||||||
action: more-info
|
action: more-info
|
||||||
sort_by_level: desc
|
sort_by_level: desc
|
||||||
@@ -5289,15 +5294,16 @@ views:
|
|||||||
state: 'on'
|
state: 'on'
|
||||||
- type: custom:battery-state-card
|
- type: custom:battery-state-card
|
||||||
icon: mdi:harddisk
|
icon: mdi:harddisk
|
||||||
color_thresholds:
|
colors:
|
||||||
- value: 26
|
steps:
|
||||||
color: blue
|
- value: 26
|
||||||
- value: 50
|
color: blue
|
||||||
color: green
|
- value: 50
|
||||||
- value: 60
|
color: green
|
||||||
color: yellow
|
- value: 60
|
||||||
- value: 70
|
color: yellow
|
||||||
color: red
|
- value: 70
|
||||||
|
color: red
|
||||||
tap_action:
|
tap_action:
|
||||||
action: more-info
|
action: more-info
|
||||||
sort_by_level: desc
|
sort_by_level: desc
|
||||||
@@ -5581,15 +5587,16 @@ views:
|
|||||||
heading_style: subtitle
|
heading_style: subtitle
|
||||||
- type: custom:battery-state-card
|
- type: custom:battery-state-card
|
||||||
icon: mdi:harddisk
|
icon: mdi:harddisk
|
||||||
color_thresholds:
|
colors:
|
||||||
- value: 26
|
steps:
|
||||||
color: blue
|
- value: 26
|
||||||
- value: 50
|
color: blue
|
||||||
color: green
|
- value: 50
|
||||||
- value: 60
|
color: green
|
||||||
color: yellow
|
- value: 60
|
||||||
- value: 70
|
color: yellow
|
||||||
color: red
|
- value: 70
|
||||||
|
color: red
|
||||||
tap_action:
|
tap_action:
|
||||||
action: more-info
|
action: more-info
|
||||||
sort_by_level: desc
|
sort_by_level: desc
|
||||||
|
|||||||
@@ -4215,16 +4215,26 @@ views:
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity: input_boolean.tony_awake
|
entity: input_boolean.tony_awake
|
||||||
state: 'on'
|
state: 'on'
|
||||||
color: |-
|
color: >-
|
||||||
{% set counter = states('counter.tony_morning_meds_reminder_count') | int %}
|
{% set counter = states('counter.tony_morning_meds_reminder_count') |
|
||||||
|
int %}
|
||||||
|
|
||||||
{% if is_state('input_boolean.tony_morning_meds_taken','on') %}
|
{% if is_state('input_boolean.tony_morning_meds_taken','on') %}
|
||||||
|
|
||||||
var(--success-color)
|
var(--success-color)
|
||||||
|
|
||||||
{% elif counter >= 3 %}
|
{% elif counter >= 3 %}
|
||||||
|
|
||||||
var(--error-color)
|
var(--error-color)
|
||||||
|
|
||||||
{% elif counter >= 1 %}
|
{% elif counter >= 1 %}
|
||||||
|
|
||||||
var(--warning-color)
|
var(--warning-color)
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
''
|
''
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
- type: custom:mushroom-template-badge
|
- type: custom:mushroom-template-badge
|
||||||
content: >-
|
content: >-
|
||||||
@@ -4236,8 +4246,9 @@ views:
|
|||||||
endif %}
|
endif %}
|
||||||
icon: mdi:medication
|
icon: mdi:medication
|
||||||
color: >-
|
color: >-
|
||||||
{% set counter = states('counter.tony_afternoon_meds_reminder_count') | int
|
{% set counter = states('counter.tony_afternoon_meds_reminder_count')
|
||||||
%} {% if is_state('input_boolean.tony_afternoon_meds_taken','on') %}
|
| int %} {% if
|
||||||
|
is_state('input_boolean.tony_afternoon_meds_taken','on') %}
|
||||||
var(--success-color) {% elif counter >= 3 %} var(--error-color) {%
|
var(--success-color) {% elif counter >= 3 %} var(--error-color) {%
|
||||||
elif counter >= 1 %} var(--warning-color) {% else %} '' {% endif %}
|
elif counter >= 1 %} var(--warning-color) {% else %} '' {% endif %}
|
||||||
entity: input_datetime.tony_afternoon_meds_taken
|
entity: input_datetime.tony_afternoon_meds_taken
|
||||||
@@ -4272,16 +4283,26 @@ views:
|
|||||||
else %} {{ input_datetime_read('input_datetime.tony_night_meds_taken')
|
else %} {{ input_datetime_read('input_datetime.tony_night_meds_taken')
|
||||||
}} {% endif %}
|
}} {% endif %}
|
||||||
icon: mdi:medication
|
icon: mdi:medication
|
||||||
color: |-
|
color: >-
|
||||||
{% set counter = states('counter.tony_night_meds_reminder_count') | int %}
|
{% set counter = states('counter.tony_night_meds_reminder_count') |
|
||||||
|
int %}
|
||||||
|
|
||||||
{% if is_state('input_boolean.tony_night_meds_taken','on') %}
|
{% if is_state('input_boolean.tony_night_meds_taken','on') %}
|
||||||
|
|
||||||
var(--success-color)
|
var(--success-color)
|
||||||
|
|
||||||
{% elif counter >= 3 %}
|
{% elif counter >= 3 %}
|
||||||
|
|
||||||
var(--error-color)
|
var(--error-color)
|
||||||
|
|
||||||
{% elif counter >= 1 %}
|
{% elif counter >= 1 %}
|
||||||
|
|
||||||
var(--warning-color)
|
var(--warning-color)
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
''
|
''
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
entity: input_datetime.tony_night_meds_taken
|
entity: input_datetime.tony_night_meds_taken
|
||||||
label: Tony Night Meds
|
label: Tony Night Meds
|
||||||
@@ -4307,22 +4328,32 @@ views:
|
|||||||
- type: custom:mushroom-template-badge
|
- type: custom:mushroom-template-badge
|
||||||
content: >-
|
content: >-
|
||||||
{% from 'time.jinja' import input_datetime_read %} {% if
|
{% from 'time.jinja' import input_datetime_read %} {% if
|
||||||
is_state('input_boolean.tina_morning_meds_reminder','on') %} Waiting: {{
|
is_state('input_boolean.tina_morning_meds_reminder','on') %} Waiting:
|
||||||
states('counter.tina_morning_meds_reminder_count') | int }} reminders
|
{{ states('counter.tina_morning_meds_reminder_count') | int }}
|
||||||
{% else %} {{
|
reminders {% else %} {{
|
||||||
input_datetime_read('input_datetime.tina_morning_meds_taken') }} {%
|
input_datetime_read('input_datetime.tina_morning_meds_taken') }} {%
|
||||||
endif %}
|
endif %}
|
||||||
icon: mdi:medication
|
icon: mdi:medication
|
||||||
color: |-
|
color: >-
|
||||||
{% set counter = states('counter.tina_morning_meds_reminder_count') | int %}
|
{% set counter = states('counter.tina_morning_meds_reminder_count') |
|
||||||
|
int %}
|
||||||
|
|
||||||
{% if is_state('input_boolean.tina_morning_meds_taken','on') %}
|
{% if is_state('input_boolean.tina_morning_meds_taken','on') %}
|
||||||
|
|
||||||
var(--success-color)
|
var(--success-color)
|
||||||
|
|
||||||
{% elif counter >= 3 %}
|
{% elif counter >= 3 %}
|
||||||
|
|
||||||
var(--error-color)
|
var(--error-color)
|
||||||
|
|
||||||
{% elif counter >= 1 %}
|
{% elif counter >= 1 %}
|
||||||
|
|
||||||
var(--warning-color)
|
var(--warning-color)
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
''
|
''
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
entity: input_datetime.tina_morning_meds_taken
|
entity: input_datetime.tina_morning_meds_taken
|
||||||
label: Tina Morning Meds
|
label: Tina Morning Meds
|
||||||
@@ -4353,16 +4384,26 @@ views:
|
|||||||
else %} {{ input_datetime_read('input_datetime.tina_night_meds_taken')
|
else %} {{ input_datetime_read('input_datetime.tina_night_meds_taken')
|
||||||
}} {% endif %}
|
}} {% endif %}
|
||||||
icon: mdi:medication
|
icon: mdi:medication
|
||||||
color: |-
|
color: >-
|
||||||
{% set counter = states('counter.tina_night_meds_reminder_count') | int %}
|
{% set counter = states('counter.tina_night_meds_reminder_count') |
|
||||||
|
int %}
|
||||||
|
|
||||||
{% if is_state('input_boolean.tina_night_meds_taken','on') %}
|
{% if is_state('input_boolean.tina_night_meds_taken','on') %}
|
||||||
|
|
||||||
var(--success-color)
|
var(--success-color)
|
||||||
|
|
||||||
{% elif counter >= 3 %}
|
{% elif counter >= 3 %}
|
||||||
|
|
||||||
var(--error-color)
|
var(--error-color)
|
||||||
|
|
||||||
{% elif counter >= 1 %}
|
{% elif counter >= 1 %}
|
||||||
|
|
||||||
var(--warning-color)
|
var(--warning-color)
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
''
|
''
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
entity: input_datetime.tina_night_meds_taken
|
entity: input_datetime.tina_night_meds_taken
|
||||||
label: Tina Night Meds
|
label: Tina Night Meds
|
||||||
@@ -4395,8 +4436,8 @@ views:
|
|||||||
endif %}
|
endif %}
|
||||||
icon: mdi:medication
|
icon: mdi:medication
|
||||||
color: >-
|
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') %}
|
{% if is_state('input_boolean.kallen_morning_meds_taken','on') %}
|
||||||
|
|
||||||
@@ -4449,16 +4490,26 @@ views:
|
|||||||
input_datetime_read('input_datetime.kallen_night_meds_taken') }} {%
|
input_datetime_read('input_datetime.kallen_night_meds_taken') }} {%
|
||||||
endif %}
|
endif %}
|
||||||
icon: mdi:medication
|
icon: mdi:medication
|
||||||
color: |-
|
color: >-
|
||||||
{% set counter = states('counter.kallen_night_meds_reminder_count') | int %}
|
{% set counter = states('counter.kallen_night_meds_reminder_count') |
|
||||||
|
int %}
|
||||||
|
|
||||||
{% if is_state('input_boolean.kallen_night_meds_taken','on') %}
|
{% if is_state('input_boolean.kallen_night_meds_taken','on') %}
|
||||||
|
|
||||||
var(--success-color)
|
var(--success-color)
|
||||||
|
|
||||||
{% elif counter >= 3 %}
|
{% elif counter >= 3 %}
|
||||||
|
|
||||||
var(--error-color)
|
var(--error-color)
|
||||||
|
|
||||||
{% elif counter >= 1 %}
|
{% elif counter >= 1 %}
|
||||||
|
|
||||||
var(--warning-color)
|
var(--warning-color)
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
''
|
''
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
entity: input_datetime.kallen_night_meds_taken
|
entity: input_datetime.kallen_night_meds_taken
|
||||||
label: Kallen Night Meds
|
label: Kallen Night Meds
|
||||||
@@ -5417,6 +5468,10 @@ views:
|
|||||||
name_template: >-
|
name_template: >-
|
||||||
{{ states('input_text.tony_custom_med_name_p1') + ' Notify'
|
{{ 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:
|
visibility:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity: input_boolean.tony_custom_meds_tracker_p1
|
entity: input_boolean.tony_custom_meds_tracker_p1
|
||||||
@@ -5426,8 +5481,15 @@ views:
|
|||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
entities:
|
entities:
|
||||||
- entity: input_boolean.tony_ibuprofen_taken
|
- entity: input_boolean.tony_ibuprofen_taken
|
||||||
|
name: Ibuprofen Taken
|
||||||
- entity: input_datetime.tony_ibuprofen_taken
|
- entity: input_datetime.tony_ibuprofen_taken
|
||||||
|
name: Ibuprofen Taken
|
||||||
- entity: input_datetime.tony_ibuprofen_notify
|
- 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:
|
visibility:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity: input_boolean.tony_ibuprofen_active
|
entity: input_boolean.tony_ibuprofen_active
|
||||||
@@ -5437,8 +5499,15 @@ views:
|
|||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
entities:
|
entities:
|
||||||
- entity: input_boolean.tony_tylenol_taken
|
- entity: input_boolean.tony_tylenol_taken
|
||||||
|
name: Tylenol Taken
|
||||||
- entity: input_datetime.tony_tylenol_taken
|
- entity: input_datetime.tony_tylenol_taken
|
||||||
|
name: Tylenol Taken
|
||||||
- entity: input_datetime.tony_tylenol_notify
|
- 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:
|
visibility:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity: input_boolean.tony_tylenol_active
|
entity: input_boolean.tony_tylenol_active
|
||||||
@@ -6222,6 +6291,94 @@ views:
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity: input_boolean.master_bedroom_aircon_installed
|
entity: input_boolean.master_bedroom_aircon_installed
|
||||||
state: 'on'
|
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_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_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_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:
|
visibility:
|
||||||
- condition: user
|
- condition: user
|
||||||
users:
|
users:
|
||||||
@@ -6267,6 +6424,87 @@ views:
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity: input_boolean.emma_bedroom_aircon_installed
|
entity: input_boolean.emma_bedroom_aircon_installed
|
||||||
state: 'on'
|
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_cooling
|
||||||
|
name: Cooling
|
||||||
|
- 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:
|
visibility:
|
||||||
- condition: user
|
- condition: user
|
||||||
users:
|
users:
|
||||||
|
|||||||
Reference in New Issue
Block a user