mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2025-12-17 02:42:11 +08:00
fix: playing state of media player entity (#1552)
This commit is contained in:
@@ -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'}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user