mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27: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",
|
"iot_class": "local_push",
|
||||||
"loggers": ["songpal"],
|
"loggers": ["songpal"],
|
||||||
"quality_scale": "gold",
|
"quality_scale": "gold",
|
||||||
"requirements": ["python-songpal==0.15.2"],
|
"requirements": ["python-songpal==0.16"],
|
||||||
"ssdp": [
|
"ssdp": [
|
||||||
{
|
{
|
||||||
"st": "urn:schemas-sony-com:service:ScalarWebAPI:1",
|
"st": "urn:schemas-sony-com:service:ScalarWebAPI:1",
|
||||||
|
@ -16,6 +16,7 @@ from songpal import (
|
|||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant.components.media_player import (
|
from homeassistant.components.media_player import (
|
||||||
|
MediaPlayerDeviceClass,
|
||||||
MediaPlayerEntity,
|
MediaPlayerEntity,
|
||||||
MediaPlayerEntityFeature,
|
MediaPlayerEntityFeature,
|
||||||
MediaPlayerState,
|
MediaPlayerState,
|
||||||
@ -91,6 +92,7 @@ class SongpalEntity(MediaPlayerEntity):
|
|||||||
"""Class representing a Songpal device."""
|
"""Class representing a Songpal device."""
|
||||||
|
|
||||||
_attr_should_poll = False
|
_attr_should_poll = False
|
||||||
|
_attr_device_class = MediaPlayerDeviceClass.RECEIVER
|
||||||
_attr_supported_features = (
|
_attr_supported_features = (
|
||||||
MediaPlayerEntityFeature.VOLUME_SET
|
MediaPlayerEntityFeature.VOLUME_SET
|
||||||
| MediaPlayerEntityFeature.VOLUME_STEP
|
| MediaPlayerEntityFeature.VOLUME_STEP
|
||||||
|
@ -2190,7 +2190,7 @@ python-roborock==0.35.0
|
|||||||
python-smarttub==0.0.35
|
python-smarttub==0.0.35
|
||||||
|
|
||||||
# homeassistant.components.songpal
|
# homeassistant.components.songpal
|
||||||
python-songpal==0.15.2
|
python-songpal==0.16
|
||||||
|
|
||||||
# homeassistant.components.tado
|
# homeassistant.components.tado
|
||||||
python-tado==0.15.0
|
python-tado==0.15.0
|
||||||
|
@ -1634,7 +1634,7 @@ python-roborock==0.35.0
|
|||||||
python-smarttub==0.0.35
|
python-smarttub==0.0.35
|
||||||
|
|
||||||
# homeassistant.components.songpal
|
# homeassistant.components.songpal
|
||||||
python-songpal==0.15.2
|
python-songpal==0.16
|
||||||
|
|
||||||
# homeassistant.components.tado
|
# homeassistant.components.tado
|
||||||
python-tado==0.15.0
|
python-tado==0.15.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user