mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
initial push
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
alias: Bridget travel sensor
|
||||
mode: restart
|
||||
sequence:
|
||||
- service: input_text.set_value
|
||||
data_template:
|
||||
entity_id: input_text.person_bridget
|
||||
value: >-
|
||||
{% if is_state('input_boolean.bridget_home', 'on') %}
|
||||
{% if is_state('input_boolean.bridget_is_awake','off') %}
|
||||
Sleeping
|
||||
{% elif is_state('input_boolean.bridget_in_bed','on') %}
|
||||
In bed
|
||||
{% else %}
|
||||
{{ states("input_select.bridget_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