mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 04:35:11 +02:00
prometheus: Reduce loglevel of failed float conversion to debug (#37936)
It creates alot of useless noise currently. Fixes #30186
This commit is contained in:
@@ -225,7 +225,7 @@ class PrometheusMetrics:
|
||||
try:
|
||||
value = state_helper.state_as_number(state)
|
||||
except ValueError:
|
||||
_LOGGER.warning("Could not convert %s to float", state)
|
||||
_LOGGER.debug("Could not convert %s to float", state)
|
||||
value = 0
|
||||
return value
|
||||
|
||||
|
Reference in New Issue
Block a user