mirror of
https://github.com/Andre0512/hon.git
synced 2025-05-18 00:54:22 -04:00
Fix issues from refactoring
This commit is contained in:
parent
2acc6225c4
commit
3924c6ed77
7 changed files with 90 additions and 89 deletions
custom_components/hon
|
@ -155,7 +155,7 @@ class HonACClimateEntity(HonEntity, ClimateEntity):
|
|||
self._handle_coordinator_update(update=False)
|
||||
|
||||
def _set_temperature_bound(self) -> None:
|
||||
temperature = self._device.settings[self.entity_description.key]
|
||||
temperature = self._device.settings["settings.tempSel"]
|
||||
if not isinstance(temperature, HonParameterRange):
|
||||
raise ValueError
|
||||
self._attr_max_temp = temperature.max
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue