mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 10:47:10 +00:00
Switch to warning.
This commit is contained in:
parent
93a38d39ef
commit
d344defc7e
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user