Ignore unsupported MeasureType-s from Withings (#55205)

pull/55216/head
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
1 changed files with 1 additions and 0 deletions

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]: