I dont know if this is even possible or not but I currently have two Vesync Devices. 1. Core400s , 2. LUH-O451S-WEU. As the official Integration does not currently support a lot of Vesync Humidifiers i’ve looked for Custom Integrations and found this one GitHub - vlebourl/custom_vesync: Custom VeSync component for Home Assistant.
Unfortunately they only support the US Version (LUH-O451S-WUS) of the Device and not the EU. But because these Devices are basically identical as far as i can tell i think it should work for the EU Version as well. The Integration relies on GitHub - webdjoe/pyvesync: pyvesync is a python library to manage Etekcity & Levoit smart devices which is responsible for the Vesync API.
Now to my question. Can i “easily” integrate the EU Device into the Code?
I am no programmer, but as far as i can see it boils down to vesyncfan.py in which there is a list of devices. Because i found multiple Instances of other devices which have their EU Version in the List as well, i think i could just add the LUH-O451S-WEU to this List. However i don’t know how i could do this.
I’ve tried referencing the URL of the forked Repo, which didn’t work. I’ve tried downloading the Forked Repo and putting in in /config/custom_components/vesync which didn’t work either. When the custom Integration starts it doesn’t find the repository.