akasma74 / Hass-Custom-Alarm

It is a fork of "Yet another take on a home assistant custom alarm" that will exist until its author is back to our Earth
79 stars 29 forks source link

Invalid Config #74

Closed MagicMikey8 closed 4 years ago

MagicMikey8 commented 4 years ago

Your components (from Alarm/Settings/About):

Platform & Browser:

Describe the bug After manual installation as per the readme instructions and multiple reboots of the RP, the following notification is given:

_The following integrations and platforms could not be set up:

mqtt bwalarm.alarm_controlpanel Please check your config.

To Reproduce Steps to reproduce the behavior:

  1. Manually install
  2. Add line alarm_control_panel: !include resources/bwalarm/bwalarm.yaml to configuration.yaml
  3. Reboot RP

Expected behavior Some type of Alarm menu to appear in the side bar to start configuring the alarm panel.

logs.txt

akasma74 commented 4 years ago

Could you confirm that you have this file into <HA config folder/custom_components/bwalarm/?

By the way, is it a fresh installation? If so, do you have a bwalarm.yaml in <HA config folder>/resources/bwalarm/? What's its conent like?

MagicMikey8 commented 4 years ago

I confirm that I have that file with exact same contents.

It is a fresh installation from today! I do have that file in the right directory and the contents are:

platform: bwalarm

akasma74 commented 4 years ago

thanks for confirming. if you comment what you added in step 2 and restart HA, what's in your HA log?

MagicMikey8 commented 4 years ago

After doing that, nothing related to this shows up in the logs and no longer have the notification above.

akasma74 commented 4 years ago

Are you saying that after removing this component from your HA config you have no errors in your HA log (namely, MQTT ones)?

MagicMikey8 commented 4 years ago

Yes, that is correct.

akasma74 commented 4 years ago

VERY strange. How on earth a custom component can affect setup of mqtt component:

Setup failed for mqtt: Integration failed to initialize.

By the way, the log you posted here is pretty unusual as it includes only few things (no call stack for exception etc). Is that exactly what you have in the HA log?

MagicMikey8 commented 4 years ago

See attached the full logs after reboot.

full_logs.txt

full logs

Thanks.

akasma74 commented 4 years ago

Oh, I see. Do you have access (ssh/SAMBA) to the home-assistant.log file in four config folder. I need its content, not this one because it's shortened version, not the full log.

By the way, do you use mqtt in your HA setup at all? Is your MQTT broker configured and running properly?

akasma74 commented 4 years ago

I'm afraid I cannot reproduce the issue on Hass.io 0.104.2 so unless you provide me with more evidence I will need to close it.

akasma74 commented 4 years ago

I'm closing this issue now because there was no response. Feel free to reopen it or create a new one if you need.