mirror of
https://github.com/suaveolent/hoymiles-wifi.git
synced 2024-09-20 03:10:11 +00:00
bug fix
This commit is contained in:
parent
10f1b19386
commit
ba5ac3a7fe
@ -176,7 +176,6 @@ async def async_get_version_info(inverter):
|
||||
inverter_hw_version="H" + generate_version_string(response.pv_info[0].pv_hw_version),
|
||||
inverter_sw_version="V" + generate_sw_version_string(response.pv_info[0].pv_sw_version),
|
||||
)
|
||||
|
||||
|
||||
def print_invalid_command(command):
|
||||
print(f"Invalid command: {command}")
|
||||
|
@ -77,7 +77,7 @@ class Inverter:
|
||||
async def async_get_real_data(self) -> RealData_pb2.RealDataResDTO | None:
|
||||
request = RealData_pb2.RealDataResDTO()
|
||||
command = CMD_REAL_DATA_RES_DTO
|
||||
return await self.async_.send_request(command, request, RealData_pb2.RealDataReqDTO)
|
||||
return await self.async_send_request(command, request, RealData_pb2.RealDataReqDTO)
|
||||
|
||||
async def async_get_real_data_new(self) -> RealDataNew_pb2.RealDataNewResDTO | None:
|
||||
request = RealDataNew_pb2.RealDataNewResDTO()
|
||||
|
Loading…
Reference in New Issue
Block a user