Skip to content

Commit

Permalink
Merge branch 'master' of github.com:eifinger/homeassistant-config
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed May 2, 2021
2 parents 580a61f + dd35ca8 commit 1b0d4e5
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
32 changes: 32 additions & 0 deletions packages/weenect.yaml
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"
2 changes: 2 additions & 0 deletions travis_secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,3 +195,5 @@ room_assistant_livingroom_health_url: "http://192.168.0.36:6415/status"
room_assistant_bedroom_health_url: "http://192.168.0.37:6415/status"
room_assistant_studyroom_health_url: "http://192.168.0.38:6415/status"
room_assistant_bathroom_health_url: "http://192.168.0.39:6415/status"

naya_tracker_id: "131673"

0 comments on commit 1b0d4e5

Please sign in to comment.