fix: playing state of media player entity (#1552)

This commit is contained in:
Li Shuzhen
2025-12-16 08:28:16 +08:00
committed by GitHub
parent 500ed76971
commit 3925e12863
2 changed files with 9 additions and 6 deletions

View File

@@ -325,10 +325,12 @@ SPEC_DEVICE_TRANS_MAP: dict = {
},
'play-control': {
'required': {
'properties': {
'playing-state': {'read'}
},
'actions': {'play'}
},
'optional': {
'properties': {'playing-state'},
'actions': {'pause', 'stop', 'next', 'previous'}
}
}