Skip to content

Commit

Permalink
remove wrapper function that adds no value
Browse files Browse the repository at this point in the history
  • Loading branch information
sfstar committed Mar 7, 2025
1 parent 85a7dc3 commit 3782b5a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions custom_components/victron/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,6 @@ async def fetch_registers(self, unit, registerData):
raise UpdateFailed("Fetching registers failed") from e

def write_register(self, unit, address, value):
"""Write to the register."""
self.api_write(unit, address, value)

def api_write(self, unit, address, value):
"""Write to the api."""
# recycle connection
return self.api.write_register(unit=unit, address=address, value=value)
Expand Down

0 comments on commit 3782b5a

Please sign in to comment.