-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
- Core: 2025.5.3
- Supervisor: 2025.05.3
- Operating System: 15.2
- HACS: 2.0.5
The repo change logs shows very little to suggest a connection/cause, but following the update to 1.5.6 (from 1.5.4), two entities are no longer reporting (however, two are). Restart of integration/HA/VM results in the same.
- ☠️ vacuum.hoover
- ☠️ sensor.hoover_battery_level
- ✅ binary_sensor.hoover_battery_charging
- ✅ binary_sensor.hoover_bin_full
2025-06-10 08:03:51.486 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration dyson_local which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-06-10 08:03:51.486 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2025-06-10 08:03:57.691 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_CLEANING was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.CLEANING instead, please report it to the author of the 'dyson_local' custom integration
2025-06-10 08:03:57.693 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_DOCKED was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.DOCKED instead, please report it to the author of the 'dyson_local' custom integration
2025-06-10 08:03:57.695 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_ERROR was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.ERROR instead, please report it to the author of the 'dyson_local' custom integration
2025-06-10 08:03:57.697 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_RETURNING was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.RETURNING instead, please report it to the author of the 'dyson_local' custom integration
2025-06-10 08:03:57.699 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_CLEANING was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.CLEANING instead, please report it to the author of the 'dyson_local' custom integration
2025-06-10 08:03:57.702 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_DOCKED was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.DOCKED instead, please report it to the author of the 'dyson_local' custom integration
2025-06-10 08:03:57.705 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_ERROR was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.ERROR instead, please report it to the author of the 'dyson_local' custom integration
2025-06-10 08:03:57.707 WARNING (ImportExecutor_0) [homeassistant.components.vacuum] STATE_RETURNING was used from dyson_local, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.RETURNING instead, please report it to the author of the 'dyson_local' custom integration
2025-06-10 08:03:57.708 ERROR (MainThread) [homeassistant.components.sensor] Error adding entity sensor.hoover_battery_level for domain sensor with platform dyson_local
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 657, in _async_add_entities
await self._async_add_entity(
entity, False, entity_registry, config_subentry_id
)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 979, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1370, in add_to_platform_finish
self.async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1019, in async_write_ha_state
self._async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1141, in _async_write_ha_state
self.__async_calculate_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1081, in __async_calculate_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1025, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 521, in state
value = self.native_value
^^^^^^^^^^^^^^^^^
File "/config/custom_components/dyson_local/sensor.py", line 139, in native_value
return self._device.battery_level
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dyson_local/vendor/libdyson/dyson_vacuum_device.py", line 45, in battery_level
return self._status["batteryChargeLevel"]
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'batteryChargeLevel'
2025-06-10 08:03:57.713 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'dyson_local' is setting state directly. Entity None (<class 'custom_components.dyson_local.vacuum.Dyson360HeuristEntity'>) should implement the 'activity' property and return its state using the VacuumActivity enum. This will stop working in Home Assistant 2026.1, please create a bug report at https://github.com/libdyson-wg/ha-dyson/issues
2025-06-10 08:03:57.713 ERROR (MainThread) [homeassistant.components.vacuum] Error adding entity vacuum.hoover for domain vacuum with platform dyson_local
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 657, in _async_add_entities
await self._async_add_entity(
entity, False, entity_registry, config_subentry_id
)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 979, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1370, in add_to_platform_finish
self.async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1019, in async_write_ha_state
self._async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1141, in _async_write_ha_state
self.__async_calculate_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1083, in __async_calculate_state
if state_attributes := self.state_attributes:
^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/vacuum/__init__.py", line 336, in state_attributes
data[ATTR_BATTERY_LEVEL] = self.battery_level
^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dyson_local/vacuum.py", line 171, in battery_level
return self._device.battery_level
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dyson_local/vendor/libdyson/dyson_vacuum_device.py", line 45, in battery_level
return self._status["batteryChargeLevel"]
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'batteryChargeLevel'
Metadata
Metadata
Assignees
Labels
No labels