amosyuen / ha-epson-projector-link

Home Assistant Epson Projector Link
Apache License 2.0
12 stars 5 forks source link

Home Assistant feature deprecation #87

Open donlbooth opened 8 months ago

donlbooth commented 8 months ago

Version of the custom_component

1.0.0

Describe the bug

Warning in log issued by HA it self

Debug log

Logger: homeassistant.helpers.entity Source: helpers/entity.py:1520 First occurred: January 10, 2024 at 7:19:56 PM (1 occurrences) Last logged: January 10, 2024 at 7:19:56 PM Entity None (<class 'custom_components.epson_projector_link.media_player.EpsonProjectorMediaPlayer'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.TURN_ON|TURN_OFF|SELECT_SOURCE: 2432>, please create a bug report at https://github.com/amosyuen/ha-epson-projector-link/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

matthew-hz commented 6 months ago

I am receiving this message also, along with the one below. Any updates on a fix for this?

Detected that custom integration 'epson_projector_link' calls async_add_job, which is deprecated and will be removed in Home Assistant 2025.4; Please review https://developers.home-assistant.io/blog/2024/03/13/deprecate_add_run_job for replacement options at custom_components/epson_projector_link/init.py, line 33: hass.async_add_job(, please create a bug report at https://github.com/amosyuen/ha-epson-projector-link/issues