From 1385c659cd7062b9f7a9035fec3426e344386b4e Mon Sep 17 00:00:00 2001 From: David Rapan Date: Thu, 19 Dec 2024 01:42:11 +0100 Subject: [PATCH] refactor: Add control code constants for V5 HEARTBEAT --- custom_components/solarman/api.py | 4 ++-- custom_components/solarman/const.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/custom_components/solarman/api.py b/custom_components/solarman/api.py index ef70a3f..0b58822 100644 --- a/custom_components/solarman/api.py +++ b/custom_components/solarman/api.py @@ -57,7 +57,7 @@ async def _heartbeat_response(self, request_frame): v5_frame = bytearray( self.v5_start + struct.pack("