summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home/ham/automation/find_phone.nix
blob: d94942c9f54978f23704ecf47d397432a7c99261 (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
{
  services.home-assistant.config.script = {
    find_felix_phone.sequence = [
      {
        service = "notify.mobile_app_pixel_3a";
        data = {
            title= "Finde Mich!";
            message= "Such Such Such";
            data = {
              ttl = 0;
              priority = "high";
              channel = "alarm_stream";
            };
        };
      }
    ];
    find_tablet.sequence = [
      {
        service = "notify.mobile_app_nova3";
        data = {
            title = "Finde Mich!";
            message = "Such Such Such";
            data = {
              ttl = 0;
              priority = "high";
              channel = "alarm_stream";
            };
        };
      }
    ];
  };
}