smartHomeHub / SmartIR

Integration for Home Assistant to control climate, TV and fan devices via IR/RF controllers (Broadlink, Xiaomi, MQTT, LOOKin, ESPHome)
MIT License
2.08k stars 1.01k forks source link

Home Assistant Logs show Magic number depreciation in use by SmartIR #1288

Open silverbladeg opened 4 months ago

silverbladeg commented 4 months ago

Home Assistant: Core 2024.6.3 Supervisor 2024.06.2 Operating System 12.4 Frontend 20240610.1

SmartIR: 1.17.9 Logs from Core: Logger: homeassistant.helpers.entity Source: helpers/entity.py:1628 First occurred: July 21, 2024 at 9:08:59 PM (3 occurrences) Last logged: 12:14:22 AM

Entity None (<class 'custom_components.smartir.climate.SmartIRClimate'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE|FAN_MODE|SWING_MODE: 41>, please report it to the author of the 'smartir' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation Entity None (<class 'custom_components.browser_mod.media_player.BrowserModPlayer'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.PAUSE|SEEK|VOLUME_SET|VOLUME_MUTE|TURN_ON|TURN_OFF|PLAY_MEDIA|STOP|PLAY|BROWSE_MEDIA: 152463>, please report it to the author of the 'browser_mod' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation