mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
initial push
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
alias: Emmett travel sensor
|
||||
mode: restart
|
||||
sequence:
|
||||
- service: input_text.set_value
|
||||
data_template:
|
||||
entity_id: input_text.person_emmett
|
||||
value: >-
|
||||
{% if is_state('input_boolean.emmett_home', 'on') %}
|
||||
{% if is_state('input_boolean.emmett_is_awake','off') %}
|
||||
Sleeping
|
||||
{% elif is_state('input_boolean.emmett_in_bed','on') %}
|
||||
In bed
|
||||
{% else %}
|
||||
{{ states("input_select.emmett_status_dropdown") }}
|
||||
{% endif %}
|
||||
{% elif is_state('binary_sensor.have_custody', 'off') %}
|
||||
Off week
|
||||
{% elif is_state('input_boolean.clint_work_from_home', 'on') %}
|
||||
At Childcare
|
||||
{% else %}
|
||||
Somewhere
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user