Bwalarm (akasma74 edition)

These two scripts should explain what you want:

alarm_arm: # with pending delay
  sequence:
    service: alarm_control_panel.alarm_arm_away
    entity_id: alarm_control_panel.house

alarm_arm_instant:
  sequence:
    service: alarm_control_panel.alarm_arm_away
    entity_id: alarm_control_panel.house
    data:
      code: 'override'

Mind you, I have not tested the first one for quite some time. So maybe it no longer includes the pending time?

it still does so your code should work.

@odechr take a look at this.

Nope. It should stay in pending state for states->armed_away->pending_time and then change it to armed_away. Check your bwalarm.yaml settings

1 Like

I did a search through my automations and found I only use the instant arm script. I couldn’t test it while my house sitter is home and I’m not. So thought there might be the chance it had changed due to @odechr’s question.

1 Like

I’m on 0.106.6 too.

Correct! Went trough my settings and it works as intended now :slight_smile:

1 Like

I also have 2 alarm buttons showing after the update ?

And what happens when you click on each of them? :wink:

for me both open the alarm screen, just at the old and new addresses

Well I did say that in my first post about this error…

I created a Github issue.

1 Like

Started using this today and so far, great job.

I noticed in the alarm.css file there are options for light themes, dark themes, etc. I’m not sure how to change the theme other than use the editor for custom colors.

I use the Google Light theme right now and would like to be able to get this alarm panel as close to that as possible.

What is the best way to accomplish a light theme?

Have you checked Settings -> Themes of the alarm?

I have. If I don’t copy your example settings to my .yaml I have nothing as seen below.

Try clicking on that ugly button at the bottom - in will allow you to create a new theme.
If you’re expecting that the alarm can use HA theme that won’t work though.

Thanks. I was just wondering if there was a built in “light” theme. I’ll play around with it and see what I come up with.

Anyone happen to have a sample .yaml for a lighter theme?

Some of the buttons and button fonts aren’t all that clear.

I don’t have any themes defined and use it as it is.
It’s still far from ideal but as it does not impact functionality I’m not very concerned :wink:

I’m using as is. Works great. If I figure something out I’ll post for others to use if they wish.

1 Like

Hi,
I made automations in node red, so I can use your alarm with a chinese made esp8266 alarm box (so I can use xiaomi door sensors and hue motion sensors). Is there a way to get which sensor got triggered and send it in a notification?
thanks

Of course there is. Take a look at the examples.

1 Like

thank you, will try to use that.