mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2026-01-15 05:50:43 +08:00
fix: source of temperature property electric blanket is incorrect
- Use temperature of electric-blanket instead of environment
This commit is contained in:
parent
52d0214766
commit
fa34b4fb1c
@ -251,18 +251,10 @@ SPEC_DEVICE_TRANS_MAP: dict[str, dict | str] = {
|
||||
}
|
||||
},
|
||||
'optional': {
|
||||
'properties': {'target-temperature'}
|
||||
'properties': {'target-temperature', 'temperature'}
|
||||
},
|
||||
}
|
||||
},
|
||||
'optional': {
|
||||
'environment': {
|
||||
'required': {},
|
||||
'optional': {
|
||||
'properties': {'temperature'}
|
||||
}
|
||||
},
|
||||
},
|
||||
'entity': 'heater'
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user