mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 00:37:13 +00:00
Fix missing ordered states in universal media player (#75099)
This commit is contained in:
parent
1e5ada0f9d
commit
b7a6f4e220
@ -69,11 +69,13 @@ from homeassistant.const import (
|
||||
SERVICE_VOLUME_MUTE,
|
||||
SERVICE_VOLUME_SET,
|
||||
SERVICE_VOLUME_UP,
|
||||
STATE_BUFFERING,
|
||||
STATE_IDLE,
|
||||
STATE_OFF,
|
||||
STATE_ON,
|
||||
STATE_PAUSED,
|
||||
STATE_PLAYING,
|
||||
STATE_STANDBY,
|
||||
STATE_UNAVAILABLE,
|
||||
STATE_UNKNOWN,
|
||||
)
|
||||
@ -101,8 +103,10 @@ STATES_ORDER = [
|
||||
STATE_UNAVAILABLE,
|
||||
STATE_OFF,
|
||||
STATE_IDLE,
|
||||
STATE_STANDBY,
|
||||
STATE_ON,
|
||||
STATE_PAUSED,
|
||||
STATE_BUFFERING,
|
||||
STATE_PLAYING,
|
||||
]
|
||||
ATTRS_SCHEMA = cv.schema_with_slug_keys(cv.string)
|
||||
|
Loading…
x
Reference in New Issue
Block a user