mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +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
|
self._attr_step = description.step
|
||||||
|
|
||||||
@callback
|
@callback
|
||||||
def async_update_callback(self, force_update: bool = False) -> None:
|
def async_update_callback(self) -> None:
|
||||||
"""Update the number value."""
|
"""Update the number value."""
|
||||||
keys = {self.entity_description.update_key, "reachable"}
|
keys = {self.entity_description.update_key, "reachable"}
|
||||||
if force_update or self._device.changed_keys.intersection(keys):
|
if self._device.changed_keys.intersection(keys):
|
||||||
super().async_update_callback(force_update=force_update)
|
super().async_update_callback()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def value(self) -> float:
|
def value(self) -> float:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user