-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename Garmin control to simple control and either remove uncontrolla…
…ble entities or make a workaround for them (as per issues: alanfischer/hassiq#33 alanfischer/hassiq#32 alanfischer/hassiq#34)
- Loading branch information
1 parent
0dcbe0d
commit c326b62
Showing
2 changed files
with
26 additions
and
19 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
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,21 @@ | ||
front_door: | ||
alias: Front door | ||
sequence: | ||
- service: script.turn_on | ||
data_template: | ||
entity_id: > | ||
{% if is_state('lock.front_door', 'locked') %} | ||
script.unlock_front_door | ||
{% else %} | ||
script.lock_front_door | ||
{% endif %} | ||
lock_front_door: | ||
sequence: | ||
- service: lock.lock | ||
entity_id: lock.front_door | ||
|
||
unlock_front_door: | ||
sequence: | ||
- service: lock.unlock | ||
entity_id: lock.front_door |