summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/bureautomation/person/team.nix
blob: d0d13dd9856c122a46d997689490cc28250574b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{config, ... }:
{
  # 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"
      ];
    }
    #{ 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"
      ];
    }
    #{ 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 = [
        "device_tracker.chris_phone"
      ];
    }
  ];
}