mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2026-01-14 05:10:44 +08:00
feat: add optional play-loop-mode property
This commit is contained in:
parent
e06254f980
commit
a33fe6f041
@ -331,6 +331,7 @@ SPEC_DEVICE_TRANS_MAP: dict = {
|
||||
'actions': {'play'}
|
||||
},
|
||||
'optional': {
|
||||
'properties': {'play-loop-mode'},
|
||||
'actions': {'pause', 'stop', 'next', 'previous'}
|
||||
}
|
||||
}
|
||||
@ -368,6 +369,7 @@ SPEC_DEVICE_TRANS_MAP: dict = {
|
||||
}
|
||||
},
|
||||
'optional': {
|
||||
'properties': {'play-loop-mode'},
|
||||
'actions': {'play', 'pause', 'stop', 'next', 'previous'}
|
||||
}
|
||||
}
|
||||
@ -391,7 +393,6 @@ SPEC_DEVICE_TRANS_MAP: dict = {
|
||||
'actions': {'turn-off'}
|
||||
},
|
||||
'optional': {
|
||||
'properties': {'mode'},
|
||||
'actions': {'turn-on'}
|
||||
}
|
||||
}
|
||||
@ -404,6 +405,7 @@ SPEC_DEVICE_TRANS_MAP: dict = {
|
||||
}
|
||||
},
|
||||
'optional': {
|
||||
'properties': {'play-loop-mode'},
|
||||
'actions': {'play', 'pause', 'stop', 'next', 'previous'}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user