AttributeError: 'NoneType' object has no attribute 'created_at' since last update #2280
Closed
6 tasks done
Labels
bug
Something isn't working
System Health details
System Information
Home Assistant Community Store
Home Assistant Cloud
Dashboards
Recorder
Checklist
battery_notes:
to my configuration.yaml and restarted.Describe the issue
Echec of configuration for device:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/battery_notes/init.py", line 171, in async_setup_entry
if not await device.async_setup():
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/battery_notes/device.py", line 202, in async_setup
if entity.created_at.year > 1970:
^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'created_at'
Diagnostics dump
mqtt-01JABC7KCVTRFVKB5TWZR050SG-0xa4c13886bfad0664-aa1b2877038fd17433467e9496601a89.json
The text was updated successfully, but these errors were encountered: