Making withings logs less noisy. (#27311)

This commit is contained in:
Robert Van Gorkom 2019-10-07 22:22:13 -07:00 committed by Paulus Schoutsen
parent c72ac87c73
commit 50b5dba43e

View file

@ -397,7 +397,7 @@ class WithingsHealthSensor(Entity):
]
if not measure_groups:
_LOGGER.warning("No measure groups found, setting state to %s", None)
_LOGGER.debug("No measure groups found, setting state to %s", None)
self._state = None
return
@ -417,7 +417,7 @@ class WithingsHealthSensor(Entity):
return
if not data.series:
_LOGGER.warning("No sleep data, setting state to %s", None)
_LOGGER.debug("No sleep data, setting state to %s", None)
self._state = None
return
@ -444,7 +444,7 @@ class WithingsHealthSensor(Entity):
return
if not data.series:
_LOGGER.warning("Sleep data has no series, setting state to %s", None)
_LOGGER.debug("Sleep data has no series, setting state to %s", None)
self._state = None
return