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

Getting error message when check_before_arm: [] is in alarm.yaml #12

Closed awshirley closed 5 years ago

awshirley commented 5 years ago

Your components (from Alarm/Settings/About):

Platform & Browser:

Describe the bug Error message in log when starting HomeAssistant

To Reproduce Steps to reproduce the behavior:

  1. Restart HomeAssistant
  2. Click on info
  3. See Error Invalid config for [alarm_control_panel.bwalarm]:
  4. Goto Alarm from side menu
  5. See error: Home Alarm This component is not working! Invalid config for [alarm_control_panel.bwalarm]: [check_before_arm] is an invalid option for [alarm_control_panel.bwalarm]. Check: alarm_control_panel.bwalarm->states->armed_night->check_before_arm. (See /config/configuration.yaml, line 431). Please check the docs at https://home-assistant.io/components/alarm_control_panel.bwalarm/ (config.py) Check the Home Assistant log for more details. Home Assistant: v0.94.4 This Panel: v1.3.8_ak74

Expected behavior Should not see this error

Screenshots Invalid config for [alarm_control_panel.bwalarm]: [check_before_arm] is an invalid option for [alarm_control_panel.bwalarm]. Check: alarm_control_panel.bwalarm->states->armed_night->check_before_arm. (See /config/configuration.yaml, line 431). Please check the docs at https://home-assistant.io/components/alarm_control_panel.bwalarm/

Additional context for the time being, I've had to comment out the check_before_arm: entry in alarm.yaml

akasma74 commented 5 years ago

Could you tell me how did you upgrade and what you did to get this error (step by step)? Can you post here the alarm.yaml with that check_before_arm entry? And your backed up alarm.yaml if you have one?

If you have it, can you copy it in place of the current one (in /config folder), restart HA and confirm if the error appears again?

akasma74 commented 5 years ago

should be fixed in 1.6.0b can you check?

awshirley commented 5 years ago

I tried 1.6.0b.  Overwrote everything in the custom_components/bwalarm and alarm.yaml in the homeassistant folder.  It wouldn't let HA restart.  I had to put the old alarm.yaml back in (the one where I commented out check_before_arm).  After I did that, HA started and the alarm component appears to be working.

---- On Sun, 23 Jun 2019 16:51:42 -0500 akasma74 notifications@github.com wrote ----

should be fixed in 1.6.0b can you check? — You are receiving this because you authored the thread. Reply to this email directly, https://github.com/akasma74/Hass-Custom-Alarm/issues/12?email_source=notifications&email_token=AEHJG5SGVHHPGLP5YM3DZE3P37V65A5CNFSM4HZZTVRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYLH23Q#issuecomment-504790382, or https://github.com/notifications/unsubscribe-auth/AEHJG5VADBNPNF65VACEO5LP37V65ANCNFSM4HZZTVRA.

akasma74 commented 5 years ago

Can you check the latest release to see if it's resolved?

awshirley commented 5 years ago

Sure.  Have to do it later tonight.  On a family vacation.

⁣Get BlueMail for Android ​

On Jul 2, 2019, 12:16 PM, at 12:16 PM, akasma74 notifications@github.com wrote:

Can you check the latest release to see if it's resolved?

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/akasma74/Hass-Custom-Alarm/issues/12#issuecomment-507746560

awshirley commented 5 years ago

I've got it installed and it's working.  Thanks for the help!

Andy Shirley

---- On Tue, 02 Jul 2019 11:16:33 -0500 akasma74 notifications@github.com wrote ----

Can you check the latest release to see if it's resolved?

— You are receiving this because you authored the thread. Reply to this email directly, https://github.com/akasma74/Hass-Custom-Alarm/issues/12?email_source=notifications&email_token=AEHJG5ROV7POBQ6PQBCS7S3P5N5ODA5CNFSM4HZZTVRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZBZSAA#issuecomment-507746560, or https://github.com/notifications/unsubscribe-auth/AEHJG5S7UHQYWV3YZRJYYR3P5N5ODANCNFSM4HZZTVRA.

akasma74 commented 5 years ago

Hurray!