Compare commits

..

2 Commits

Author SHA1 Message Date
Lucka
b6ae36a77d
Merge fa34b4fb1c into 2e60962e94 2025-01-24 00:13:28 +08:00
lucka-me
fa34b4fb1c
fix: source of temperature property electric blanket is incorrect
- Use temperature of electric-blanket instead of environment
2025-01-24 00:13:11 +08:00

View File

@ -256,18 +256,10 @@ SPEC_DEVICE_TRANS_MAP: dict = {
}
},
'optional': {
'properties': {'target-temperature'}
'properties': {'target-temperature', 'temperature'}
},
}
},
'optional': {
'environment': {
'required': {},
'optional': {
'properties': {'temperature'}
}
},
},
'entity': 'heater'
}
}