feat: set playing-state as the required property for wifi speaker

This commit is contained in:
LiShuzhen 2025-12-09 08:38:54 +08:00
parent d6aef614f3
commit 80ef77b5d4

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'}
}
}