mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
modernization
This commit is contained in:
@@ -5,13 +5,13 @@ sequence:
|
||||
data_template:
|
||||
entity_id: input_text.person_emmett
|
||||
value: >-
|
||||
{% if is_state('input_boolean.bridget_home', 'on') %}
|
||||
{% if is_state('input_boolean.bridget_is_awake','off') %}
|
||||
{% if is_state('input_boolean.emmett_home', 'on') %}
|
||||
{% if is_state('input_boolean.emmett_is_awake','off') %}
|
||||
Sleeping
|
||||
{% elif is_state('input_boolean.bridget_in_bed','on') %}
|
||||
{% elif is_state('input_boolean.emmett_in_bed','on') %}
|
||||
In bed
|
||||
{% else %}
|
||||
{{ states("input_select.bridget_status_dropdown") }}
|
||||
{{ states("input_select.emmett_status_dropdown") }}
|
||||
{% endif %}
|
||||
{% elif is_state('binary_sensor.have_custody', 'off') or is_state('input_select.weaver_kids', 'Away') %}
|
||||
With Sarah
|
||||
|
||||
Reference in New Issue
Block a user