mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2026-01-17 23:50:42 +08:00
处理小爱音箱media_player实体没有问题
This commit is contained in:
parent
001af5384a
commit
140e8808f4
@ -325,13 +325,10 @@ SPEC_DEVICE_TRANS_MAP: dict = {
|
|||||||
},
|
},
|
||||||
'play-control': {
|
'play-control': {
|
||||||
'required': {
|
'required': {
|
||||||
'properties': {
|
|
||||||
'playing-state': {'read'}
|
|
||||||
},
|
|
||||||
'actions': {'play'}
|
'actions': {'play'}
|
||||||
},
|
},
|
||||||
'optional': {
|
'optional': {
|
||||||
'properties': {'play-loop-mode'},
|
'properties': {'playing-state', 'play-loop-mode'},
|
||||||
'actions': {'pause', 'stop', 'next', 'previous'}
|
'actions': {'pause', 'stop', 'next', 'previous'}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -376,7 +373,7 @@ SPEC_DEVICE_TRANS_MAP: dict = {
|
|||||||
},
|
},
|
||||||
'entity': 'television'
|
'entity': 'television'
|
||||||
},
|
},
|
||||||
'tv-box':{
|
'tv-box': {
|
||||||
'required': {
|
'required': {
|
||||||
'speaker': {
|
'speaker': {
|
||||||
'required': {
|
'required': {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user