mirror of
https://github.com/Andre0512/hon.git
synced 2025-05-27 13:14:14 -04:00
Improve fridge support #41
This commit is contained in:
parent
833c395c97
commit
bf1a6e8fe2
29 changed files with 788 additions and 278 deletions
custom_components/hon
|
@ -216,7 +216,7 @@ class HonNumberEntity(HonEntity, NumberEntity):
|
|||
async def async_set_native_value(self, value: float) -> None:
|
||||
setting = self._device.settings[self.entity_description.key]
|
||||
if not (
|
||||
isinstance(setting, HonParameter) or isinstance(setting, HonParameterFixed)
|
||||
type(setting) == HonParameter or isinstance(setting, HonParameterFixed)
|
||||
):
|
||||
setting.value = value
|
||||
if "settings." in self.entity_description.key:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue