Finish migrating sleepiq NumberEntity to native_value (#73582)
This commit is contained in:
parent
d90f029772
commit
2107966fa8
1 changed files with 1 additions and 1 deletions
|
@ -157,5 +157,5 @@ class SleepIQNumberEntity(SleepIQBedEntity, NumberEntity):
|
|||
async def async_set_native_value(self, value: float) -> None:
|
||||
"""Set the number value."""
|
||||
await self.entity_description.set_value_fn(self.device, int(value))
|
||||
self._attr_value = value
|
||||
self._attr_native_value = value
|
||||
self.async_write_ha_state()
|
||||
|
|
Loading…
Add table
Reference in a new issue