notoriousbdg/Home-AssistantConfig

Error in the LOG

Opened this issue · 0 comments

Sometime i will receive this error in the log:

2020-01-04 05:00:00 INFO (MainThread) [homeassistant.helpers.script] Script battery_persistent_notification_clear: Test condition template: False
2020-01-04 05:15:00 ERROR (MainThread) [homeassistant.helpers.condition] Error during template condition: UndefinedError: 'None' has no attribute 'attributes'
2020-01-04 05:15:00 INFO (MainThread) [homeassistant.helpers.script] Script battery_persistent_notification_clear: Test condition template: False
2020-01-04 05:30:00 ERROR (MainThread) [homeassistant.helpers.condition] Error during template condition: UndefinedError: 'None' has no attribute 'attributes'
2020-01-04 05:30:00 INFO (MainThread) [homeassistant.helpers.script] Script battery_persistent_notification_clear: Test condition template: False
2020-01-04 05:45:00 ERROR (MainThread) [homeassistant.helpers.condition] Error during template condition: UndefinedError: 'None' has no attribute 'attributes'
2020-01-04 05:45:00 INFO (MainThread) [homeassistant.helpers.script] Script battery_persistent_notification_clear: Test condition template: False
2020-01-04 06:00:00 ERROR (MainThread) [homeassistant.helpers.condition] Error during template condition: UndefinedError: 'None' has no attribute 'attributes'
2020-01-04 06:00:00 INFO (MainThread) [homeassistant.helpers.script] Script battery_persistent_notification: Test condition template: False
2020-01-04 06:00:00 ERROR (MainThread) [homeassistant.helpers.condition] Error during template condition: UndefinedError: 'None' has no attribute 'attributes'

There is a way to solve the problem?