Problem with alarm panel

hello!

My problem is that im getting this error in my logs.

Value cannot be processed as a number: <state alarm_control_panel.home_alarm=disarmed; friendly_name=Home Alarm, code_format=number, changed_by=None @ 2019-04-10T12:09:43.439057+02:00> (Offending entity: disarmed)

this is my config:

 alarm_control_panel:
   - platform: manual
     name: Home Alarm
     code: !secret alarm_code
     pending_time: 30
     delay_time: 20
     trigger_time: 4
     disarmed:
       trigger_time: 0
     armed_home:
       pending_time: 0
       delay_time: 0

this is in my states:

 {
   "pre_pending_state": "disarmed",
   "post_pending_state": "armed_away",
   "code_format": "number",
   "changed_by": null,
   "friendly_name": "Home Alarm"
 }

i have tried to remove code format number but if i do so the numbers disapear on the alarm panel :unamused:

any ideas?

Please fix the indentation in your config. Because how it’s displayed it will not work.

alarm_control_panel:
  - platform: manual
    name: Home Alarm
    code: !secret alarm_code
    pending_time: 30
    delay_time: 20
    trigger_time: 4
    disarmed:
      trigger_time: 0
    armed_home:
      pending_time: 0
      delay_time: 0

ah sorry i used blockquote instead of preformatted text on the forum.i have edited it now.

is it only me who have had this problem?

1 Like