mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Fix Netatmo non specified sensor types (#41517)
This commit is contained in:
parent
3a1ee2f654
commit
22bef1d0d3
@ -136,6 +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
|
||||||
]
|
]
|
||||||
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