Fix missing weather sensors (#41540)

pull/41777/head
cgtobi 2020-10-09 12:34:52 +02:00 committed by GitHub
parent f101d9cddb
commit 96035eb052
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: