summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/bureautomation/sensor/airquality.nix
blob: 7d95c3c150af45525654e1ac9fcc148d2d90d96d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{
  services.home-assistant.config.sensor =
  [
    # 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";
    }
  ];
}