e2002 / yoradio

Web-radio based on ESP32-audioI2S library
GNU General Public License v3.0
375 stars 94 forks source link

Предупреждения при старте Home Assistant #100

Open Nicolaith opened 1 month ago

Nicolaith commented 1 month ago

WARNING (SyncWorker_2) [homeassistant.helpers.frame] Detected that custom integration 'yoradio' accesses hass.components.mqtt. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from mqtt directly at custom_components/yoradio/media_player.py, line 75: self.mqtt = hass.components.mqtt, please report it to the author of the 'yoradio' custom integration

WARNING (MainThread) [homeassistant.helpers.entity] Entity media_player.yoradio_test (<class 'custom_components.yoradio.media_player.yoradioDevice'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.PAUSE|VOLUME_SET|PREVIOUS_TRACK|NEXT_TRACK|TURN_ON|TURN_OFF|PLAY_MEDIA|VOLUME_STEP|SELECT_SOURCE|STOP|PLAY|BROWSE_MEDIA: 155573>, please report it to the author of the 'yoradio' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation