raar probleem...
Deze fout is ontstaan door een aangepaste integratie.
Logger: homeassistant.config_entries
Source: custom_components/hacs/utils/store.py:8
Integration: HACS (documentation, issues)
First occurred: 07:10:09 (1 occurrences)
Last logged: 07:10:09
Error setting up entry for hacs
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/hacs/__init__.py", line 39, in async_setup_entry
return await hacs_ui_setup(hass, config_entry)
File "/config/custom_components/hacs/operational/setup.py", line 94, in async_setup_entry
await _async_common_setup(hass)
File "/config/custom_components/hacs/operational/setup.py", line 50, in _async_common_setup
await hacs.tasks.async_load()
File "/config/custom_components/hacs/tasks/manager.py", line 43, in async_load
await asyncio.gather(*[_load_module(task) for task in task_modules])
File "/config/custom_components/hacs/tasks/manager.py", line 39, in _load_module
task_module = import_module(f"{__package__}.{module}")
File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/config/custom_components/hacs/tasks/handle_critical_notification.py", line 8, in <module>
from ..utils.store import async_load_from_store
File "/config/custom_components/hacs/utils/store.py", line 8, in <module>
from .logger import get_hacs_logger
ImportError: cannot import name 'get_hacs_logger' from 'custom_components.hacs.utils.logger' (/config/custom_components/hacs/utils/logger.py)
2022-02-12 07:40:53 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/hacs/__init__.py", line 67, in async_reload_entry
await async_unload_entry(hass, config_entry)
File "/config/custom_components/hacs/__init__.py", line 44, in async_unload_entry
hacs: HacsBase = hass.data[DOMAIN]
KeyError: 'hacs'
2022-02-12 07:09:58 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration 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
2022-02-12 07:09:58 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration frigate 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
2022-02-12 07:09:58 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration pfsense_gateways 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
2022-02-12 07:09:58 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration 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
2022-02-12 07:09:58 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hikconnect 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
2022-02-12 07:09:58 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration programmable_thermostat 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
2022-02-12 07:09:59 WARNING (MainThread) [homeassistant.components.lovelace] Lovelace is running in storage mode. Define resources via user interface
2022-02-12 07:10:02 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139816543356720] Received invalid command: mobile_app/push_notification_channel
2022-02-12 07:10:02 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139816543356720] Received invalid command: mobile_app/push_notification_channel
2022-02-12 07:10:03 ERROR (SyncWorker_1) [pyhik.hikvision] Unable to fetch deviceInfo, error: HTTPConnectionPool(host='10.0.100.125', port=80): Max retries exceeded with url: /ISAPI/System/deviceInfo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f29933615b0>: Failed to establish a new connection: [Errno 111] Connection refused'))
2022-02-12 07:10:03 WARNING (SyncWorker_5) [pyhik.hikvision] Sensor type "audioexception" is unsupported.
2022-02-12 07:10:03 WARNING (SyncWorker_5) [pyhik.hikvision] Sensor type "thermometry" is unsupported.
2022-02-12 07:10:03 WARNING (SyncWorker_3) [pyhik.hikvision] Sensor type "faceSnap" is unsupported.
2022-02-12 07:10:04 ERROR (SyncWorker_1) [homeassistant.components.hikvision.binary_sensor] Hikvision event stream has no data, unable to set up
2022-02-12 07:10:09 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry for hacs
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/hacs/__init__.py", line 39, in async_setup_entry
return await hacs_ui_setup(hass, config_entry)
File "/config/custom_components/hacs/operational/setup.py", line 94, in async_setup_entry
await _async_common_setup(hass)
File "/config/custom_components/hacs/operational/setup.py", line 50, in _async_common_setup
await hacs.tasks.async_load()
File "/config/custom_components/hacs/tasks/manager.py", line 43, in async_load
await asyncio.gather(*[_load_module(task) for task in task_modules])
File "/config/custom_components/hacs/tasks/manager.py", line 39, in _load_module
task_module = import_module(f"{__package__}.{module}")
File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/config/custom_components/hacs/tasks/handle_critical_notification.py", line 8, in <module>
from ..utils.store import async_load_from_store
File "/config/custom_components/hacs/utils/store.py", line 8, in <module>
from .logger import get_hacs_logger
ImportError: cannot import name 'get_hacs_logger' from 'custom_components.hacs.utils.logger' (/config/custom_components/hacs/utils/logger.py)
2022-02-12 07:10:11 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-02-12 07:10:12 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-02-12 07:10:13 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-02-12 07:10:13 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-02-12 07:10:13 WARNING (MainThread) [homeassistant.components.camera] The camera entity camera.videofoon does not support requesting width and height, please open an issue with the integration author
2022-02-12 07:10:13 WARNING (MainThread) [homeassistant.components.camera] The camera entity camera.hikthermal does not support requesting width and height, please open an issue with the integration author
2022-02-12 07:10:14 WARNING (MainThread) [custom_components.programmable_thermostat.climate] climate.KamerNoa - Unable to update current temperature from sensor: could not convert string to float: 'unknown'
2022-02-12 07:10:15 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-02-12 07:10:15 WARNING (MainThread) [custom_components.programmable_thermostat.climate] climate.KamerZita - Unable to update current temperature from sensor: could not convert string to float: 'unknown'
2022-02-12 07:10:15 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-02-12 07:10:16 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-02-12 07:10:17 WARNING (MainThread) [custom_components.programmable_thermostat.climate] climate.Living - Unable to update current temperature from sensor: could not convert string to float: 'unknown'
2022-02-12 07:10:17 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-02-12 07:10:17 WARNING (MainThread) [homeassistant.components.camera] The camera entity camera.hikvoorkant_person does not support requesting width and height, please open an issue with the integration author
2022-02-12 07:10:17 WARNING (MainThread) [homeassistant.components.camera] The camera entity camera.hikthermal_person does not support requesting width and height, please open an issue with the integration author
2022-02-12 07:10:18 WARNING (MainThread) [homeassistant.components.camera] The camera entity camera.g3provoor_person does not support requesting width and height, please open an issue with the integration author
2022-02-12 07:10:18 WARNING (MainThread) [homeassistant.components.camera] The camera entity camera.videofoon_person does not support requesting width and height, please open an issue with the integration author
2022-02-12 07:10:18 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/programmable_thermostat/climate.py", line 340, in _async_target_changed
self._restore_temp = float(new_state.state)
ValueError: could not convert string to float: 'unknown'
2022-02-12 07:10:18 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/programmable_thermostat/climate.py", line 340, in _async_target_changed
self._restore_temp = float(new_state.state)
ValueError: could not convert string to float: 'unknown'
2022-02-12 07:10:18 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/programmable_thermostat/climate.py", line 340, in _async_target_changed
self._restore_temp = float(new_state.state)
ValueError: could not convert string to float: 'unknown'
2022-02-12 07:10:18 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/programmable_thermostat/climate.py", line 340, in _async_target_changed
self._restore_temp = float(new_state.state)
ValueError: could not convert string to float: 'unknown'
2022-02-12 07:10:18 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/programmable_thermostat/climate.py", line 340, in _async_target_changed
self._restore_temp = float(new_state.state)
ValueError: could not convert string to float: 'unknown'
2022-02-12 07:10:18 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-02-12 07:10:19 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-02-12 07:10:20 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-02-12 07:10:21 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform frigate is taking over 10 seconds.
2022-02-12 07:10:21 WARNING (MainThread) [custom_components.programmable_thermostat.climate] climate.Masterbedroom - Unable to update current temperature from sensor: could not convert string to float: 'unavailable'
2022-02-12 07:10:21 WARNING (Thread-7) [pyhik.hikvision] None Connection Failed (count=1). Waiting 10s. Err: HTTPConnectionPool(host='10.0.100.125', port=80): Max retries exceeded with url: /ISAPI/Event/notification/alertStream (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2981ddf5b0>: Failed to establish a new connection: [Errno 111] Connection refused'))
2022-02-12 07:10:21 WARNING (MainThread) [custom_components.programmable_thermostat.climate] climate.Masterbedroom - Unable to update current temperature from sensor: could not convert string to float: 'unavailable'
2022-02-12 07:10:21 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-02-12 07:10:24 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-02-12 07:10:24 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-02-12 07:10:24 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
2022-02-12 07:10:26 ERROR (Thread-7) [root] Uncaught thread exception
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 96, in create_connection
raise err
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 86, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 394, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/local/lib/python3.9/http/client.py", line 1279, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1325, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1274, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1034, in _send_output
self.send(msg)
File "/usr/local/lib/python3.9/http/client.py", line 974, in send
self.connect()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f2981ddf5b0>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.0.100.125', port=80): Max retries exceeded with url: /ISAPI/Event/notification/alertStream (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2981ddf5b0>: Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/pyhik/hikvision.py", line 502, in alert_stream
stream = self.hik_request.get(url, stream=True,
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='10.0.100.125', port=80): Max retries exceeded with url: /ISAPI/Event/notification/alertStream (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2981ddf5b0>: Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.9/site-packages/pyhik/hikvision.py", line 572, in alert_stream
self.update_stale()
File "/usr/local/lib/python3.9/site-packages/pyhik/hikvision.py", line 634, in update_stale
for etype, echannels in self.event_states.items():
AttributeError: 'NoneType' object has no attribute 'items'
2022-02-12 07:10:28 WARNING (MainThread) [homeassistant.components.mqtt.mixins] JSON result was not a dictionary
Das alles uit logboek
Hikvision HCSA, Paxton, Siemens, Raspberry Pi