mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Bump python-songpal to 0.16 (#103561)
* Bump python-songpal to 0.16 * Set _attr_device_class
This commit is contained in:
parent
5b43351807
commit
21af563dfe
@ -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",
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user