Tib612 / pluxee-api

A python API to access Pluxee (Sodexo) balance and transactions
https://pypi.org/project/pluxee-api/
MIT License
7 stars 1 forks source link

Home Assistant integration? #2

Closed bugzke closed 1 month ago

bugzke commented 1 month ago

Hi @Tib612

I was using a custom component in Home Assistant for importing my Sodexo data: https://github.com/Fllorent0D/ha-custom-component-sodexo-be

Since they switched their name to Pluxee and changed their website this no longer works. In an attempt to fix it I stumbled upon your project (which works great) but I can't seem to figure out how to get the Home Assistant integration right (Python noob) and the original project seems to be dead.

If by any chance you are a Home Assistant user yourself, or want to try this nonetheless: a feature suggestion for creating a custom component for HA from your pluxee-api :-)

Tib612 commented 1 month ago

Hi bugzke.

Thanks for your suggestion. The owner of the repo you mentionned is a friend of mine. I'll see with him to find a solution.

I'll inform you when it is done.

Tib612 commented 1 month ago

Hi @bugzke,

I made a PR on https://github.com/Fllorent0D/ha-custom-component-sodexo-be which fixes the data retrieval. You can find my answer on https://github.com/Fllorent0D/ha-custom-component-sodexo-be/issues/5#issuecomment-2243684155

bugzke commented 1 month ago

Thanks! Tested and working flawlessly!

Tib612 commented 1 month ago

Nice ! Don't hesitate if you see any bug.