summaryrefslogtreecommitdiffstats
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
commita69d49aae304f337ec9b83c92749c9c7685e4c4c (patch)
tree1d700e1c32bda50614d1338551884c9c4de138bf
parentd9564135e2d3687724e9f8510f6d67e0fe033249 (diff)
ma ham: enable find_phone, urlaub
-rw-r--r--2configs/home/ham/automation/find_phone.nix32
-rw-r--r--2configs/home/ham/default.nix7
2 files changed, 36 insertions, 3 deletions
diff --git a/2configs/home/ham/automation/find_phone.nix b/2configs/home/ham/automation/find_phone.nix
new file mode 100644
index 000000000..d94942c9f
--- /dev/null
+++ b/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";
+ };
+ };
+ }
+ ];
+ };
+}
diff --git a/2configs/home/ham/default.nix b/2configs/home/ham/default.nix
index 861ec27aa..ca5fcd17c 100644
--- a/2configs/home/ham/default.nix
+++ b/2configs/home/ham/default.nix
@@ -44,9 +44,10 @@ in {
./automation/wohnzimmer_rf_fernbedienung.nix
# ./automation/ladestecker_timer.nix
./automation/flurlicht.nix
- ./automation/giesskanne.nix
- ./automation/pflanzen_giessen_erinnerung.nix
- # ./automation/urlaub.nix
+ # ./automation/giesskanne.nix
+ # ./automation/pflanzen_giessen_erinnerung.nix
+ ./automation/find_phone.nix
+ ./automation/urlaub.nix
./automation/moodlight.nix
./automation/shutdown_button.nix
./automation/project_tracker.nix
[cgit] Unable to lock slot /tmp/cgit/91100000.lock: No such file or directory (2)