From 96035eb052fc6efa1ca5e5acc83d4a0d2fd6c168 Mon Sep 17 00:00:00 2001 From: cgtobi Date: Fri, 9 Oct 2020 12:34:52 +0200 Subject: [PATCH] Fix missing weather sensors (#41540) --- homeassistant/components/netatmo/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/netatmo/sensor.py b/homeassistant/components/netatmo/sensor.py index a58cf7af67e..95d43e9eba5 100644 --- a/homeassistant/components/netatmo/sensor.py +++ b/homeassistant/components/netatmo/sensor.py @@ -136,7 +136,7 @@ async def async_setup_entry(hass, entry, async_add_entities): conditions = [ c.lower() for c in data_class.get_monitored_conditions(module_id=module["_id"]) - if c in SENSOR_TYPES + if c.lower() in SENSOR_TYPES ] for condition in conditions: if f"{condition}_value" in SENSOR_TYPES: