ma bureautomation: remove announcement, fix schlechteluft

This commit is contained in:
makefu 2019-07-04 08:03:50 +02:00
parent 72d614cf2a
commit c2230d30c5
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
2 changed files with 2 additions and 13 deletions

View File

@ -23,14 +23,6 @@
item.partymode = "music";
};
}
{
service = "tts.google_say";
entity_id = "media_player.mpd";
data = {
message = "Willkommen in deinem Lieblingsbüro";
language = "de";
};
}
{
service = "notify.telegrambot";
data = {

View File

@ -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}})";
}
];
}