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

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