Skip to content

Commit 50621df

Browse files
authored
Update unnecessary error logging of unknown and unavailable source states from mold indicator (home-assistant#158979)
1 parent 2db7b5c commit 50621df

File tree

1 file changed

+2
-2
lines changed
  • homeassistant/components/mold_indicator

1 file changed

+2
-2
lines changed

homeassistant/components/mold_indicator/sensor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def _update_temp_sensor(state: State) -> float | None:
315315

316316
# Return an error if the sensor change its state to Unknown.
317317
if state.state in (STATE_UNKNOWN, STATE_UNAVAILABLE):
318-
_LOGGER.error(
318+
_LOGGER.debug(
319319
"Unable to parse temperature sensor %s with state: %s",
320320
state.entity_id,
321321
state.state,
@@ -352,7 +352,7 @@ def _update_hum_sensor(state: State) -> float | None:
352352

353353
# Return an error if the sensor change its state to Unknown.
354354
if state.state in (STATE_UNKNOWN, STATE_UNAVAILABLE):
355-
_LOGGER.error(
355+
_LOGGER.debug(
356356
"Unable to parse humidity sensor %s, state: %s",
357357
state.entity_id,
358358
state.state,

0 commit comments

Comments
 (0)