dolphin-robot icon indicating copy to clipboard operation
dolphin-robot copied to clipboard

Entity vacuum.aquawize_aw6 (<class 'custom_components.mydolphin_plus.vacuum.MyDolphinPlusLightEntity'>) should implement the 'activity' property

Open AnthonyBe opened this issue 10 months ago • 1 comments

Another deprecation error:

HA 2025.2.2, MyDolphin Plus integration 1.0.20

2025-02-11 18:14:39.362 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'mydolphin_plus' is setting state directly. Entity vacuum.aquawize_aw6 (<class 'custom_components.mydolphin_plus.vacuum.MyDolphinPlusLightEntity'>) should implement the 'activity' property and return its state using the VacuumActivity enum at custom_components/mydolphin_plus/vacuum.py, line 102: self._attr_state = state. This will stop working in Home Assistant 2026.1, please create a bug report at https://github.com/sh00t2kill/dolphin-robot/issues

AnthonyBe avatar Feb 11 '25 07:02 AnthonyBe

Similar here:

2025-04-04 17:57:12.274 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'mydolphin_plus' is setting state directly. Entity vacuum.dory (<class 'custom_components.mydolphin_plus.vacuum.MyDolphinPlusLightEntity'>) 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/sh00t2kill/dolphin-robot/issues

Scope666 avatar Apr 04 '25 22:04 Scope666

Same here:

Logger: homeassistant.helpers.frame Source: helpers/frame.py:292 First occurred: 11:56:31 AM (1 occurrence) Last logged: 11:56:31 AM

Detected that custom integration 'mydolphin_plus' is setting state directly. Entity vacuum.poolio (<class 'custom_components.mydolphin_plus.vacuum.MyDolphinPlusLightEntity'>) 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/sh00t2kill/dolphin-robot/issues

mikeschmick avatar May 27 '25 15:05 mikeschmick

Fixed by https://github.com/sh00t2kill/dolphin-robot/pull/246

Thanks @zoic21

sh00t2kill avatar Jun 26 '25 06:06 sh00t2kill