mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix issue where Number still would send force_update to super method (#58110)
This commit is contained in:
parent
b301ab25a3
commit
326a302c22
@ -104,11 +104,11 @@ class DeconzNumber(DeconzDevice, NumberEntity):
|
||||
self._attr_step = description.step
|
||||
|
||||
@callback
|
||||
def async_update_callback(self, force_update: bool = False) -> None:
|
||||
def async_update_callback(self) -> None:
|
||||
"""Update the number value."""
|
||||
keys = {self.entity_description.update_key, "reachable"}
|
||||
if force_update or self._device.changed_keys.intersection(keys):
|
||||
super().async_update_callback(force_update=force_update)
|
||||
if self._device.changed_keys.intersection(keys):
|
||||
super().async_update_callback()
|
||||
|
||||
@property
|
||||
def value(self) -> float:
|
||||
|
Loading…
x
Reference in New Issue
Block a user