upsert / lutron-caseta-pro

Custom Home Assistant Component for Lutron Caseta Smart Bridge PRO / RA2 Select
Apache License 2.0
184 stars 38 forks source link

Upcoming Deprecated Features #83

Closed FidgetyRat closed 8 months ago

FidgetyRat commented 8 months ago

On startup of 2024 versions of HomeAssistant, the component now has a long series of deprecation warnings. I didn't see an issue (or any activity on this component) so figured a new issue was in order.

2024-03-02 02:36:10.454 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_SET_POSITION was used from lutron_caseta_pro, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.SET_POSITION instead, please create a bug report at https://github.com/upsert/lutron-caseta-pro/issues 2024-03-02 02:36:10.458 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_STOP was used from lutron_caseta_pro, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.STOP instead, please create a bug report at https://github.com/upsert/lutron-caseta-pro/issues 2024-03-02 02:36:10.465 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_SET_SPEED was used from lutron_caseta_pro, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.SET_SPEED instead, please create a bug report at https://github.com/upsert/lutron-caseta-pro/issues 2024-03-02 02:36:10.470 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_SET_SPEED was used from lutron_caseta_pro, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.SET_SPEED instead, please create a bug report at https://github.com/upsert/lutron-caseta-pro/issues 2024-03-02 02:36:11.499 WARNING (MainThread) [homeassistant.components.light] Entity None (<class 'custom_components.lutron_caseta_pro.light.CasetaLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature.TRANSITION|1: 33> and color modes, please create a bug report at https://github.com/upsert/lutron-caseta-pro/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

FidgetyRat commented 8 months ago

I just noticed that the integration was no longer needed and that's likely why there have been no updates. Thanks again for all the years of this integration!