Closed SorX14 closed 2 years ago
Reduce HTTP calls to AlphaCloud API.
Adds function to get list of available ESS units (and caches result):
getunits()
Adds separate functions to retrieve specific data for specific units:
getdailystatistics(serial) getsystemstatistics(serial) getpowerdata(serial) getsettings(serial)
getdailystatistics(serial)
getsystemstatistics(serial)
getpowerdata(serial)
getsettings(serial)
Retains backward compatibility
Closing this as you can just call the 'internal' functions, e.g:
data = await client._alphaess__powerdata(serial) if you don't want to use client.getdata()
data = await client._alphaess__powerdata(serial)
client.getdata()
9
Reduce HTTP calls to AlphaCloud API.
Adds function to get list of available ESS units (and caches result):
getunits()
Adds separate functions to retrieve specific data for specific units:
getdailystatistics(serial)
getsystemstatistics(serial)
getpowerdata(serial)
getsettings(serial)
Retains backward compatibility