The following integrations and platforms could not be set up: hassio (AttributeError: 'datetime.datetime' object has no attribute 'data')

Hi all

I have this error coming out and I don’t know where and what to search.

image

Clicking on “logs” this is the message.

Logger: homeassistant
Source: components/hassio/__init__.py:319
First occurred: 10:26:44 (1 occurrences)
Last logged: 10:26:44

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 561, in _async_setup_hardware_integration
    if (os_info := get_os_info(hass)) is None:
  File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 319, in get_os_info
    return hass.data.get(DATA_OS_INFO)
AttributeError: 'datetime.datetime' object has no attribute 'data'

I’ve all HA updated to latest version

What can I check?

Thanks

1 Like

Have some problem

Logger: homeassistant
Source: components/hassio/__init__.py:320
First occurred: 18:41:25 (1 occurrences)
Last logged: 18:41:25

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 560, in _async_setup_hardware_integration
    if (os_info := get_os_info(hass)) is None:
  File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 320, in get_os_info
    return hass.data.get(DATA_OS_INFO)
AttributeError: 'datetime.datetime' object has no attribute 'data'