1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-19 18:38:58 +00:00

Update unnecessary error logging of unknown and unavailable source states from mold indicator (#158979)

This commit is contained in:
Petro31
2025-12-14 10:52:38 -05:00
committed by GitHub
parent 2db7b5c99f
commit 50621df244

View File

@@ -315,7 +315,7 @@ class MoldIndicator(SensorEntity):
# Return an error if the sensor change its state to Unknown.
if state.state in (STATE_UNKNOWN, STATE_UNAVAILABLE):
_LOGGER.error(
_LOGGER.debug(
"Unable to parse temperature sensor %s with state: %s",
state.entity_id,
state.state,
@@ -352,7 +352,7 @@ class MoldIndicator(SensorEntity):
# Return an error if the sensor change its state to Unknown.
if state.state in (STATE_UNKNOWN, STATE_UNAVAILABLE):
_LOGGER.error(
_LOGGER.debug(
"Unable to parse humidity sensor %s, state: %s",
state.entity_id,
state.state,