summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home/ham/automation/find_phone.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2022-12-24 23:35:05 +0100
committermakefu <github@syntax-fehler.de>2022-12-24 23:35:25 +0100
commit03753db65f3761454b5cfff20f0ac1c5e737d8a0 (patch)
treeaa9d9a680e4e23a6ce9f52af671680d0bedd56a1 /makefu/2configs/home/ham/automation/find_phone.nix
parent37e2e08a0ad47985de277a01d392a11fbe2242f0 (diff)
ma ham: enable find_phone, urlaub
Diffstat (limited to 'makefu/2configs/home/ham/automation/find_phone.nix')
-rw-r--r--makefu/2configs/home/ham/automation/find_phone.nix32
1 files changed, 32 insertions, 0 deletions
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";
+ };
+ };
+ }
+ ];
+ };
+}