From 88aa843691897aaeb5426733d8d3c0582107b3fc Mon Sep 17 00:00:00 2001 From: Kim Bauters Date: Mon, 24 May 2021 13:41:20 +0100 Subject: [PATCH] add additional weather sensor (IAQ accuracy) --- publisher.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/publisher.py b/publisher.py index c55d7e6..654a3d5 100644 --- a/publisher.py +++ b/publisher.py @@ -48,6 +48,7 @@ class WeatherSensor(Flag): RAIN_PROBABILITY = auto() SOLAR_RADIATION = auto() IAQ = auto() + IAQ_ACCURACY = auto() VOC = auto() CO2 = auto() @@ -329,6 +330,8 @@ class Publisher: keys.append("solar_radiation") if WeatherSensor.IAQ in version: keys.append("iaq") + if WeatherSensor.IAQ_ACCURACY in version: + keys.append("iaq_acc") if WeatherSensor.VOC in version: keys.append("voc") if WeatherSensor.CO2 in version: