I have been working on the new vesync api and the ability to include support for the European smart outlet. I’m based in the US so I tested the api with US devices but I don’t have access to a European switch. I was able to get all the api calls but does anyone have the european outlet they would like to test the library and component with? Any feedback or suggestions are appreciated.
The sample component is the same as the current vesync component, it just imports the local vesync file instead of the installed python package.
Create a switch folder in the ~/config/custom_components
and add the vesync.py file and the sample component switch.py below:
https://github.com/webdjoe/pyvesync_v2/blob/Dev/src/pyvesync_v2/vesync.py
https://github.com/webdjoe/pyvesync_v2/blob/Dev/HACustom_Components/vesync/switch.py