diff options
author | makefu <github@syntax-fehler.de> | 2019-07-04 08:03:50 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2019-07-04 08:04:32 +0200 |
commit | c2230d30c5d75622eb25f3e0df977691cbf01058 (patch) | |
tree | d63701a2ba3a841987af16eb465901ad1a9e7330 /makefu/2configs/bureautomation | |
parent | 72d614cf2a266478be71eca34d75a5ab387b8b89 (diff) |
ma bureautomation: remove announcement, fix schlechteluft
Diffstat (limited to 'makefu/2configs/bureautomation')
-rw-r--r-- | makefu/2configs/bureautomation/automation/bureau-shutdown.nix | 8 | ||||
-rw-r--r-- | makefu/2configs/bureautomation/automation/schlechteluft.nix | 7 |
2 files changed, 2 insertions, 13 deletions
diff --git a/makefu/2configs/bureautomation/automation/bureau-shutdown.nix b/makefu/2configs/bureautomation/automation/bureau-shutdown.nix index 3fa23a837..007f6064a 100644 --- a/makefu/2configs/bureautomation/automation/bureau-shutdown.nix +++ b/makefu/2configs/bureautomation/automation/bureau-shutdown.nix @@ -24,14 +24,6 @@ }; } { - service = "tts.google_say"; - entity_id = "media_player.mpd"; - data = { - message = "Willkommen in deinem Lieblingsbüro"; - language = "de"; - }; - } - { service = "notify.telegrambot"; data = { title = "Bureau Startup"; diff --git a/makefu/2configs/bureautomation/automation/schlechteluft.nix b/makefu/2configs/bureautomation/automation/schlechteluft.nix index 9a5c4c5c8..4a5fb17c2 100644 --- a/makefu/2configs/bureautomation/automation/schlechteluft.nix +++ b/makefu/2configs/bureautomation/automation/schlechteluft.nix @@ -1,11 +1,8 @@ let secs = 60; in [ - # TODO: trigger if it is before dusk and somebody arives but nachtlichter are - # off from last day - # TODO: do not have nachtlicht turned on at night { - alias = "Turn on Nachtlicht at dusk"; # when it gets dim + alias = "Bad Air Alarm"; trigger = { platform = "numeric_state"; entity_id = "sensor.air_quality"; @@ -33,7 +30,7 @@ in [ ]; } { service = "notify.matrix_notify"; - data_template.message = "Bad Air Alarm! VOC above threshold for ${toString secs} seconds ({{state.sensor.air_quality.state_with_unit}})"; + data_template.message = "Bad Air Alarm! VOC above threshold for ${toString secs} seconds ({{states.sensor.air_quality.state_with_unit}})"; } ]; } |