sveinse / zaptec

zaptec charger custom component for home assistant
MIT License
10 stars 2 forks source link

Attributes compete over the same argument but with different value #11

Closed sveinse closed 1 year ago

sveinse commented 1 year ago

Some attributes from charger data and state compete over the same attribute. E.g. is_online is being set to True by the data, and 1 by state, resulting in values going back and forth. Possibly the fix is to type-convert the incoming data from Zaptec before storing the attribute.

sveinse commented 1 year ago

Fixed in 66e448b