-
Notifications
You must be signed in to change notification settings - Fork 56
Description
When did this issue occur?
New Issue
The problem
Hi,
I have an issue with myko. Suddenly my myko devices don't refresh anymore and in got this error. I cut the lines after "createdTimestampMs':" because all my devices are listed.
"Source: /usr/local/lib/python3.13/site-packages/aioafero/v1/controllers/event.py:403
Unable to process Afero IoT data. [{'id': 'e460030f-516e-41e4-a3eb-27e5d54d7c0a', 'createdTimestampMs':
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/aioafero/v1/controllers/event.py", line 401, in perform_poll
await self.generate_events_from_data(data)
File "/usr/local/lib/python3.13/site-packages/aioafero/v1/controllers/event.py", line 356, in generate_events_from_data
devices = await self.generate_devices_from_data(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aioafero/v1/controllers/event.py", line 310, in generate_devices_from_data
return await self.split_devices(devices)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aioafero/v1/controllers/event.py", line 316, in split_devices
multi_devs, remove_root = multi_dev_callable(dev)
~~~~~~~~~~~~~~~~~~^^^^^
File "/usr/local/lib/python3.13/site-packages/aioafero/v1/controllers/security_system.py", line 211, in security_system_callback
cloned.states = get_valid_states(afero_device.states, sensor_id)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aioafero/v1/controllers/security_system.py", line 120, in get_valid_states
value=BYPASS_MODES[state.value[top_level_key]["bypassType"]],
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
Datadump
No response
What version of Home Assistant Core has the issue?
core-2025.9.4
What type of installation are you running?
Home Assistant Container
Anything in the logs that might be useful for us?
Additional information
No response