-
Notifications
You must be signed in to change notification settings - Fork 52
Description
Upgraded to 0.1.0. Upon restart of HomeAssistant received error "Migration error: Check the logs".
Upgraded HA from 2025.9 to 2025.10: did not resolve problem.
Attempted to reconfigure 'frontdoor' received error "Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble"
Selecting reconfigure for ADU lock (see screenshot below) works as expected.
- OS: Ubuntu
- Type of system that HA is running on: Dell R720
- Home Assistant version: 2025.10
- Docker
- Component version: 0.1.0
- Z-Wave integration name: zwave_js
- Lock make and model: 2 x Schlage BE469
Logs
Unexpected error fetching keymaster data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 392, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/keymaster/coordinator.py", line 1733, in _async_update_data
await self._update_lock_data(keymaster_config_entry_id=keymaster_config_entry_id)
File "/config/custom_components/keymaster/coordinator.py", line 1766, in _update_lock_data
await self._connect_and_update_lock(kmlock=kmlock)
File "/config/custom_components/keymaster/coordinator.py", line 1621, in _connect_and_update_lock
client: ZwaveJSClient = zwave_entry.runtime_data.client
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ConfigEntry' object has no attribute 'runtime_data'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 392, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/keymaster/coordinator.py", line 1733, in _async_update_data
await self._update_lock_data(keymaster_config_entry_id=keymaster_config_entry_id)
File "/config/custom_components/keymaster/coordinator.py", line 1766, in _update_lock_data
await self._connect_and_update_lock(kmlock=kmlock)
File "/config/custom_components/keymaster/coordinator.py", line 1621, in _connect_and_update_lock
client: ZwaveJSClient = zwave_entry.runtime_data.client
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ConfigEntry' object has no attribute 'runtime_data'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1110, in async_migrate
result = await component.async_migrate_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/keymaster/init.py", line 248, in async_migrate_entry
if not await migrate_2to3(hass=hass, config_entry=config_entry):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/keymaster/migrate.py", line 81, in migrate_2to3
raise ConfigEntryNotReady from coordinator.last_exception
homeassistant.exceptions.ConfigEntryNotReady: 'ConfigEntry' object has no attribute 'runtime_data'
