Bwalarm (akasma74 edition)

I’ve no idea as haven’t updated HA to 0.100 yet.
If you know how to reproduce the issue, could you open a new one here?

I think I see the same here on 0.100.2, so I will see if I can fill in additional information.

Hi, Have same problem here. Looks like something along the paper-toggle-button in polymer … This Bwalarm : v1.10.2 and Home Assistant: v0.100.1.

Submitted a pull request … with the changes working fine on 0.101 but would need to be teste pre-0.100

it doesn’t work on 0.99 :\

I am also noticing that there is no ‘tick’ to the right of the ‘Enable MQTT’ setting. What file are these settings saved in? Can we edit that? I need to finally try and get my MQTT alarm interface working

If you are on 0.100 and up you can copy my panel.html (https://github.com/tech165/Hass-Custom-Alarm/blob/ea4d2fbc00d6e4eb3590c897e486bf9ab5f66368/custom_components/bwalarm/resources/panel.html) file and I will work as a temporary solution.

Thanks. I guess I should finally switch to HACS because I don’t even have a ‘resources’ folder…

HACS works really good. I think before panel.html was located in www but I’m not sure …

Well I installed HACS and then this alarm component but I still can’t set the MQTT on. Also, when I type in the MQTT topics in the GUI, they don’t seem to save and are back to default after a HA restart. Any ideas?

Have you cleared your browser’s cache? And is your bwalarm.yaml (the file with all config settings that you actually can edit manually if GUI doesn’t work) in <HA config folder>/resources/bwalarm/ ?

yep, the tickbox still isn’t there next to the enable MQTT setting

I dont have a bwalarm.yaml

it will only appear if you replace your panel.yaml with the one from here OR in your existing one replace ALL paper-toggle-button entries with mac-switch

then you really have to follow the installation instructions to get your integration to work as expected.
And actually you should have bwalarm.yaml, most likely in your <HA config> folder…

The fix for HA 0.100 users is now available.
Thanks @tech165 and @Bram_Kragten!

Ok, it turns out I do have the file, I was just looking in the wrong place. I think the instructions for this could be improved a little. It took me realising that we are dealing with resources inside the custom_components folder, and resources inside config folder :man_facepalming:

Hi, do you there will be a possability to see some sort of tutorial during october?

Well, I know it’s not ideal to have config files separately but that’s the way HACS works afaik - in essence, it deletes old files and downloads all new files from GitHub when a new version arrives.
That way you always get a new version and not a mixture of new/old files to avoid any issues. On a flip side, you cannot have anything that is different to the repository in that folder, that’s why I moved the config file somewhere else.
I’m not saying it’s ideal and I’m thinking about alternatives.
In the meantime, feel free to edit the instructions/create a pull request here to improve the instructions, it’s open to everyone and they will be grateful!

Sure. I put it on my todo list and will make an announcement when it’s ready.

Grateful for your time and hard work. Thanks!

Do you have any idea what this error message in the home assistant log means?

[settings_yaml_save] state armed_home: check_before_arm found, remove before saving

I think it might have been because I was moving a sensor from immediate to delayed but forgot to take it out of the immediate list before selecting it in the delayed list. Could that cause it?

Don’t worry about that, should be a debug message as it just removes any internal structures before saving them into yaml file.
Already fixed in dev branch.

1 Like