mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
Switch to warning.
This commit is contained in:
@@ -128,7 +128,7 @@ class SensorTemplate(Entity):
|
|||||||
self._state = STATE_ERROR
|
self._state = STATE_ERROR
|
||||||
if ex.args and ex.args[0].startswith(
|
if ex.args and ex.args[0].startswith(
|
||||||
"UndefinedError: 'None' has no attribute"):
|
"UndefinedError: 'None' has no attribute"):
|
||||||
# Common during HA startup - so just a trace
|
# Common during HA startup - so just a warning
|
||||||
_LOGGER.info(ex)
|
_LOGGER.warning(ex)
|
||||||
return
|
return
|
||||||
_LOGGER.error(ex)
|
_LOGGER.error(ex)
|
||||||
|
Reference in New Issue
Block a user