After updating to HA 2020.12.2, many integrations no longer work

I updated to the latest version yesterday, and now many settings no longer work. see bug report. What can I do to get a working system again.
image

„Please check your config and logs“, will you?

1 Like

How can i upload a log file

Errors in the Log file

21-01-01 18:51:26 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for nodered which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2021-01-01 18:51:26 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for dwd_weather which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2021-01-01 18:51:26 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for uilogs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2021-01-01 18:51:26 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for shelly which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2021-01-01 18:51:27 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for localtuya which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2021-01-01 18:51:27 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for daily which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2021-01-01 18:51:27 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2021-01-01 18:51:31 ERROR (MainThread) [homeassistant.setup] Setup failed for cloud: Unable to import component: cannot import name ‘parse’ from ‘dateutil.parser’ (/usr/local/lib/python3.8/site-packages/dateutil/parser/init.py)
2021-01-01 18:51:37 ERROR (MainThread) [homeassistant.setup] Setup failed for influxdb: Unable to import component: cannot import name ‘parse’ from ‘dateutil.parser’ (/usr/local/lib/python3.8/site-packages/dateutil/parser/init.py)
2021-01-01 18:51:37 ERROR (MainThread) [homeassistant.setup] Setup failed for localtuya: Unable to import component: cannot import name ‘CryptographyDeprecationWarning’ from ‘cryptography.utils’ (/usr/local/lib/python3.8/site-packages/cryptography/utils.py)
2021-01-01 18:51:43 ERROR (MainThread) [homeassistant.setup] Setup failed for mobile_app: Unable to import component: cannot import name ‘parse’ from ‘dateutil.parser’ (/usr/local/lib/python3.8/site-packages/dateutil/parser/init.py)
2021-01-01 18:51:45 ERROR (MainThread) [homeassistant.setup] Setup failed for netatmo: Unable to import component: cannot import name ‘parse’ from ‘dateutil.parser’ (/usr/local/lib/python3.8/site-packages/dateutil/parser/init.py)
2021-01-01 18:51:46 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: cloud, mobile_app
2021-01-01 18:51:46 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: Could not set up all dependencies.
2021-01-01 18:51:48 WARNING (MainThread) [homeassistant.components.light] Setup of light platform flux_led is taking over 10 seconds.
2021-01-01 18:51:52 WARNING (SyncWorker_3) [homeassistant.components.flux_led.light] Failed to connect to bulb 192.168.2.25, Licht Terrase 1
2021-01-01 18:52:01 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/camera/init.py”, line 277, in preload_stream
request_stream(hass, source, keepalive=True, options=camera.stream_options)
File “/usr/src/homeassistant/homeassistant/components/stream/init.py”, line 47, in request_stream
raise HomeAssistantError(“Stream integration is not set up.”)
homeassistant.exceptions.HomeAssistantError: Stream integration is not set up.
2021-01-01 18:55:07 ERROR (MainThread) [frontend.js.latest.202012120] http://192.168.1.99:8123/api/panel_custom/uilogs:20:11471 Uncaught NotSupportedError: Failed to execute ‘define’ on ‘CustomElementRegistry’: the name “mwc-list-item” has already been used with this registry
2021-01-01 19:01:45 ERROR (SyncWorker_3) [custom_components.daily.sensor] unable to convert unavailable to float.
2021-01-01 19:01:45 ERROR (SyncWorker_3) [custom_components.daily.sensor] unable to convert to float.
2021-01-01 19:01:45 ERROR (SyncWorker_3) [custom_components.daily.sensor] unable to convert unavailable to float.
2021-01-01 19:01:45 ERROR (SyncWorker_3) [custom_components.daily.sensor] unable to convert to float.
2021-01-01 19:06:45 ERROR (SyncWorker_4) [custom_components.daily.sensor] unable to convert unavailable to float.
2021-01-01 19:06:45 ERROR (SyncWorker_4) [custom_components.daily.sensor] unable to convert to float.
2021-01-01 19:06:45 ERROR (SyncWorker_11) [custom_components.daily.sensor] unable to convert unavailable to float.
2021-01-01 19:06:45 ERROR (SyncWorker_11) [custom_components.daily.sensor] unable to convert to float.
2021-01-01 19:06:45 ERROR (SyncWorker_11) [custom_components.daily.sensor] unable to convert unavailable to float.
2021-01-01 19:06:45 ERROR (SyncWorker_11) [custom_components.daily.sensor] unable to convert to float.
2021-01-01 19:11:45 ERROR (SyncWorker_15) [custom_components.daily.sensor] unable to convert unavailable to float.
2021-01-01 19:11:45 ERROR (SyncWorker_15) [custom_components.daily.sensor] unable to convert to float.
2021-01-01 19:11:45 ERROR (SyncWorker_7) [custom_components.daily.sensor] unable to convert unavailable to float.
2021-01-01 19:11:45 ERROR (SyncWorker_7) [custom_components.daily.sensor] unable to convert to float.
2021-01-01 19:21:45 ERROR (SyncWorker_14) [custom_components.daily.sensor] unable to convert unavailable to float.
2021-01-01 19:21:45 ERROR (SyncWorker_14) [custom_components.daily.sensor] unable to convert to float.
2021-01-01 19:21:45 ERROR (SyncWorker_14) [custom_components.daily.sensor] unable to convert unavailable to float.
2021-01-01 19:21:45 ERROR (SyncWorker_14) [custom_components.daily.sensor] unable to convert to float.
2021-01-01 19:21:45 ERROR (SyncWorker_14) [custom_components.daily.sensor] unable to convert unavailable to float.
2021-01-01 19:21:45 ERROR (SyncWorker_14) [custom_components.daily.sensor] unable to convert to float.
2021-01-01 19:21:45 ERROR (SyncWorker_14) [custom_components.daily.sensor] unable to convert unavailable to float.
2021-01-01 19:21:45 ERROR (SyncWorker_14) [custom_components.daily.sensor] unable to convert to float.
2021-01-01 19:21:45 ERROR (SyncWorker_14) [custom_components.daily.sensor] unable to convert unavailable to float.
2021-01-01 19:21:45 ERROR (SyncWorker_14) [custom_components.daily.sensor] unable to convert to float.
2021-01-01 19:25:59 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration homekit_controller: cannot import name ‘CryptographyDeprecationWarning’ from ‘cryptography.utils’ (/usr/local/lib/python3.8/site-packages/cryptography/utils.py)
2021-01-01 19:25:59 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 535, in async_create_flow
integration.get_platform(“config_flow”)
File “/usr/src/homeassistant/homeassistant/loader.py”, line 424, in get_platform
cache[full_name] = self._import_platform(platform_name)
File “/usr/src/homeassistant/homeassistant/loader.py”, line 429, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File “/usr/local/lib/python3.8/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 961, in _find_and_load_unlocked
File “”, line 219, in _call_with_frames_removed
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 975, in _find_and_load_unlocked
File “”, line 671, in _load_unlocked
File “”, line 783, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/usr/src/homeassistant/homeassistant/components/homekit_controller/init.py”, line 4, in
import aiohomekit
File “/usr/local/lib/python3.8/site-packages/aiohomekit/init.py”, line 46, in
from .controller import Controller
File “/usr/local/lib/python3.8/site-packages/aiohomekit/controller/init.py”, line 19, in
from .controller import Controller
File “/usr/local/lib/python3.8/site-packages/aiohomekit/controller/controller.py”, line 35, in
from aiohomekit.zeroconf import async_find_data_for_device_id
File “/usr/local/lib/python3.8/site-packages/aiohomekit/zeroconf/init.py”, line 30, in
from aiohomekit.model import Categories
File “/usr/local/lib/python3.8/site-packages/aiohomekit/model/init.py”, line 21, in
from .characteristics import (
File “/usr/local/lib/python3.8/site-packages/aiohomekit/model/characteristics/init.py”, line 17, in
from .characteristic import Characteristic
File “/usr/local/lib/python3.8/site-packages/aiohomekit/model/characteristics/characteristic.py”, line 24, in
from aiohomekit.protocol.statuscodes import HapStatusCodes
File “/usr/local/lib/python3.8/site-packages/aiohomekit/protocol/init.py”, line 21, in
from cryptography import exceptions as cryptography_exceptions
File “/usr/local/lib/python3.8/site-packages/cryptography/init.py”, line 20, in
from cryptography.utils import CryptographyDeprecationWarning
ImportError: cannot import name ‘CryptographyDeprecationWarning’ from ‘cryptography.utils’ (/usr/local/lib/python3.8/site-packages/cryptography/utils.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 119, in async_init
flow = await self.async_create_flow(handler, context=context, data=data)
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 542, in async_create_flow
raise data_entry_flow.UnknownHandler
homeassistant.data_entry_flow.UnknownHandler
2021-01-01 19:26:14 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration homekit_controller: cannot import name ‘CryptographyDeprecationWarning’ from ‘cryptography.utils’ (/usr/local/lib/python3.8/site-packages/cryptography/utils.py)
2021-01-01 19:26:14 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 535, in async_create_flow
integration.get_platform(“config_flow”)
File “/usr/src/homeassistant/homeassistant/loader.py”, line 424, in get_platform
cache[full_name] = self._import_platform(platform_name)
File “/usr/src/homeassistant/homeassistant/loader.py”, line 429, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File “/usr/local/lib/python3.8/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 961, in _find_and_load_unlocked
File “”, line 219, in _call_with_frames_removed
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 975, in _find_and_load_unlocked
File “”, line 671, in _load_unlocked
File “”, line 783, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/usr/src/homeassistant/homeassistant/components/homekit_controller/init.py”, line 4, in
import aiohomekit
File “/usr/local/lib/python3.8/site-packages/aiohomekit/init.py”, line 46, in
from .controller import Controller
File “/usr/local/lib/python3.8/site-packages/aiohomekit/controller/init.py”, line 19, in
from .controller import Controller
File “/usr/local/lib/python3.8/site-packages/aiohomekit/controller/controller.py”, line 35, in
from aiohomekit.zeroconf import async_find_data_for_device_id
File “/usr/local/lib/python3.8/site-packages/aiohomekit/zeroconf/init.py”, line 30, in
from aiohomekit.model import Categories
File “/usr/local/lib/python3.8/site-packages/aiohomekit/model/init.py”, line 21, in
from .characteristics import (
File “/usr/local/lib/python3.8/site-packages/aiohomekit/model/characteristics/init.py”, line 17, in
from .characteristic import Characteristic
File “/usr/local/lib/python3.8/site-packages/aiohomekit/model/characteristics/characteristic.py”, line 24, in
from aiohomekit.protocol.statuscodes import HapStatusCodes
File “/usr/local/lib/python3.8/site-packages/aiohomekit/protocol/init.py”, line 21, in
from cryptography import exceptions as cryptography_exceptions
File “/usr/local/lib/python3.8/site-packages/cryptography/init.py”, line 20, in
from cryptography.utils import CryptographyDeprecationWarning
ImportError: cannot import name ‘CryptographyDeprecationWarning’ from ‘cryptography.utils’ (/usr/local/lib/python3.8/site-packages/cryptography/utils.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 119, in async_init
flow = await self.async_create_flow(handler, context=context, data=data)
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 542, in async_create_flow
raise data_entry_flow.UnknownHandler
homeassistant.data_entry_flow.UnknownHandler
2021-01-01 19:31:45 ERROR (SyncWorker_7) [custom_components.daily.sensor] unable to convert unavailable to float.
2021-01-01 19:31:45 ERROR (SyncWorker_7) [custom_components.daily.sensor] unable to convert to float.
2021-01-01 19:31:45 ERROR (SyncWorker_6) [custom_components.daily.sensor] unable to convert unavailable to float.

Please use sites like this for long logs.

For shorter logs use code formatting as explained in the sticky post.

https://paste.ubuntu.com/p/Rqq2xsv35g/

Log file

What could be the reason. SD card faulty in RPI?

Possibly, but

2021-01-01 18:51:31 ERROR (MainThread) [homeassistant.setup] Setup failed for cloud: Unable to import component: cannot import name 'parse' from 'dateutil.parser' (/usr/local/lib/python3.8/site-packages/dateutil/parser/__init__.py)

You need to find out why that, and the other ERROR lines, are appearing.

Might be a problem with the SD, but that’s easy to check:

dmesg | grep mmcblk

pi@raspberrypi:~ $ dmesg | grep mmcblk
[ 1.321518] mmcblk0: mmc0:aaaa SC32G 29.7 GiB
[ 1.324976] mmcblk0: p1 p2
[ 1.341146] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 3.129717] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)

What does this data say

It says your SD card isn’t dying :wink:

Again though, please use code formatting