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