hoggyhoggy / givenergy-modbus-async

A python library to access GivEnergy inverters via Modbus TCP on a local network, with no dependency on the GivEnergy Cloud.
Other
1 stars 2 forks source link

another round of small changes and tidyups for review. #37

Closed divenal closed 3 weeks ago

divenal commented 1 month ago

I'm still testing a couple of bigger changes I have in the pipeline, but this bits all seem to be working fine.

divenal commented 1 month ago

I've added another change to add an access method client.commands which is currently equivalent to importing commands directly, but provides a migration path to making it an instance of a Commands class which will have access to the plant. No net change in functonality.

(I do have the followup change ready, to confirm it works as planned.)

divenal commented 1 month ago

I've slipped in a late change to add support for x in TimeSlot - True if time x is between start and end times of a timeslot.