mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
Fix missing weather sensors (#41540)
This commit is contained in:
parent
dae2117078
commit
c9d53dec8d
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user