0.63: Entity Registry, SQL Sensor, Mercedes cars

Zoneminder not working on 0.63 as docker container

Error while setting up platform zoneminder
Traceback (most recent call last):
File “/usr/src/app/homeassistant/helpers/entity_platform.py”, line 84, in async_setup
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
File “/usr/local/lib/python3.6/asyncio/futures.py”, line 243, in result
raise self._exception
File “/usr/local/lib/python3.6/asyncio/tasks.py”, line 180, in _step
result = coro.send(None)
File “/usr/local/lib/python3.6/asyncio/coroutines.py”, line 212, in coro
res = func(*args, **kw)
File “/usr/src/app/homeassistant/components/camera/zoneminder.py”, line 56, in async_setup_platform
monitors = zoneminder.get_state(‘api/monitors.json’)
File “/usr/src/app/homeassistant/components/zoneminder.py”, line 124, in get_state
return _zm_request(‘get’, api_url)
File “/usr/src/app/homeassistant/components/zoneminder.py”, line 104, in _zm_request
cookies=ZM[‘cookies’], timeout=DEFAULT_TIMEOUT)
KeyError: ‘cookies’

Getting the same zoneminder errors in Ubuntu with python 3.5.

It’s not working for me too. Still the same error.

My custom components are loosing their friendly name (and other attributes) have I missed a breaking change?

Initially came from 0.61, but works fine on 0.62.1

Limitless led not working after update, not showing on frontend.

Netatmo weather station not working after 0.63.x update.

Error while setting up platform netatmo
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 84, in async_setup
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 243, in result
    raise self._exception
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/app/homeassistant/components/camera/netatmo.py", line 42, in setup_platform
    for camera_name in data.get_camera_names():
  File "/usr/src/app/homeassistant/components/netatmo.py", line 84, in get_camera_names
    self.update()
  File "/usr/src/app/homeassistant/util/__init__.py", line 306, in wrapper
    result = method(*args, **kwargs)
  File "/usr/src/app/homeassistant/components/netatmo.py", line 115, in update
    self.camera_data = lnetatmo.CameraData(self.auth, size=100)
  File "/usr/local/lib/python3.6/site-packages/smart_home/Camera.py", line 78, in __init__
    self.default_camera = list(self.cameras[self.default_home].values())[0]
IndexError: list index out of range

The errors is raised inside the constructor of the netatmo package :thinking:

1 Like

Limitless led should be fixed in 0.63.1

What can be done to fix it?

Someone that has netatmo gear should see what is wrong and fix it?

I have Kit.

It was working fine prior to 0.63.x, whats changed?

Unfortunately the xiaomi wifi plugs are still not working since version 61.1:

2018-02-12 23:21:48 WARNING (MainThread) [homeassistant.components.recorder] From version 0.64.0 the ‘recorder’ component will by default purge data older than 10 days. To keep data longer you must configure ‘purge_keep_days’ or ‘purge_interval’.
2018-02-12 23:22:07 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform efergy is taking over 10 seconds.
2018-02-12 23:22:07 ERROR (MainThread) [homeassistant.components.switch] Error while setting up platform xiaomi_miio
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py”, line 84, in async_setup
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/lib/python3.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
File “/usr/lib/python3.6/asyncio/futures.py”, line 245, in result
raise self._exception
File “/usr/lib/python3.6/asyncio/tasks.py”, line 180, in _step
result = coro.send(None)
File “/usr/lib/python3.6/asyncio/coroutines.py”, line 210, in coro
res = func(*args, **kw)
File “/usr/lib/python3.6/site-packages/homeassistant/components/switch/xiaomi_miio.py”, line 41, in async_setup_platform
from miio import Device, DeviceException
File “/usr/lib/python3.6/site-packages/miio/init.py”, line 2, in
from miio.protocol import Message, Utils
File “/usr/lib/python3.6/site-packages/miio/protocol.py”, line 179, in
Const(0x2131, Int16ub),
File “/usr/lib/python3.6/site-packages/construct/core.py”, line 1894, in init
super(Const, self).init(subcon)
File “/usr/lib/python3.6/site-packages/construct/core.py”, line 291, in init
raise TypeError(“subcon should be a Construct field”)
TypeError: subcon should be a Construct field
2018-02-12 23:22:08 ERROR (MainThread) [homeassistant.components.switch] Error while setting up platform xiaomi_miio
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py”, line 84, in async_setup
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/lib/python3.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
File “/usr/lib/python3.6/asyncio/futures.py”, line 245, in result
raise self._exception
File “/usr/lib/python3.6/asyncio/tasks.py”, line 180, in _step
result = coro.send(None)
File “/usr/lib/python3.6/asyncio/coroutines.py”, line 210, in coro
res = func(*args, **kw)
File “/usr/lib/python3.6/site-packages/homeassistant/components/switch/xiaomi_miio.py”, line 41, in async_setup_platform
from miio import Device, DeviceException
File “/usr/lib/python3.6/site-packages/miio/init.py”, line 2, in
from miio.protocol import Message, Utils
File “/usr/lib/python3.6/site-packages/miio/protocol.py”, line 179, in
Const(0x2131, Int16ub),
File “/usr/lib/python3.6/site-packages/construct/core.py”, line 1894, in init
super(Const, self).init(subcon)
File “/usr/lib/python3.6/site-packages/construct/core.py”, line 291, in init
raise TypeError(“subcon should be a Construct field”)
TypeError: subcon should be a Construct field

