From fb0c1cb5ddae3de93230a3d3105799db170d5a78 Mon Sep 17 00:00:00 2001 From: wills106 Date: Thu, 22 Feb 2024 14:04:56 +0000 Subject: [PATCH] 2024.02.6b4 --- custom_components/solax_modbus/__init__.py | 2 +- custom_components/solax_modbus/manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/solax_modbus/__init__.py b/custom_components/solax_modbus/__init__.py index 125e0461..b3bd3de1 100644 --- a/custom_components/solax_modbus/__init__.py +++ b/custom_components/solax_modbus/__init__.py @@ -383,7 +383,7 @@ async def async_lowlevel_write_register(self, unit, address, payload): builder.reset() builder.add_16bit_int(payload) payload = builder.to_registers() - return self._client.write_register(address, payload[0], **kwargs) + return await self._client.write_register(address, payload[0], **kwargs) async def async_write_register(self, unit, address, payload): """Write register.""" diff --git a/custom_components/solax_modbus/manifest.json b/custom_components/solax_modbus/manifest.json index e0010caf..46c7389e 100644 --- a/custom_components/solax_modbus/manifest.json +++ b/custom_components/solax_modbus/manifest.json @@ -9,5 +9,5 @@ "iot_class": "local_polling", "issue_tracker": "https://github.com/wills106/homsassistant-solax-modbus/issues", "requirements": ["pymodbus>=3.5.2"], - "version": "2024.02.5.3" + "version": "2024.02.5.4" }