And3rsL / VisonicAlarm-for-Hassio

Visonic/Bentel/Tyco Alarm System integrtation for Home Assistant
MIT License
24 stars 13 forks source link

Component error #17

Closed sharonoren1 closed 2 years ago

sharonoren1 commented 3 years ago

Hi,

Checking configuration file not validating after I added the lines below (with my own parameters). I'm getting this error message: Component error: visonicalarm - Integration 'visonicalarm' not found. What I missing?

visonicalarm: host: YOURALARMCOMPANY.tycomonitor.com panel_id: 123456 user_code: 1234 app_id: 00000000-0000-0000-0000-000000000000 user_email: 'example@email.com' user_password: 'yourpassword' partition: -1 no_pin_required: False

Regards, Oren

lelepando commented 3 years ago

I get the same error and if I'm not mistaken this happened after the Home Assistant update 2021-06.01...

I didn't change anything on my configuration, nor on HACS or the custom component. Today I've attempted a reinstallation of the entire HACS and the Visonic alarm integration, but nothing changed and I'm still experiencing the same issue.

Thanks in advance to anyone who will help to shed light on this.

daniele

a94marbo commented 3 years ago

You have to add version in the manifest file. I did it in my installation since I still run the old rest API 4.0

{ "domain": "visonicalarm", "name": "Visonic/Bentel/Tyco Alarm System", "documentation": "https://github.com/And3rsL/VisonicAlarm-for-Hassio", "version": "v3.0.2", "requirements": [ "visonicalarm2==3.1.0", "python-dateutil==2.7.3" ], "dependencies": [], "codeowners": ["@And3rsL"], "version": "1.0.0" }

sharonoren1 commented 3 years ago

You have to add version in the manifest file. I did it in my installation since I still run the old rest API 4.0

{ "domain": "visonicalarm", "name": "Visonic/Bentel/Tyco Alarm System", "documentation": "https://github.com/And3rsL/VisonicAlarm-for-Hassio", "version": "v3.0.2", "requirements": [ "visonicalarm2==3.1.0", "python-dateutil==2.7.3" ], "dependencies": [], "codeowners": ["@And3rsL"], "version": "1.0.0" }

Where I can find the manifest file? What is the location?

a94marbo commented 3 years ago

Never mind, I see that version is already added. so it cant be that. In the older release for api 3/4, the version is missing. My bad.

andefalk commented 3 years ago

I got the same issue. Also using api 4.0 release. Stopped working when updated to core-2021.6.5 (was working on core 2021.5.5). When trying to reload core I get the error: "The system cannot restart because the configuration is not valid: Component error: visonicalarm - Integration 'visonicalarm' not found." Nothing changed in configuration.yaml, also attempted to reinstall the Visonic integration in HACS.

a94marbo commented 3 years ago

I got the same issue. Also using api 4.0 release. Stopped working when updated to core-2021.6.5 (was working on core 2021.5.5). When trying to reload core I get the error: "The system cannot restart because the configuration is not valid: Component error: visonicalarm - Integration 'visonicalarm' not found." Nothing changed in configuration.yaml, also attempted to reinstall the Visonic integration in HACS.

Here you need to add the version in manifest file. I had the same problem. Edited the manifest file, removed the compiled files and rebooted. Worked fine. I made my own repo: https://github.com/a94marbo/VisonicAlarm-for-Hassio-Rest-API3_4 with the correction.

andefalk commented 3 years ago

I got the same issue. Also using api 4.0 release. Stopped working when updated to core-2021.6.5 (was working on core 2021.5.5). When trying to reload core I get the error: "The system cannot restart because the configuration is not valid: Component error: visonicalarm - Integration 'visonicalarm' not found." Nothing changed in configuration.yaml, also attempted to reinstall the Visonic integration in HACS.

Here you need to add the version in manifest file. I had the same problem. Edited the manifest file, removed the compiled files and rebooted. Worked fine. I made my own repo: https://github.com/a94marbo/VisonicAlarm-for-Hassio-Rest-API3_4 with the correction.

Thanks, this resolved the issue.

sharonoren1 commented 3 years ago

I got the same issue. Also using api 4.0 release. Stopped working when updated to core-2021.6.5 (was working on core 2021.5.5). When trying to reload core I get the error: "The system cannot restart because the configuration is not valid: Component error: visonicalarm - Integration 'visonicalarm' not found." Nothing changed in configuration.yaml, also attempted to reinstall the Visonic integration in HACS.

Here you need to add the version in manifest file. I had the same problem. Edited the manifest file, removed the compiled files and rebooted. Worked fine. I made my own repo: https://github.com/a94marbo/VisonicAlarm-for-Hassio-Rest-API3_4 with the correction.

Thanks, this resolved the issue.

Hi, I tried to do it but I can't pass the configuration check. It's stuck and not finish the checks no matter how long I wait