So is it safe to check the entity_registry.yaml into GitHub? Is there a security concern here or are these IDs unique to my system?

I did not changed my configuration. I just upgraded from 0.62.1 and it worked.

Limitless led still doesn’t work in 0.63.1

2 Likes

The following fixed the issue with Netatmo. Wasn’t aware needed to remove entities from the new entity_registry.yaml

https://github.com/home-assistant/home-assistant/issues/12355#issuecomment-365375135

Also having problems with Limitless led component having upgraded to 0.63.1

Update seems to broke up the aiohttp again.
Tryed the version aiohttp-3.0.1 and aiohttp-2.3.10.

Any ideas?

2018-02-14 11:56:59 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.history. Make sure all dependencies are installed
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/homeassistant/loader.py”, line 142, in get_component
module = importlib.import_module(path)
File “/usr/lib/python3.5/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 986, in _gcd_import
File “”, line 969, in _find_and_load
File “”, line 958, in _find_and_load_unlocked
File “”, line 673, in _load_unlocked
File “”, line 673, in exec_module
File “”, line 222, in _call_with_frames_removed
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/history.py”, line 20, in
from homeassistant.components.http import HomeAssistantView
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/init.py”, line 15, in
from aiohttp import web
File “/root/.homeassistant/deps/lib/python3.5/site-packages/aiohttp/web.py”, line 15, in
from . import (hdrs, web_exceptions, web_fileresponse, web_middlewares,
File “/root/.homeassistant/deps/lib/python3.5/site-packages/aiohttp/web_middlewares.py”, line 5, in
from aiohttp.web_urldispatcher import SystemRoute
File “/root/.homeassistant/deps/lib/python3.5/site-packages/aiohttp/web_urldispatcher.py”, line 21, in
from yarl import URL, unquote
ImportError: cannot import name ‘unquote’
2018-02-14 11:56:59 ERROR (MainThread) [homeassistant.loader] Unable to find component history
2018-02-14 11:56:59 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Component not found.
2018-02-14 11:56:59 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.frontend. Make sure all dependencies are installed
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/homeassistant/loader.py”, line 142, in get_component
module = importlib.import_module(path)
File “/usr/lib/python3.5/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 986, in _gcd_import
File “”, line 969, in _find_and_load
File “”, line 958, in _find_and_load_unlocked
File “”, line 673, in _load_unlocked
File “”, line 673, in exec_module
File “”, line 222, in _call_with_frames_removed
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/frontend/init.py”, line 14, in
from aiohttp import web
File “/root/.homeassistant/deps/lib/python3.5/site-packages/aiohttp/web.py”, line 15, in
from . import (hdrs, web_exceptions, web_fileresponse, web_middlewares,
File “/root/.homeassistant/deps/lib/python3.5/site-packages/aiohttp/web_middlewares.py”, line 5, in
from aiohttp.web_urldispatcher import SystemRoute
File “/root/.homeassistant/deps/lib/python3.5/site-packages/aiohttp/web_urldispatcher.py”, line 21, in
from yarl import URL, unquote
ImportError: cannot import name ‘unquote’
2018-02-14 11:56:59 ERROR (MainThread) [homeassistant.loader] Unable to find component frontend

In 0.63.2 limitless is downgraded to 1.0.8…

yes I know.
I posted this before the upgrade to 0.63.2 was released.

thanks