Skip to content

Commit 5724558

Browse files
committed
remove wrapper function that adds no value
1 parent 785caae commit 5724558

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

custom_components/victron/coordinator.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,6 @@ async def fetch_registers(self, unit, registerData):
199199
raise UpdateFailed("Fetching registers failed") from e
200200

201201
def write_register(self, unit, address, value):
202-
"""Write to the register."""
203-
self.api_write(unit, address, value)
204-
205-
def api_write(self, unit, address, value):
206202
"""Write to the api."""
207203
# recycle connection
208204
return self.api.write_register(unit=unit, address=address, value=value)

0 commit comments

Comments
 (0)