From 3782b5abd0b45a573ccfefd6a121e9ae70ce067d Mon Sep 17 00:00:00 2001 From: sfstar Date: Fri, 7 Mar 2025 07:43:19 +0000 Subject: [PATCH] remove wrapper function that adds no value --- custom_components/victron/coordinator.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/custom_components/victron/coordinator.py b/custom_components/victron/coordinator.py index f431baa..078a7e8 100644 --- a/custom_components/victron/coordinator.py +++ b/custom_components/victron/coordinator.py @@ -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)