Skip to content

Commit

Permalink
Remove power reduce read
Browse files Browse the repository at this point in the history
  • Loading branch information
WillCodeForCats committed Feb 15, 2024
1 parent 04dca10 commit fae88c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions custom_components/solaredge_modbus_multi/hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ async def read_modbus_data(self) -> None:
)

inverter_data = await self.hub.modbus_read_holding_registers(
unit=self.inverter_unit_id, address=61760, rcount=4
unit=self.inverter_unit_id, address=61762, rcount=2
)

decoder = BinaryPayloadDecoder.fromRegisters(
Expand All @@ -1061,7 +1061,6 @@ async def read_modbus_data(self) -> None:
self.decoded_model.update(
OrderedDict(
[
("PowerReduce", decoder.decode_32bit_float()),
("AdvPwrCtrlEn", decoder.decode_32bit_int()),
]
)
Expand Down

0 comments on commit fae88c2

Please sign in to comment.