andrey-git / home-assistant-custom-ui

Custom UI elements for https://home-assistant.io
https://home-assistant.io
MIT License
527 stars 97 forks source link

UndefinedError: 'None' has no attribute 'state' hanging up server #175

Open Spirituss opened 4 years ago

Spirituss commented 4 years ago

Checklist

Browser + Version: Opera 63.0.3368.35 / Chrome Version 74.0.3729.157 (Official Build) (64-bit)

CustomUI version: 20190518

Home Assistant release (hass --version): Raspberry PI / Doker / HASS.io 0.97.2

Problem-relevant configuration.yaml entries:

Unknown.

I receive tons of errors in HA log as below. It's not clear how to find the HA element, that cause this error. The main problem is that the errors arise too often (several per second), thus not only HA, but even Raspberry hangs up after some hours of error log increase.

Problem-relevant Home Assistant log entries:

ERROR (MainThread) [homeassistant.helpers.service] Error rendering data template: UndefinedError: 'None' has no attribute 'state'

Any errors from browser Javascript console:

Spirituss commented 4 years ago

Still waiting for problem fix. It overload the log file of HA. Current version - 0.102.1