Skip to content

Commit f26f30e

Browse files
Merge pull request #629 from WillCodeForCats/619-detect-power-loss-grid-is-out
Always read grid status
2 parents 161f46d + 1f94f26 commit f26f30e

File tree

1 file changed

+1
-1
lines changed
  • custom_components/solaredge_modbus_multi

1 file changed

+1
-1
lines changed

custom_components/solaredge_modbus_multi/hub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1302,7 +1302,7 @@ async def read_modbus_data(self) -> None:
13021302
)
13031303

13041304
""" Grid On/Off Status """
1305-
if self.hub.option_detect_extras is True and self._grid_status is not False:
1305+
if self._grid_status is not False:
13061306
try:
13071307
inverter_data = await self.hub.modbus_read_holding_registers(
13081308
unit=self.inverter_unit_id, address=40113, rcount=2

0 commit comments

Comments
 (0)