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
79 stars 29 forks source link

"This component is not working" #24

Closed AngelofromTurin closed 5 years ago

AngelofromTurin commented 5 years ago

Your components (from Alarm/Settings/About):

Platform & Browser:

Describe the bug i upgrade the component to improve hacs, restart the bwalarm with basinc config and reconfig again, it work but whene i add the name of my alarm component the web page say "This component is not working". the alarm component is working but the page configuration is bloked...

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

akasma74 commented 5 years ago

I'm afraid without clear instructions how to reproduce your issue I will only able to close it.

AngelofromTurin commented 5 years ago

well... when i start the configuration of the bwalarm the alarm is down because dont have the name and the web page work but if i write the name for the alarm component its work but the bwalarm's page dont work and say : "This component is not working" this is a partial of my bwalarm.yaml:

platform: bwalarm name: home alarm panel: cameras:

akasma74 commented 5 years ago

Mate, can you ask someone with better English to help you? I really don't understand what's your problem :( I need to know how did you install/update the integration. I'll need Home Assistant startup log as "This component is not working" is not enough. And please enclose your config in three back quotes to preserve formatting.

AngelofromTurin commented 5 years ago

Dear, I'm sorry for my bad english... try to be understable... i want to personalize the name of my alarm, platform: bwalarm name: Home Alarm <--------- thise the problem the alarm was : alarm_control_panel.home_alarm but the web page of Bwalarm is thise... bwalarm

akasma74 commented 5 years ago

OK, that's better. It's because you are using the wrong name. This is internal name of the integration in HA. You want to change title of web panel, that's setting in panel:

panel:
  cameras: []
  enable_clock: 'True'
  hide_sidebar: 'True'
  round_buttons: false
  enable_sensors_panel: 'True'
  enable_fahrenheit: 'False'
  panel_title: Home Alarm
  camera_update_interval: ''
  hide_sensors: 'True'

I have some design question regarding this so thanks for highlighting.

AngelofromTurin commented 5 years ago

sorry but i don't want cahnge the panel title but the alarm name because my automation are for: alarm_control_panel.home_alarm not for alarm_control_panel.house and in the past version of bwalarm all work fine... now i must have thise default name "house" (alarm_control_panel.house) and rewrite all my automation?

akasma74 commented 5 years ago

Right. Can you confirm that your past version had panel_custom.yaml? Anyway, currently the only way I can see to solve your issue (if I understand it right) is you to open custom_component/bwalarm/alarm_control_panel.py and edit string 384 as:

        config={"alarmid": "alarm_control_panel.home_alarm"},

and restart Home Assistant.

Please let me know how if that helps.

AngelofromTurin commented 5 years ago

don't remeber the past version of bwalarm... maybe i take your update just one month ago... about thise problem now its ok i can have my personal name for the hassio's allarm component and see the bwalarm' web page thanks

akasma74 commented 5 years ago

Hurray!

akasma74 commented 5 years ago

mate, your issues have no bearing with this one. and this one is closed - why on Earth are you posting it here? please open a new issue properly

djtommye commented 5 years ago

My apologies - I was thinking I was on a forum. I just submitted two reports. Thank you.