Skip to content

Commit

Permalink
Add input_boolean.verona_home
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed May 14, 2021
1 parent 37d44e4 commit 0ad83f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions input_boolean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ user_one_home:
user_two_home:
name: Is user two home
icon: mdi:home
verona_home:
name: Is Verona home
icon: mdi:home
heading_home_notifier_user_one:
icon: mdi:telegram
dishwasher:
Expand Down
4 changes: 4 additions & 0 deletions packages/away_mode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,12 @@ automation:
entity_id:
- input_boolean.user_one_home
- input_boolean.user_two_home
- input_boolean.verona_home
condition:
- condition: state
entity_id: input_boolean.notifier_alexa
state: "on"
- condition:
- condition: template
value_template: "{{ trigger.from_state.state == 'off' and trigger.to_state.state == 'on' }}"
action:
Expand All @@ -209,6 +211,8 @@ automation:
{% set name = "Kevin" %}
{% elif trigger.entity_id == "input_boolean.user_two_home" %}
{% set name = "Sina" %}
{% elif trigger.entity_id == "input_boolean.verona_home" %}
{% set name = "Verona" %}
{% endif %}
Willkommen zu Hause {{ name }}
Expand Down

0 comments on commit 0ad83f5

Please sign in to comment.