stockholm/makefu/2configs/bureautomation/person/team.nix

88 lines
1.8 KiB
Nix
Raw Normal View History

2021-10-01 16:37:59 +00:00
{config, ... }:
{
2021-10-01 16:37:59 +00:00
# all configured persons become part of group "team"
services.home-assistant.config.group.team = {
name = "team";
entities = map (x: "person.${x.name}" ) config.services.home-assistant.config.person;
};
services.home-assistant.config.person =
[
{ name = "Thorsten";
id = 1;
device_trackers = [
"device_tracker.thorsten_phone"
#"device_tracker.thorsten_arbeitphone"
];
}
{ name = "Felix";
id = 2;
device_trackers = [
"device_tracker.felix_phone"
"device_tracker.felix_laptop"
];
}
{ name = "Ecki";
id = 3;
device_trackers = [
"device_tracker.ecki_phone"
"device_tracker.ecki_tablet"
];
}
{ name = "Daniel";
id = 4;
device_trackers = [
"device_tracker.daniel_phone"
];
}
{ name = "Thierry";
id = 5;
device_trackers = [
"device_tracker.thierry_phone"
];
}
{ name = "Frank";
id = 6;
device_trackers = [
"device_tracker.frank_phone"
];
}
2020-11-18 20:08:26 +00:00
#{ name = "Carsten";
# id = 7;
# device_trackers = [
# "device_tracker.carsten_phone"
# ];
#}
{ name = "Emeka";
id = 8;
device_trackers = [
"device_tracker.emeka_phone"
];
}
{ name = "Sabine";
id = 9;
device_trackers = [
"device_tracker.sabine_phone"
];
}
2020-11-18 20:08:26 +00:00
#{ name = "Tobias";
# id = 10;
# device_trackers = [
# "device_tracker.tobias_phone"
# ];
#}
#{ name = "Tancrede";
# id = 11;
# device_trackers = [
# "device_tracker.tancrede_phone"
# "device_tracker.tancrede_laptop"
# ];
#}
{ name = "Chris";
id = 12;
device_trackers = [
2020-11-18 20:08:26 +00:00
"device_tracker.chris_phone"
];
}
];
}