Skip to content

Commit

Permalink
#20: Fixed instructions in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
olivergregorius committed Jun 14, 2023
1 parent f7bb58b commit 3dc7cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ from sun2000_modbus import registers

inverter = inverter.Sun2000(host='192.168.8.1')
inverter.connect()
if inverter.connected:
if inverter.isConnected():
input_power = inverter.read_formatted(registers.InverterEquipmentRegister.InputPower)
print(input_power)
```
Expand Down

0 comments on commit 3dc7cea

Please sign in to comment.