thomluther / anker-solix-api

Python library for Anker Solix API
MIT License
36 stars 10 forks source link

Complete parts list for battery devices #80

Closed thomluther closed 3 months ago

thomluther commented 3 months ago

The defined model list for battery devices is incomplete. Furthermore it was defined as Enum class but contained duplicate values. Changing the definition to a dataclass

thomluther commented 3 months ago

The battery device capacity definition was also defined as Enum class but contained duplicate values. The class has been expanded with missing PNs and their capacity. Changed the class to a dataclass to better allign with duplicate value definitions