diff options
author | makefu <github@syntax-fehler.de> | 2019-07-03 23:03:33 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2019-07-03 23:03:33 +0200 |
commit | 72d614cf2a266478be71eca34d75a5ab387b8b89 (patch) | |
tree | 7c75301369b7a88d7f99d009203fdf528fb3507e /makefu/2configs/bureautomation/sensor/airquality.nix | |
parent | 1ba49c0ffe299bc1f6ba56e1449e0c8e65cd8923 (diff) |
ma bureautomation: refactor air quality alarm
Diffstat (limited to 'makefu/2configs/bureautomation/sensor/airquality.nix')
-rw-r--r-- | makefu/2configs/bureautomation/sensor/airquality.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/makefu/2configs/bureautomation/sensor/airquality.nix b/makefu/2configs/bureautomation/sensor/airquality.nix new file mode 100644 index 000000000..217fa9595 --- /dev/null +++ b/makefu/2configs/bureautomation/sensor/airquality.nix @@ -0,0 +1,9 @@ +[ + # coming from 2configs/stats/telegraf/ + { platform = "mqtt"; + name = "Air Quality"; + state_topic = "/telegraf/wbob/airquality"; + value_template = "{{ value_json.fields.value }}"; + unit_of_measurement = "VOC"; + } +] |