py-smart-gardena / hass-gardena-smart-system

Home Assistant custom component integration for Gardena Smart System
Apache License 2.0
208 stars 53 forks source link

Values which will be removed in HA Core 2025.1 #198

Open Archangel86 opened 7 months ago

Archangel86 commented 7 months ago
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:1567
First occurred: 00:04:29 (1 occurrences)
Last logged: 00:04:29

Entity None (<class 'custom_components.gardena_smart_system.vacuum.GardenaSmartMower'>) is using deprecated supported features values which will be removed in HA Core 2025.1.
Instead it should use <VacuumEntityFeature.STOP|RETURN_HOME|BATTERY|STATE|START: 12376>,
please create a bug report at https://github.com/py-smart-gardena/hass-gardena-smart-system/issues and reference
https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

Also there is an Entity for Mover: https://developers.home-assistant.io/docs/core/entity/lawn-mower

grm commented 6 months ago

There is a new version in beta 1.1.1-rc2 that should do the migration. Can you give it a try please ?

Thanks, grm

Archangel86 commented 6 months ago

Update to 1.1.1-rc3: No error/warning Message, but mover is still a vacuum. Also after complete reinstallation

TOBx2 commented 1 month ago

Lawn Mower Support is discussed in #183