-
Notifications
You must be signed in to change notification settings - Fork 0
Duplicate integration names #1
Description
Hi Maximunited,
I was trying to figure out the exact issue you referenced here: hacs/integration#540 and found the solution.
It is relatively simple - download aFrankLion’s version of the integration and then open terminal. Go to the config/custom_components folder and type in “mv google_keep google_keep_afranklion” and hit enter.
Now, using either some text editor within terminal (vi or nano or something) OR using the File Editor function of Home Assistant, go through the files in that folder. You are looking for any entry that defines “domain” - it should say something like “domain”: “google_keep” - change it to be “domain”: “google_keep_afranklion” (note that whatever you change it to has to match the new folder name exactly). It might also appear as DOMAIN = “google_keep” - again, change it to DOMAIN = “google_keep_afranklion”
Also a good idea to find the line that is something like “name”: “Google Keep” and change it to be something that helps you know which version it is (this does NOT have to match the folder name) - so it could be “name”: “Google Keep - aFrankLion”
I found two domain entries (one of each type listed above). Once I updated them to match the new folder name, updated the “name” entry and saved the files and restarted home assistant, I was able to then install the second integration. Then I restarted. After doing so, if you made the edits correctly, you should be able to add integration using either one of the integrations you listed.
Let me know if that helps!