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

BWalarm Broken in HA 0.103 #60

Closed aidbish closed 4 years ago

aidbish commented 4 years ago

Your components (from Alarm/Settings/About): This integration: v1.11.0

Platform & Browser:

Describe the bug BWALARM is broken with lastest beta. Release notes indicate changes to alarm_alarm_panel https://rc.home-assistant.io/blog/2019/12/04/release-103/

To Reproduce Upgrade to latest beta

Expected behavior Alarm system should function on latest beta

Additional context 2019-12-05 12:33:01 ERROR (MainThread) [homeassistant.components.alarm_control_panel] Error while setting up platform bwalarm Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT) File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for return fut.result() File "/config/custom_components/bwalarm/alarm_control_panel.py", line 425, in async_setup_platform alarm = BWAlarm(hass, config, mqtt) TypeError: Can't instantiate abstract class BWAlarm with abstract methods supported_features

akasma74 commented 4 years ago

Perhap's because it's a beta, right? Anyway, I cannot support something that is not documented and even announced ;)

aidbish commented 4 years ago

Well its released in a week, i will check next beta when released. Just thought i would give you the heads up

akasma74 commented 4 years ago

Thanks for that, will keep an eye on release notes and check the new release out. Peace ;)

Tosko4 commented 4 years ago

@akasma74

It has been released, installed it and I can confirm it no longer works:

This component is not working Error while setting up platform bwalarm custom_components/bwalarm/alarm_control_panel.py (ERROR) (custom_components/bwalarm/alarm_control_panel.py) Check the Home Assistant log for more details. This integration: v1.11.0

Home Assistant: v0.103.0

akasma74 commented 4 years ago

I know it's not working. Looking into it right now. If it's exactly what I think it is, HA boys didn't even put it in "breaking changes".. :\ They add an abstract method to the base class so it won't work until every integration that uses this class as a base class won't implement that method. Will update my HA tomorrow and see if it's fixable.

Tosko4 commented 4 years ago

@akasma74 please! I just installed this module. Made sure i checked breaking changed before upgrading. Hope you can fix it T_T

akasma74 commented 4 years ago

I believe you can reverse your upgrade i.e upgrade to 0.102.3 ;) until I fix it

Buster1959 commented 4 years ago

I had this so for now I have rolled back: from the CommandLine "ha update --version=0.102.3" without the quotes.