diff options
author | makefu <github@syntax-fehler.de> | 2020-03-13 10:41:01 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-03-13 10:41:01 +0100 |
commit | 72361dad55b71a723961004ac3e3abf7f8ecbff0 (patch) | |
tree | e3698e1b1cb01d7478983bd86d02512059be0ddc /2configs/bureautomation/automation | |
parent | f3756d59d851b60ccab2a2743b4de8118835e12d (diff) |
ma bureautomation: use discovery, cleanup
Diffstat (limited to '2configs/bureautomation/automation')
-rw-r--r-- | 2configs/bureautomation/automation/daily-news.nix | 20 | ||||
-rw-r--r-- | 2configs/bureautomation/automation/quotes.nix | 4 | ||||
-rw-r--r-- | 2configs/bureautomation/automation/schlechteluft.nix | 3 |
3 files changed, 24 insertions, 3 deletions
diff --git a/2configs/bureautomation/automation/daily-news.nix b/2configs/bureautomation/automation/daily-news.nix new file mode 100644 index 000000000..2bafe4795 --- /dev/null +++ b/2configs/bureautomation/automation/daily-news.nix @@ -0,0 +1,20 @@ +[ + { + alias = "Daily news for Felix"; + trigger = { + platform = "time"; + at = "07:35:00"; + }; + action = + [ + { + service = "notify.telegrambot"; + data_template = { + title = "Daily News"; + # TODO + message = ""; + }; + } + ]; + } +] diff --git a/2configs/bureautomation/automation/quotes.nix b/2configs/bureautomation/automation/quotes.nix new file mode 100644 index 000000000..c4625ae30 --- /dev/null +++ b/2configs/bureautomation/automation/quotes.nix @@ -0,0 +1,4 @@ +# heiss +Lieber Freund, was für ein Sommer! Ich denke Sie mir im Zimmer sitzend, mehr Omelette als Mensch. +Sommer ist die Zeit, in der es zu heiß ist, um das zu tun, wozu es im Winter zu kalt war. + diff --git a/2configs/bureautomation/automation/schlechteluft.nix b/2configs/bureautomation/automation/schlechteluft.nix index 8787ee280..370334743 100644 --- a/2configs/bureautomation/automation/schlechteluft.nix +++ b/2configs/bureautomation/automation/schlechteluft.nix @@ -66,9 +66,6 @@ in [ language = "de"; }; } - { service = "notify.matrix_notify"; - data_template.message = "Schlechte Luft Alarm seit ${toString long_threshold} Minuten ({{states.sensor.air_quality.state_with_unit}})!"; - } ]; } ] |