ha_samsung_soundbar/custom_components/samsung_soundbar
tjamieg 4a1e233b4d
Add compatibility with MediaPlayerDeviceClass for backward compatibility
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.
2024-12-28 22:46:06 +00:00
..
api_extension Fix 'audiotrackdata' (#42) 2024-10-14 21:46:14 +02:00
translations Fix 'audiotrackdata' (#42) 2024-10-14 21:46:14 +02:00
__init__.py Feature: Add more fine grained configuration steps (#28) 2024-06-09 17:13:38 +02:00
config_flow.py Feature: Add more fine grained configuration steps (#28) 2024-06-09 17:13:38 +02:00
const.py Feature: Add more fine grained configuration steps (#28) 2024-06-09 17:13:38 +02:00
image.py 🎨 Chore: format files with `black` and `isort` 2024-02-08 16:58:57 +01:00
manifest.json Feature: Add more fine grained configuration steps (#28) 2024-06-09 17:13:38 +02:00
media_player.py Add compatibility with MediaPlayerDeviceClass for backward compatibility 2024-12-28 22:46:06 +00:00
models.py 🚀: First Release (#1) 2023-09-06 17:20:27 +02:00
number.py Feature: Add more fine grained configuration steps (#28) 2024-06-09 17:13:38 +02:00
select.py Feature: Add more fine grained configuration steps (#28) 2024-06-09 17:13:38 +02:00
sensor.py Feature: Add more fine grained configuration steps (#28) 2024-06-09 17:13:38 +02:00
services.yaml Feature: Add more fine grained configuration steps (#28) 2024-06-09 17:13:38 +02:00
switch.py Feature: Add more fine grained configuration steps (#28) 2024-06-09 17:13:38 +02:00