We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9fc6999 + c4f4293 commit 58c6fcbCopy full SHA for 58c6fcb
custom_components/smartthings_soundbar/media_player.py
@@ -6,8 +6,8 @@
6
from homeassistant.components.media_player import (
7
MediaPlayerEntity,
8
MediaPlayerEntityFeature,
9
+ MediaPlayerDeviceClass,
10
PLATFORM_SCHEMA,
- DEVICE_CLASS_SPEAKER,
11
)
12
from homeassistant.const import (
13
CONF_NAME, CONF_API_KEY, CONF_DEVICE_ID
@@ -103,7 +103,7 @@ def select_sound_mode(self, sound_mode):
103
104
@property
105
def device_class(self):
106
- return DEVICE_CLASS_SPEAKER
+ return MediaPlayerDeviceClass.SPEAKER
107
108
109
def supported_features(self):
0 commit comments