forked from home-assistant/core
Only report invalid numeric value for sensors once (#87010)
This commit is contained in:
@ -599,6 +599,7 @@ class SensorEntity(Entity):
|
||||
f"({type(value)})"
|
||||
) from err
|
||||
# This should raise in Home Assistant Core 2023.4
|
||||
if not self._invalid_numeric_value_reported:
|
||||
self._invalid_numeric_value_reported = True
|
||||
report_issue = self._suggest_report_issue()
|
||||
_LOGGER.warning(
|
||||
|
Reference in New Issue
Block a user