mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
Making withings logs less noisy. (#27311)
This commit is contained in:
committed by
Paulus Schoutsen
parent
c72ac87c73
commit
50b5dba43e
@@ -397,7 +397,7 @@ class WithingsHealthSensor(Entity):
|
|||||||
]
|
]
|
||||||
|
|
||||||
if not measure_groups:
|
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
|
self._state = None
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -417,7 +417,7 @@ class WithingsHealthSensor(Entity):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if not data.series:
|
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
|
self._state = None
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -444,7 +444,7 @@ class WithingsHealthSensor(Entity):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if not data.series:
|
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
|
self._state = None
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user