mirror of
https://github.com/home-assistant/core.git
synced 2025-12-20 02:48:57 +00:00
Update unnecessary error logging of unknown and unavailable source states from mold indicator (#158979)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user