feat: changes to home-assistant
This commit is contained in:
parent
a078503a89
commit
348d8e1d03
4 changed files with 58 additions and 32 deletions
|
|
@ -1,4 +1,9 @@
|
|||
{
|
||||
let
|
||||
devices = [
|
||||
"device_tracker.dominiks_iphone"
|
||||
"device_tracker.dominiks_mp01"
|
||||
];
|
||||
in {
|
||||
services.home-assistant.extraComponents = [
|
||||
"nuki"
|
||||
];
|
||||
|
|
@ -9,9 +14,7 @@
|
|||
mode = "restart";
|
||||
trigger = {
|
||||
platform = "state";
|
||||
entity_id = [
|
||||
"device_tracker.dominiks_iphone"
|
||||
];
|
||||
entity_id = devices;
|
||||
from = "not_home";
|
||||
to = "home";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue