Skip to content

Commit

Permalink
Add is home determiner verona
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed May 14, 2021
1 parent 0ad83f5 commit 788e726
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/away_mode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ automation:
person: person.sina
mobile_app: notify.mobile_app_oneplus_a3003
input_boolean: input_boolean.user_two_home
- service: script.turn_on
entity_id: script.is_user_home_determiner
data:
variables:
person: person.verona
mobile_app: notify.mobile_app_sm_g975f # Reuse until own mobile app
input_boolean: input_boolean.verona_home

- id: 4f8dd19f-0d78-4614-bce1-77fd7bc31214
alias: Is Home Determiner
Expand All @@ -87,6 +94,7 @@ automation:
entity_id:
- input_boolean.user_one_home
- input_boolean.user_two_home
- input_boolean.verona_home
action:
- choose:
- conditions:
Expand All @@ -102,6 +110,7 @@ automation:
entity_id:
- input_boolean.user_one_home
- input_boolean.user_two_home
- input_boolean.verona_home
state: "off"
- service: input_boolean.turn_off
entity_id: input_boolean.is_home
Expand Down

0 comments on commit 788e726

Please sign in to comment.