-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:eifinger/homeassistant-config
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
automation: | ||
- id: 743b7e7d-ffa8-4fa3-9c1c-62d9ada9ced8 | ||
alias: "Setze Nayas Tracker Updaterate auf 1M wenn wir unterwegs sind" | ||
description: "Set Nayas tracker update rate to 1m when we are not at home" | ||
mode: single | ||
initial_state: true | ||
trigger: | ||
- platform: state | ||
entity_id: input_boolean.is_home | ||
from: "on" | ||
to: "off" | ||
action: | ||
- service: weenect.set_update_interval | ||
data: | ||
tracker_id: !secret naya_tracker_id | ||
update_interval: "1M" | ||
- id: 652b4b69-c951-4861-8b7d-3cbb15fc8b79 | ||
alias: "Setze Nayas Tracker Updaterate auf 60M wenn wir zu Hause sind" | ||
description: "Set Nayas tracker update rate to 60m when we are at home" | ||
mode: single | ||
initial_state: true | ||
trigger: | ||
- platform: state | ||
entity_id: input_boolean.is_home | ||
from: "off" | ||
to: "on" | ||
action: | ||
- service: weenect.set_update_interval | ||
data: | ||
tracker_id: !secret naya_tracker_id | ||
update_interval: "60M" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters