0.92: HEOS, Somfy MyLink, Genius Hub

Alarm control panel does not work in 0.92

2019-04-27 14:59:02 ERROR (MainThread) [homeassistant.setup] Error during setup of component alarm_control_panel
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/setup.py", line 156, in _async_setup_component
    component.setup, hass, processed_config)  # type: ignore
AttributeError: module 'custom_components.alarm_control_panel' has no attribute 'setup'

Show your alarm config. You may have an extraneous option in your config called “setup”.

EDIT: Oh it’s a custom component. Yet Another Alarm ?

There are a bunch of bug fixes posted in the thread about this custom component. Gaz is AWOL but others have sorted it. Working fine for me.

Thanks, was working in 0.91.4 though

Yeah see the update to my comment. Start from the bottom of the thread and read up.

1 Like

I have a similar issue. HA seems to start but the web interface never comes up and I receive no conspicuous log messages in “debug” mode.

I pared down my configuration to basically nothing, and removed all custom elements from lovelace with the same result. No idea really how to troubleshoot what’s going on, there’s really no configuration to speak of in this case and nothing in logs.

0.92.1 helped me out. Something must be different in 0.92.1, but I don’t know what.
Anyways, good luck!

Did you ever find an answer on this?

with 0.92.1 all is back to normal.
However it’s quite worrying the fact that even though there was no errors in the logs and ‘hassio ha check’ answer was ‘ok’, the web interface would not start (ERR_CONNECTION_REFUSED).

Hi all

I updated to 0.92.1 from 0.91.4 and Netatmo public data is not working anymore

I’ve opened a new thread with the errors I get.

Anyone else using it?

Thanks

i think there were some fixes in 0.92.1 for netatmo, have you rebooted after installing update?

Yes, more than one time.

I’ve read some other issues on climate Netatmo, that I have, and that is working fine

As you already mentioned in your separate thread, this will be fixed in 0.92.2.

1 Like

Bug:
Keyboard Remote (USB keyboard on HASSIO) is not working anymore since 0.92
Before was Ok:
keyboard_remote:

- alias: USBkeyb 96 Mi lamp
  initial_state: 'on'
  trigger:
    platform: event
    event_type: keyboard_remote_command_received
    event_data:
      device_descriptor: "/dev/input/event0"
      key_code: 96 # inspect log to obtain desired keycode
  action:
    service: light.toggle
    entity_id: light.desk_working_mi_lamp

config:

  keyboard_remote:
    - device_descriptor: '/dev/input/event0'
      type: 'key_down'

Please fix your code.

Since the HA 0.92 update, I get this error.

2019-04-30 11:09:33 ERROR (MainThread) [frontend.js.latest.201903310] https://x.x.x/local/custom_ui/state-card-custom-ui.html:27:15748 Uncaught TypeError: Cannot read property ‘state’ of undefined.

It is normal at HA 0.91.4
Thank you.

[configuration.yaml]
frontend:
extra_html_url:

  • /local/custom_ui/state-card-custom-ui.html

Could anybody point me in the right direction for getting the Logi Circle api working.

1. For the redirect URI, specify your Home Assistant URL followed by /api/logi_circle. For example, if your Home Assistant URL is https://homeassistant.local, then request https://homeassistant.local/api/logi_circle . The redirect URI *must* be HTTPS.

My home assistant uses http:// not https:// is there something i can do to make this work. Should I be using https:// for home assistant?

Thanks :slight_smile:

I just updated to v92.1 and started getting these errors in the log:

2019-04-30 09:33:48 ERROR (MainThread) [aioasuswrt.connection] Host timeout.    
2019-04-30 09:33:48 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
    Traceback (most recent call last):
      File "/usr/local/lib/python3.7/site-packages/aioasuswrt/connection.py", line 38, in async_run_command
        "%s && %s" % (_PATH_EXPORT_COMMAND, command)), 9)
      File "/usr/local/lib/python3.7/asyncio/tasks.py", line 423, in wait_for
        raise futures.TimeoutError()
    concurrent.futures._base.TimeoutError

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/usr/src/app/homeassistant/components/device_tracker/__init__.py", line 703, in async_device_tracker_scan
        found_devices = await scanner.async_scan_devices()
      File "/usr/src/app/homeassistant/components/asuswrt/device_tracker.py", line 36, in async_scan_devices
        await self.async_update_info()
      File "/usr/src/app/homeassistant/components/asuswrt/device_tracker.py", line 52, in async_update_info
        self.last_results = await self.connection.async_get_connected_devices()
      File "/usr/local/lib/python3.7/site-packages/aioasuswrt/asuswrt.py", line 173, in async_get_connected_devices
        dev = await self.async_get_leases(devices)
      File "/usr/local/lib/python3.7/site-packages/aioasuswrt/asuswrt.py", line 113, in async_get_leases
        lines = await self.connection.async_run_command(_LEASES_CMD)
      File "/usr/local/lib/python3.7/site-packages/aioasuswrt/connection.py", line 48, in async_run_command
        del self._client
    AttributeError: _client

I get those along with a bunch of:

2019-04-30 08:13:54 ERROR (MainThread) [aioasuswrt.connection] Host timeout.
2019-04-30 08:13:58 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2019-04-30 09:33:48 ERROR (MainThread) [aioasuswrt.connection] Host timeout.
2019-04-30 10:14:21 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2019-04-30 10:22:51 ERROR (MainThread) [aioasuswrt.connection] Host timeout.
2019-04-30 10:22:54 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12
2019-04-30 10:35:29 ERROR (MainThread) [aioasuswrt.connection] Host timeout.
2019-04-30 10:35:33 WARNING (MainThread) [homeassistant.components.device_tracker] Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12

Those errors are brand new with V92.1. I have two different HA instances both on v92.1 and getting similar errors

Any idea’s?

It looks like the release header for 0.92.2 has the month of May spelt wrong as it is currently spent as “Mai”

I have this resolved now. The web interface still wouldn’t start with 0.92.2 but I now received a message that homeassistant-pyozw was attempting to be installed. Since I was getting messages from my zwave controller in debug log, I made the assumption that it wasn’t finishing because the library was already in use.

I stopped HA, logged into the venv from the pi user, and executed “pip3 install homeassistant-pyozw=0.1.4”.

Once this finished HA restarted just fine.

What does 0.92 look for in custom components? For a custom cover component of MySmartBlinds I get the following error:

Platform not found: cover.mysmartblinds_bridge

I added a blank __init__.py in the custom_components/mysmartblinds_bridge folder and the manifest.json but I still get an error when attempting to restart. The folders have not changed since 0.91 and I have not changed the cover.py file in it that was working in the previous version.

I have other custom components which load fine so the only thing I can think of is something in the cover.py needs to be updated. Any ideas?