Below is the Shelly debug log which might be the most common used.
Reverting back to an older HA working version did not solve do the problem.
2025-10-12 10:19:48.451 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration neerslag 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
2025-10-12 10:19:48.452 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
2025-10-12 10:19:48.453 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration spook 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
2025-10-12 10:19:48.453 WARNING (SyncWorker_0) [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
2025-10-12 10:19:48.453 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration telegram_client 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
2025-10-12 10:19:48.454 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration spook_inverse 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
2025-10-12 10:19:48.454 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration mtastic_mqtt 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
2025-10-12 10:19:48.455 WARNING (SyncWorker_0) [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
2025-10-12 10:19:48.455 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration default_config_disabler 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
2025-10-12 10:19:48.456 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration meshcore 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
2025-10-12 10:19:53.062 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.13/site-packages/google/__init__.py:2: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
__import__('pkg_resources').declare_namespace(__name__)
2025-10-12 10:19:55.010 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.meshcore_barometric_pressure (<class 'homeassistant.components.template.sensor.TriggerSensorEntity'>) is using native unit of measurement 'HPa' which is not a valid unit for the device class ('pressure') it is using; expected one of ['bar', 'mmHg', 'inHg', 'psi', 'cbar', 'Pa', 'mbar', 'kPa', 'hPa']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+template%22
2025-10-12 10:19:55.429 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls `device_registry.async_get_or_create` referencing a non existing `via_device` ('neerslag', 'abcd'), with device info: {'identifiers': {('neerslag', 'neerslag-device')}, 'manufacturer': 'aex351', 'model': 'All-in-one package', 'name': 'Neerslag App', 'sw_version': '', 'via_device': ('neerslag', 'abcd')}. This will stop working in Home Assistant 2025.12.0, please report this issue
Stack (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 154, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.13/asyncio/base_events.py", line 706, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.13/asyncio/base_events.py", line 677, in run_forever
self._run_once()
File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2034, in _run_once
handle._run()
File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run
self._context.run(self._callback, *self._args)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 830, in _async_add_entity
device = dev_reg.async_get(self.hass).async_get_or_create(
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 880, in async_get_or_create
report_usage(
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 204, in report_usage
_report_usage_partial()
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 243, in _report_usage
_report_usage_no_integration(what, core_behavior, breaks_in_ha_version, err)
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 380, in _report_usage_no_integration
_LOGGER.warning(msg, stack_info=True)
2025-10-12 10:19:55.628 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls `device_registry.async_get_or_create` referencing a non existing `via_device` ('neerslag', 'abcd'), with device info: {'identifiers': {('neerslag', 'neerslag-device')}, 'manufacturer': 'aex351', 'model': 'All-in-one package', 'name': 'Neerslag App', 'sw_version': '', 'via_device': ('neerslag', 'abcd')}. This will stop working in Home Assistant 2025.12.0, please report this issue
Stack (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 154, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.13/asyncio/base_events.py", line 706, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.13/asyncio/base_events.py", line 677, in run_forever
self._run_once()
File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2034, in _run_once
handle._run()
File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run
self._context.run(self._callback, *self._args)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 830, in _async_add_entity
device = dev_reg.async_get(self.hass).async_get_or_create(
File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 880, in async_get_or_create
report_usage(
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 204, in report_usage
_report_usage_partial()
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 243, in _report_usage
_report_usage_no_integration(what, core_behavior, breaks_in_ha_version, err)
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 380, in _report_usage_no_integration
_LOGGER.warning(msg, stack_info=True)
2025-10-12 10:19:56.792 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.13/site-packages/google/protobuf/runtime_version.py:98: UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older than the runtime version 6.31.1 at api.proto. Please update the gencode to avoid compatibility violations in the next runtime release.
warnings.warn(
2025-10-12 10:19:56.793 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.13/site-packages/google/protobuf/runtime_version.py:98: UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older than the runtime version 6.31.1 at api_options.proto. Please update the gencode to avoid compatibility violations in the next runtime release.
warnings.warn(
2025-10-12 10:19:57.078 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.13/site-packages/stringcase.py:247: SyntaxWarning: invalid escape sequence '\W'
return re.sub("\W+", "", string)
2025-10-12 10:19:59.331 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for wemosred @ 192.168.30.77: Error while starting connection: Starting connection cancelled (APIConnectionCancelledError)
2025-10-12 10:19:59.334 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for weather-station @ 192.168.30.145: Error while starting connection: Starting connection cancelled (APIConnectionCancelledError)
2025-10-12 10:19:59.551 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.hops }}'
2025-10-12 10:19:59.554 WARNING (MainThread) [homeassistant.components.mqtt.entity] Erroneous JSON: {
"hops":0,
"path":""NA"",
"interval":"5",
"record":"Old"
}
2025-10-12 10:19:59.566 WARNING (MainThread) [homeassistant.components.mqtt.entity] Erroneous JSON: {
"hops":"0",
"path":""NA"",
"advert":"1756113892",
"interval":"0",
"record":"New"
}
2025-10-12 10:19:59.566 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'value_json' is undefined when rendering '{{ value_json.hops }}'
2025-10-12 10:20:00.647 WARNING (zeroconf-ServiceBrowser-_googlecast._tcp-150) [pychromecast.dial] Failed to determine cast type for host <unknown> (<urlopen error [Errno 113] Host is unreachable>) (services:{MDNSServiceInfo(name='BRAVIA-4K-GB-3f9614d78fdf1f513b1099bd43dfc1fa._googlecast._tcp.local.')})
2025-10-12 10:20:02.257 WARNING (MainThread) [homeassistant.helpers.template] Distance:Expected latitude and longitude, got device_tracker.node_9d4ae01a_position
2025-10-12 10:20:02.257 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ distance('device_tracker.node_9d4ae01a_position') | round(2) }}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1994, in forgiving_round
value = round(float(value), precision)
~~~~~^^^^^^^
TypeError: float() argument must be a string or a real number, not 'NoneType'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 641, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2977, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1999, in forgiving_round
raise_no_default("round", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1975, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: round got invalid input 'None' when rendering template '{{ distance('device_tracker.node_9d4ae01a_position') | round(2) }}' but no default was specified
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 758, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 643, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: round got invalid input 'None' when rendering template '{{ distance('device_tracker.node_9d4ae01a_position') | round(2) }}' but no default was specified
2025-10-12 10:20:02.262 WARNING (MainThread) [homeassistant.helpers.template] Distance:Expected latitude and longitude, got device_tracker.node_9d4ae01a_position
2025-10-12 10:20:02.262 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: round got invalid input 'None' when rendering template '{{ distance('device_tracker.node_9d4ae01a_position') | round(2) }}' but no default was specified') while processing template 'Template<template=({{ distance('device_tracker.node_9d4ae01a_position') | round(2) }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.node_9d4ae01a_distance'
2025-10-12 10:20:02.268 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% if states('sensor.weather_station_illuminance')|int >= states('input_number.sunscreen_valid_irradiance_high')|int %} False {% elif states('sensor.weather_station_illuminance')|int <= states('input_number.sunscreen_valid_irradiance_low')|int %} True {% else %} {{ this.state | default(0, true) }} {% endif %}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 641, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2977, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2465, in forgiving_int_filter
raise_no_default("int", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1975, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: int got invalid input 'unavailable' when rendering template '{% if states('sensor.weather_station_illuminance')|int >= states('input_number.sunscreen_valid_irradiance_high')|int %} False {% elif states('sensor.weather_station_illuminance')|int <= states('input_number.sunscreen_valid_irradiance_low')|int %} True {% else %} {{ this.state | default(0, true) }} {% endif %}' but no default was specified
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 758, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 643, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: int got invalid input 'unavailable' when rendering template '{% if states('sensor.weather_station_illuminance')|int >= states('input_number.sunscreen_valid_irradiance_high')|int %} False {% elif states('sensor.weather_station_illuminance')|int <= states('input_number.sunscreen_valid_irradiance_low')|int %} True {% else %} {{ this.state | default(0, true) }} {% endif %}' but no default was specified
2025-10-12 10:20:02.270 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: int got invalid input 'unavailable' when rendering template '{% if states('sensor.weather_station_illuminance')|int >= states('input_number.sunscreen_valid_irradiance_high')|int %} False {% elif states('sensor.weather_station_illuminance')|int <= states('input_number.sunscreen_valid_irradiance_low')|int %} True {% else %} {{ this.state | default(0, true) }} {% endif %}' but no default was specified') while processing template 'Template<template=({% if states('sensor.weather_station_illuminance')|int >= states('input_number.sunscreen_valid_irradiance_high')|int %} False {% elif states('sensor.weather_station_illuminance')|int <= states('input_number.sunscreen_valid_irradiance_low')|int %} True {% else %} {{ this.state | default(0, true) }} {% endif %}) renders=4>' for attribute '_state' in entity 'binary_sensor.sunscreen_criteria_irradiance'
2025-10-12 10:20:03.732 ERROR (Thread-12) [pychromecast.socket_client] [Woonkamer-TV(192.168.20.199):8009] Failed to connect to service MDNSServiceInfo(name='BRAVIA-4K-GB-3f9614d78fdf1f513b1099bd43dfc1fa._googlecast._tcp.local.'), retrying in 5.0s
2025-10-12 10:20:03.793 WARNING (zeroconf-ServiceBrowser-_googlecast._tcp-150) [pychromecast.dial] Failed to determine cast type for host <unknown> (<urlopen error [Errno 113] Host is unreachable>) (services:{MDNSServiceInfo(name='Lenovo-CD-4N341Y-d8c5f5bee58506551a68bbe502a5f025._googlecast._tcp.local.')})
2025-10-12 10:20:06.919 ERROR (Thread-13) [pychromecast.socket_client] [Slaapkamer speaker(192.168.20.24):8009] Failed to connect to service MDNSServiceInfo(name='Lenovo-CD-4N341Y-d8c5f5bee58506551a68bbe502a5f025._googlecast._tcp.local.'), retrying in 5.0s
2025-10-12 10:20:16.127 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140327015286240] Error handling message: Unknown error (unknown_error) wj4iot from 192.168.0.133 (Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 599, in handle_manifest_list
raise int_or_exc
homeassistant.loader.IntegrationNotFound: Integration 'mass' not found.
2025-10-12 10:21:02.257 DEBUG (MainThread) [aioshelly.block_device.coap] Sending request 'cit/s' to device 192.168.30.230
2025-10-12 10:21:02.258 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.30.230: block device create, MAC: 98CDAC24843E
2025-10-12 10:21:02.258 DEBUG (MainThread) [aioshelly.block_device.coap] Adding device 24843E to CoAP message subscriptions
2025-10-12 10:21:02.258 DEBUG (MainThread) [homeassistant.components.shelly] Setting up online block device Zonnescherm
2025-10-12 10:21:02.258 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.30.230: block device initialize
2025-10-12 10:21:02.698 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.30.230, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-25#98CDAC24843E#2', 3412: b'\x96\x00', 3420: b'L\x03'}, payload={'G': [[0, 9103, 0], [0, 1102, 'stop'], [0, 1103, 0], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0], [0, 2201, 0], [0, 2202, ''], [0, 2203, 0], [0, 4102, 0.0], [0, 4104, 89882], [0, 6103, 'normal'], [0, 3104, 43.6], [0, 6101, 0], [0, 9101, 'roller'], [0, 4108, 240.67]]}
2025-10-12 10:21:02.698 DEBUG (MainThread) [aioshelly.block_device.coap] Calling CoAP message update for device id 24843E
2025-10-12 10:21:05.352 DEBUG (MainThread) [aioshelly.common] host 192.168.30.230:80: error: DeviceConnectionError(ClientConnectorError(ConnectionKey(host='192.168.30.230', port=80, is_ssl=False, ssl=True, proxy=None, proxy_auth=None, proxy_headers_hash=None), OSError(113, "Connect call failed ('192.168.30.230', 80)")))
2025-10-12 10:21:05.352 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.30.230: error: DeviceConnectionError(DeviceConnectionError(ClientConnectorError(ConnectionKey(host='192.168.30.230', port=80, is_ssl=False, ssl=True, proxy=None, proxy_auth=None, proxy_headers_hash=None), OSError(113, "Connect call failed ('192.168.30.230', 80)"))))
2025-10-12 10:21:05.353 DEBUG (MainThread) [aioshelly.block_device.device] host 192.168.30.230: block device shutdown
2025-10-12 10:21:17.700 DEBUG (MainThread) [aioshelly.block_device.coap] CoapMessage: ip=192.168.30.230, type=CoapType.PERIODIC(30), options={11: b's', 3332: b'SHSW-25#98CDAC24843E#2', 3412: b'\x96\x00', 3420: b'L\x03'}, payload={'G': [[0, 9103, 0], [0, 1102, 'stop'], [0, 1103, 0], [0, 2101, 0], [0, 2102, ''], [0, 2103, 0], [0, 2201, 0], [0, 2202, ''], [0, 2203, 0], [0, 4102, 0.0], [0, 4104, 89882], [0, 6103, 'normal'], [0, 3104, 43.45], [0, 6101, 0], [0, 9101, 'roller'], [0, 4108, 240.67]]}