1
mirror of https://github.com/home-assistant/core synced 2024-09-09 12:51:22 +02:00

Ignore unsupported MeasureType-s from Withings (#55205)

This commit is contained in:
Denis Milanović 2021-08-25 23:57:07 +10:00 committed by GitHub
parent 7f80781f9b
commit 35ccad7904
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -792,6 +792,7 @@ class DataManager:
)
for group in groups
for measure in group.measures
if measure.type in WITHINGS_MEASURE_TYPE_MAP
}
async def async_get_sleep_summary(self) -> dict[MeasureType, Any]: