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

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

Hello, is it possible to fix this for next year's version #191

Closed Thunderbird1982 closed 9 months ago

Thunderbird1982 commented 10 months ago

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>,

thanks Thunderbird

eikowagenknecht commented 10 months ago

With link to the announcement:

 Logger: homeassistant.helpers.entity
Source: helpers/entity.py:1524
First occurred: 15:27:32 (1 occurrences)
Last logged: 15:27:32
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
grm commented 10 months ago

Thx, a MR has been don, I still have to releease it. :)

grm commented 9 months ago

Should be fixed ! I had issues yesterday with travisci which does not work as expected anymore. I migrated to github actions for building the underlying library py-smart-gardena.

I just release a 1.1.0-rc3 version (in beta) that should solve the issue.