MiFlora does not measure air humidity!
@@ -318,6 +318,9 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
for mac in macs:
if mac in sensors_by_mac:
sensors = sensors_by_mac[mac]
+ else:
+ if stype[mac] == "HHCCJCY01":
+ sensors = [TemperatureSensor(mac)]
else:
sensors = [TemperatureSensor(mac), HumiditySensor(mac)]
sensors_by_mac[mac] = sensors
