indykoning / PyPi_GrowattServer

MIT License
70 stars 32 forks source link

url change, new endpoint to plant_list and more timespan options #65

Open alissonzima opened 1 year ago

alissonzima commented 1 year ago

server_url change, same as pr https://github.com/indykoning/PyPi_GrowattServer/pull/62 endpoint for plant_detail changed from PlantDetailAPI to newPlantDetailAPI, retrieving complete date on data dict added 2 more timespan options, year and all

class Timespan(IntEnum):
   hour = 0
   day = 1
   month = 2
   year = 3
   all = 4