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
80 stars 31 forks source link

No 'alarm disarmed' in Activity log #110

Open WildArne opened 3 years ago

WildArne commented 3 years ago

The component:

Your setup:

Describe the bug In alarm panel under Activity, its only showing when the alarm is set the alarm in Away mode.

WildArne commented 3 years ago

After more testning i can see that trigged also is showing in activity.

akasma74 commented 3 years ago

I don't understand what it the matter of your issue, could you elaborate (perhaps using screenshot and few more words to explain)?

WildArne commented 3 years ago

Screenshot_20200723-230127.jpg I Will try 😊 In the activity log, i cant see when the alarm is disarmed. I have just tried to armed home and disarmed, but only armed home is in the log.

akasma74 commented 3 years ago

So basically you can see anything apart from alarm disarmed, is that correct?

WildArne commented 3 years ago

Yes 😊

akasma74 commented 3 years ago

Well.. mine works as expected Screen Shot 2020-07-23 at 22 16 18

Could you post your bwalarm.yaml here?

WildArne commented 3 years ago

Yes, its comming here :-)

platform: bwalarm                                                                                   
panel:                                                                                              
  cameras: []                                                                                       
  panel_title: ''                                                                                   
  camera_update_interval: ''                                                                        
  enable_fahrenheit: 'False'                                                                        
  enable_sensors_panel: 'True'                                                                      
  hide_passcode: 'True'                                                                             
  hide_sidebar: 'True'                                                                              
  enable_clock: 'False'                                                                             
  enable_floorplan_panel: false                                                                     
  enable_camera_panel: 'False'                                                                      
  enable_custom_panel: false                                                                        
  round_buttons: 'True'                                                                             
  shadow_effect: 'False'                                                                            
enable_night_mode: false                                                                            
states:                                                                                             
  armed_away:                                                                                       
    immediate:                                                                                      
    - binary_sensor.gang_sensor_motion                                                              
    delayed: []                                                                                     
    override: []                                                                                    
    pending_time: 0                                                                                 
    warning_time: 0                                                                                 
    trigger_time: 600                                                                               
  armed_home:                                                                                       
    immediate: []                                                                                   
    delayed: []                                                                                     
    override: []                                                                                    
    pending_time: 0                                                                                 
    warning_time: 0                                                                                 
    trigger_time: 600                                                                               
  armed_night:                                                                                      
    immediate: []                                                                                   
    delayed: []                                                                                     
    override: []                                                                                    
    pending_time: 0                                                                                 
    warning_time: 0                                                                                 
    trigger_time: 600                                                                               
users:                                                                                              
- id: mylongid                                                             
  name: anders                                                                                      
  enabled: true                                                                                     
  code: '1234'                                                                                     
  picture: ha.png                                                                                   
admin_password: password                                                                             
code_to_arm: true
enable_log: true                                                                                    
log_size: 20
akasma74 commented 3 years ago

Thanks. Could you edit your last post to preserve formatting? It can be done by enclosing the config content within three back quotes (or selecting the text and hitting Insert code above the message editor)

WildArne commented 3 years ago

Nice feature 😊

akasma74 commented 3 years ago

that's better. one more thing - could you scramble your sensitive details like passwords etc rather than delete them? the thing is it's YAML and a lot of things have impact on the resulting values so I want as close copy of your config as possible to reproduce the issue.

WildArne commented 3 years ago

Of cause 😊 At the phone so thats was faster

akasma74 commented 3 years ago

@AndersNorlev I'm still waiting for the scrambled config

WildArne commented 3 years ago

Oh a copy of My configtion.yaml?

akasma74 commented 3 years ago

No, just update this post with content of your bwalarm.yaml but instead of deleting sensitive info like passwords etc change them to 1234 or so.

By the way, you can use secrets.yaml so instead of real values you can use !secret alarm_admin_password in your bwalarm.yaml - thay way you can easily share it with others without the need to hide that sensitive info every time ;)

WildArne commented 3 years ago

Its should be updated now :-)

okay nice, i will try to move it to secrets :-)

akasma74 commented 3 years ago

thanks

WildArne commented 3 years ago

I can see in the logbook that the alarm is disarmed image

Do you know how to create a notification with who as armed or disarmed the alarm?

akasma74 commented 3 years ago

I can see in the logbook that the alarm is disarmed

that's as expected. otherwise it won't disarm ;)

Do you know how to create a notification with who as armed or disarmed the alarm?

I don't think it's possible outside the component as information about users is in its config. Do you really need it?