mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2025-08-23 23:43:27 +08:00
fix: electric-blanket service required property
This commit is contained in:
@ -302,12 +302,11 @@ SPEC_DEVICE_TRANS_MAP: dict = {
|
||||
'required': {
|
||||
'properties': {
|
||||
'on': {'read', 'write'},
|
||||
'target-temperature': {'read', 'write'},
|
||||
'temperature': {'read'},
|
||||
'target-temperature': {'read', 'write'}
|
||||
}
|
||||
},
|
||||
'optional': {
|
||||
'properties': {'mode'}
|
||||
'properties': {'mode', 'temperature'}
|
||||
},
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user