Bump python-songpal to 0.16 (#103561)

* Bump python-songpal to 0.16

* Set _attr_device_class
This commit is contained in:
Teemu R 2023-11-07 15:06:34 +01:00 committed by GitHub
parent 5b43351807
commit 21af563dfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View File

@ -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",

View File

@ -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

View File

@ -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

View File

@ -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