diff --git a/homeassistant/components/songpal/manifest.json b/homeassistant/components/songpal/manifest.json index aa1157e8d0b..ce78b8c9f03 100644 --- a/homeassistant/components/songpal/manifest.json +++ b/homeassistant/components/songpal/manifest.json @@ -7,7 +7,7 @@ "iot_class": "local_push", "loggers": ["songpal"], "quality_scale": "gold", - "requirements": ["python-songpal==0.15.2"], + "requirements": ["python-songpal==0.16"], "ssdp": [ { "st": "urn:schemas-sony-com:service:ScalarWebAPI:1", diff --git a/homeassistant/components/songpal/media_player.py b/homeassistant/components/songpal/media_player.py index 79fab9a2651..7a8ced30eb7 100644 --- a/homeassistant/components/songpal/media_player.py +++ b/homeassistant/components/songpal/media_player.py @@ -16,6 +16,7 @@ from songpal import ( import voluptuous as vol from homeassistant.components.media_player import ( + MediaPlayerDeviceClass, MediaPlayerEntity, MediaPlayerEntityFeature, MediaPlayerState, @@ -91,6 +92,7 @@ class SongpalEntity(MediaPlayerEntity): """Class representing a Songpal device.""" _attr_should_poll = False + _attr_device_class = MediaPlayerDeviceClass.RECEIVER _attr_supported_features = ( MediaPlayerEntityFeature.VOLUME_SET | MediaPlayerEntityFeature.VOLUME_STEP diff --git a/requirements_all.txt b/requirements_all.txt index c2283c5310b..e966e0871f7 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2190,7 +2190,7 @@ python-roborock==0.35.0 python-smarttub==0.0.35 # homeassistant.components.songpal -python-songpal==0.15.2 +python-songpal==0.16 # homeassistant.components.tado python-tado==0.15.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 0b9220e21f4..d469ed5038d 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1634,7 +1634,7 @@ python-roborock==0.35.0 python-smarttub==0.0.35 # homeassistant.components.songpal -python-songpal==0.15.2 +python-songpal==0.16 # homeassistant.components.tado python-tado==0.15.0