Skip to content

Commit

Permalink
Merge branch 'main' into version2
Browse files Browse the repository at this point in the history
  • Loading branch information
kingy444 committed Aug 29, 2024
2 parents af5fc06 + aba9e17 commit 8359f63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/electrolux_status/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ def native_step(self) -> float:

async def async_set_native_value(self, value: float) -> None:
"""Update the current value."""
if self.unit == UnitOfTime.SECONDS:
value = time_minutes_to_seconds(value)
if self.unit == UnitOfTime.SECONDS:
value = time_minutes_to_seconds(value)
client: OneAppApi = self.api
Expand Down

0 comments on commit 8359f63

Please sign in to comment.