Introduced a check for the presence of MediaPlayerDeviceClass to ensure compatibility across different Home Assistant versions. If MediaPlayerDeviceClass is unavailable, the integration defaults to DEVICE_CLASS_SPEAKER for backward compatibility. This change ensures future-proofing against deprecated constants and resolves warnings in Home Assistant logs. |
||
|---|---|---|
| .. | ||
| api_extension | ||
| translations | ||
| __init__.py | ||
| config_flow.py | ||
| const.py | ||
| image.py | ||
| manifest.json | ||
| media_player.py | ||
| models.py | ||
| number.py | ||
| select.py | ||
| sensor.py | ||
| services.yaml | ||
| switch.py | ||