thomasgermain / vaillant-component

Multimatic integration for Home Assistant (also compatible with sensoAPP)
MIT License
136 stars 24 forks source link

Setup failed for vaillant: 'Integration not found' after update HA Core #59

Closed johanvh83 closed 3 years ago

johanvh83 commented 3 years ago

Hi, I've update HA Core from core-2021.5.5 to core-2021.6.2 After restarting I have a notification: The following integration and platform could not be set up: vaillant The log shows: Logger: homeassistant.setup Source: setup.py:172 I don't know if this refers to a file called 'setup.py'. In my vaillant folder under custom-components there is no setup.py: Schermafbeelding 2021-06-06 om 19 20 03 I went back to core-2021.5.5 with the snapshot and everything started normally. Gave it a 2th try to core-2021.6.2 and had again the same error. Could it be that your integrations is no longer compatible with the new core version? Is there anything I can do from my side to solve this issue? If a can log something for you, please send intructions. I hope this is soon resolved.

Kind regards, Johan

thomasgermain commented 3 years ago

Hello,

I moved to 2021-6.X yesterday (saturday) evening without issue, which version are you using ?

johanvh83 commented 3 years ago

I've updated HA Core from core-2021.5.5 to core-2021.6.2

Found in the log:

2021-06-06 19:00:39 ERROR (SyncWorker_0) [homeassistant.loader] The custom integration 'vaillant' does not have a valid version key (None) in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details

thomasgermain commented 3 years ago

Ow, you are using a pretty old versio, you should try with the latest, https://github.com/thomasgermain/vaillant-component/releases/tag/1.6.2 (if you have HACS, you can install the integration using custom repositories). You should also have a look here about breaking changes: https://github.com/thomasgermain/vaillant-component/tree/1.5.0

johanvh83 commented 3 years ago

Ok, thanks, what is the best way? Remove the vaillant folder in the custom components folder and re-install by HACS?

thomasgermain commented 3 years ago

Indeed, I think this is the easiest way

johanvh83 commented 3 years ago

Ok, thanks. Will take a while to change everything but I believe there should be a reason you changed. Thanks anyway, the integration remains great!

thomasgermain commented 3 years ago

Well yeah, I recommend to expect 15-30min to migrate due to entity name/service name changed.

You're welcome :)

johanvh83 commented 3 years ago

Hi Thomas, I removed the vaillant folder in the custom-components folder and installed manually the Multimatic integration. In the meantime everything is changed. Multimatic integration setup and changed all my automations. By changing the climate entities for all rooms, I've seen that the old vaillant entities were still present and unavailable so I've removed them manually. The core was on core-2021.5.5, so with the Multimatic integration installed I upgraded to core-2021.6.2. The Multimatic integration works but I still get the same message: The following integrations and platforms could not be set up: vaillant. Any idea how to solve this because now I cannot restart HA due to this error.

thomasgermain commented 3 years ago

Did you delete the vaillant integration from the UI ?

johanvh83 commented 3 years ago

No, and now it's not possible anymore: Schermafbeelding 2021-06-06 om 21 08 40 No 3 dots to do something I only removed the vaillant folder, I didn't know I had to remove the integration before I installed Multimatic. How can I proceed? Hopefully I don't have to go back to my old configuration by a snapshot and do everything again... Any chance to manually remove the vaillant integration?

thomasgermain commented 3 years ago

Well you can add the vaillant folder in custom_component and restart HA, I guess youbwould ne able to delete the integration After that

johanvh83 commented 3 years ago

Thanks Thomas but in the meantime I already returned to 5.5 with vaillant and proceed than in the correct way.

johanvh83 commented 3 years ago

Hi Thomas, Since the upgrade I have many times that all items become unavailable. Have seen that many experience this problem. How can I check which version I have installed? I'd like to upgrade to v1.7.0b1 but want to double check before and after the version.

lecocqe commented 3 years ago

in the manifest.json, you have the version.

have a nice weekend,

johanvh83 commented 3 years ago

OK, thanks, downloaded source .zip file from 1.7.0b1 ( https://github.com/thomasgermain/vaillant-component/releases ), unpacked and overwrote the 'multimatic' folder in my custom components folder with the unpacked data. Restarted HA but the manifest.json gives version: 1.5.0 { "domain": "multimatic", "name": "Multimatic", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/multimatic", "requirements": [ "pymultimatic==0.3.2" ], "ssdp": [], "zeroconf": [], "homekit": {}, "dependencies": [], "codeowners": [ "@thomasgermain" ], "version": "1.5.0" }

I believe that the documentation URL is incorrect. The page does not exist

johanvh83 commented 3 years ago

Over-writing was not a good idea. Removed the multimatic folder and copied the new unpacked folder. The manifest.json gives now the latest version: 1.7.0b1 Keep you posted about my experiences.