Fikk melding av Homely om at de skulle gjøre oppdateringer tirsdag 16. april.
Jeg vet ikke om det har noen sammenheng med at jeg dagen etter mistet Homely-tingene mine i Home Assistant..?
Sjekker loggen:
Logger: homeassistant.config_entries
Source: config_entries.py:444
First occurred: April 17, 2024 at 23:57:26 (5 occurrences)
Last logged: 08:33:26
Error setting up entry Homely Hjemme for homely
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/homely/__init__.py", line 26, in async_setup_entry
await homely_home.setup()
File "/config/custom_components/homely/coordinator.py", line 69, in setup
self.location = await self.hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/homelypy/homely.py", line 176, in get_location
devices.append(create_device_from_rest_response(device))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/homelypy/devices.py", line 172, in create_device_from_rest_response
return device_class.create_from_rest_response(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/homelypy/devices.py", line 98, in create_from_rest_response
state_fields[field.name] = field.type.create_from_rest_response(device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/homelypy/states.py", line 91, in create_from_rest_response
*extract_value_and_last_updated(my_data["defect"]) if "defect" in my_data else (None, None),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/homelypy/states.py", line 19, in extract_value_and_last_updated
timestamp = parse(data["lastUpdated"]) if data["lastUpdated"] is not None else None
~~~~^^^^^^^^^^^^^^^
KeyError: 'lastUpdated'