mirror of
https://github.com/home-assistant/core.git
synced 2025-07-11 23:37:18 +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 = [
|
conditions = [
|
||||||
c.lower()
|
c.lower()
|
||||||
for c in data_class.get_monitored_conditions(module_id=module["_id"])
|
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:
|
for condition in conditions:
|
||||||
if f"{condition}_value" in SENSOR_TYPES:
|
if f"{condition}_value" in SENSOR_TYPES:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user