From 03753db65f3761454b5cfff20f0ac1c5e737d8a0 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 24 Dec 2022 23:35:05 +0100 Subject: ma ham: enable find_phone, urlaub --- makefu/2configs/home/ham/automation/find_phone.nix | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 makefu/2configs/home/ham/automation/find_phone.nix (limited to 'makefu/2configs/home/ham/automation/find_phone.nix') diff --git a/makefu/2configs/home/ham/automation/find_phone.nix b/makefu/2configs/home/ham/automation/find_phone.nix new file mode 100644 index 000000000..d94942c9f --- /dev/null +++ b/makefu/2configs/home/ham/automation/find_phone.nix @@ -0,0 +1,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"; + }; + }; + } + ]; + }; +} -- cgit v1.2.3