Newer
Older
homeassistant_config / home-assistant.log.old
2025-11-04 19:25:22.295 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-11-04 19:25:22.297 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration energidataservice 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-11-04 19:25:22.298 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration fuelprices_dk 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-11-04 19:25:22.300 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration thermal_comfort 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-11-04 19:25:22.301 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hpprinter 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-11-04 19:25:22.302 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-11-04 19:25:22.304 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration roborock_custom_map 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-11-04 19:25:22.305 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration xiaomi_miio_airpurifier 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-11-04 19:25:22.307 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration stecamonitor 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-11-04 19:25:22.308 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration browser_mod 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-11-04 19:25:22.309 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration igrill_ble 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-11-04 19:25:22.311 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration 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
2025-11-04 19:25:22.312 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration bodymiscale 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-11-04 19:25:22.314 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration connectedcars_io 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-11-04 19:25:22.315 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration spotcast 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-11-04 19:25:22.316 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration pirateweather 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-11-04 19:25:22.317 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration waste_collection_schedule 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-11-04 19:25:27.553 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.13/site-packages/miio/miot_device.py:23: FutureWarning: functools.partial will be a method descriptor in future Python versions; wrap it in enum.member() if you want to preserve the old behavior
  Bool = partial(_str2bool)

2025-11-04 19:25:28.047 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Simstrup (Gateway) for upnp
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 761, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/upnp/__init__.py", line 85, in async_setup_entry
    device = await async_create_device(hass, location, force_poll)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/upnp/device.py", line 108, in async_create_device
    igd_device = IgdDevice(upnp_device, notify_server.event_handler)
  File "/usr/local/lib/python3.13/site-packages/async_upnp_client/profiles/igd.py", line 210, in __init__
    super().__init__(device, event_handler)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/async_upnp_client/profiles/profile.py", line 115, in __init__
    self.profile_device = find_device_of_type(device, self.DEVICE_TYPES)
                          ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/async_upnp_client/profiles/profile.py", line 43, in find_device_of_type
    raise UpnpError(f"Could not find device of type: {device_types}")
async_upnp_client.exceptions.UpnpError: ("Could not find device of type: ['urn:schemas-upnp-org:device:InternetGatewayDevice:1', 'urn:schemas-upnp-org:device:InternetGatewayDevice:2']", None)
2025-11-04 19:25:31.205 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open with args ('/root/.netrc',) inside the event loop by integration 'google_generative_ai_conversation' at homeassistant/components/google_generative_ai_conversation/__init__.py, line 165: await client.aio.models.get( (offender: /usr/local/lib/python3.13/netrc.py, line 87: with open(file, encoding="utf-8") as fp:), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+google_generative_ai_conversation%22
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open
Traceback (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 229, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 215, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 271, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 712, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 683, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2050, 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/config_entries.py", line 906, in async_setup_locked
    await self.async_setup(hass, integration=integration)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 672, in async_setup
    await self.__async_setup_with_context(hass, integration)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 761, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/google_generative_ai_conversation/__init__.py", line 165, in async_setup_entry
    await client.aio.models.get(

2025-11-04 19:25:31.437 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module with args ('custom_components.igrill_ble.sensor',) inside the event loop by custom integration 'igrill_ble' at custom_components/igrill_ble/__init__.py, line 40: await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) (offender: /usr/src/homeassistant/homeassistant/loader.py, line 1295: return importlib.import_module(f"{self.pkg_path}.{platform_name}")), please report it to the author of the 'igrill_ble' custom integration
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#import_module
Traceback (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 229, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 215, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 271, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 712, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 683, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2050, 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/config_entries.py", line 906, in async_setup_locked
    await self.async_setup(hass, integration=integration)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 672, in async_setup
    await self.__async_setup_with_context(hass, integration)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 761, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/igrill_ble/__init__.py", line 40, in async_setup_entry
    await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)

2025-11-04 19:25:31.459 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry iGrill_mini for igrill_ble
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 761, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/igrill_ble/__init__.py", line 40, in async_setup_entry
    await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2589, in async_forward_entry_setups
    await integration.async_get_platforms(platforms)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1176, in async_get_platforms
    import_future.result()
    ~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1164, in async_get_platforms
    platforms.update(self._load_platforms(platform_names))
                     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1089, in _load_platforms
    platform_name: self._load_platform(platform_name)
                   ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1263, in _load_platform
    cache[full_name] = self._import_platform(platform_name)
                       ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1295, in _import_platform
    return importlib.import_module(f"{self.pkg_path}.{platform_name}")
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/util/loop.py", line 201, in protected_loop_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/config/custom_components/igrill_ble/sensor.py", line 9, in <module>
    from homeassistant.const import (
    ...<10 lines>...
    )
ImportError: cannot import name 'TEMP_CELSIUS' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)
2025-11-04 19:25:32.119 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'stecamonitor' uses `async_config_entry_first_refresh`, which is only supported for coordinators with a config entry at custom_components/stecamonitor/sensor.py, line 42: await coordinator.async_config_entry_first_refresh(). This will stop working in Home Assistant 2025.11, please create a bug report at https://github.com/dkgof/stecamonitor/issues
2025-11-04 19:25:32.222 WARNING (zeroconf-ServiceBrowser-_googlecast._tcp-130) [pychromecast.dial] Failed to determine cast type for host <unknown> (<urlopen error [Errno 22] Invalid argument>) (services:{MDNSServiceInfo(name='BRAVIA-4K-GB-ATV3-417a06cdad3ec8f7b5a01f4aa33e9623._googlecast._tcp.local.')})
2025-11-04 19:25:32.325 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.water_price (<class 'homeassistant.components.scrape.sensor.ScrapeSensor'>) is using state class 'measurement' which is impossible considering device class ('monetary') it is using; expected None or one of 'total'; 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+scrape%22
2025-11-04 19:25:35.665 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for esp32-s3-box-3-05b914 @ 10.0.1.167: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='10.0.1.167', port=6053))]: [Errno 113] Connect call failed ('10.0.1.167', 6053) (SocketAPIError)
2025-11-04 19:25:35.665 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for smartcard @ 10.0.1.43: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='10.0.1.43', port=6053))]: [Errno 113] Connect call failed ('10.0.1.43', 6053) (SocketAPIError)
2025-11-04 19:25:42.561 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform fuelprices_dk is taking over 10 seconds.
2025-11-04 19:25:46.340 ERROR (MainThread) [custom_components.fuelprices_dk.sensor] Unexpected error fetching sensor data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 392, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 293, in _async_update_data
    return await self.update_method()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/sensor.py", line 39, in async_update_data
    await hass.async_add_executor_job(company.refreshPrices)
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_api.py", line 202, in refreshPrices
    self._products = getattr(self._parser, self._key)(self._url, self._products)
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_parsers.py", line 135, in oil
    priceSegments[0].text + "." + priceSegments[1].text,
    ~~~~~~~~~~~~~^^^
IndexError: list index out of range
2025-11-04 19:25:46.820 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% set missing = states.input_number.grill_probe_1_target.state | float(0) - states.sensor.filtered_igrill_probe_1.state | float(0) %}
{% set timeLeft = missing / (states.sensor.igrill_temperature_change.state | float(0)) | round(1) %}
{{ timeLeft | round(1) }} minutter) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 494, in async_render
    render_result = render_with_context(self.template, compiled, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 45, 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 2, in top-level template code
ZeroDivisionError: float division by zero

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 611, 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/__init__.py", line 496, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ZeroDivisionError: float division by zero
2025-11-04 19:25:46.824 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ZeroDivisionError: float division by zero') while processing template 'Template<template=({% set missing = states.input_number.grill_probe_1_target.state | float(0) - states.sensor.filtered_igrill_probe_1.state | float(0) %}
{% set timeLeft = missing / (states.sensor.igrill_temperature_change.state | float(0)) | round(1) %}
{{ timeLeft | round(1) }} minutter) renders=4>' for attribute '_attr_native_value' in entity 'sensor.time_to_done'
2025-11-04 19:25:46.824 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ ((states.sensor.roborock_vacuum_s5e_filter_left.state | float(default=0) / 3600)) | round(0) }}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 494, in async_render
    render_result = render_with_context(self.template, compiled, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 45, 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/__init__.py", line 2065, in forgiving_float_filter
    return float(value)
jinja2.exceptions.UndefinedError: 'None' has no attribute 'state'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 611, 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/__init__.py", line 496, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: UndefinedError: 'None' has no attribute 'state'
2025-11-04 19:25:46.826 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: 'None' has no attribute 'state'') while processing template 'Template<template=({{ ((states.sensor.roborock_vacuum_s5e_filter_left.state | float(default=0) / 3600)) | round(0) }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.vacuum_card_filter'
2025-11-04 19:25:46.826 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ ((states.sensor.roborock_vacuum_s5e_side_brush_left.state | float(default=0) / 3600)) | round(0) }}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 494, in async_render
    render_result = render_with_context(self.template, compiled, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 45, 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/__init__.py", line 2065, in forgiving_float_filter
    return float(value)
jinja2.exceptions.UndefinedError: 'None' has no attribute 'state'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 611, 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/__init__.py", line 496, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: UndefinedError: 'None' has no attribute 'state'
2025-11-04 19:25:46.827 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: 'None' has no attribute 'state'') while processing template 'Template<template=({{ ((states.sensor.roborock_vacuum_s5e_side_brush_left.state | float(default=0) / 3600)) | round(0) }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.vacuum_card_sidebrush'
2025-11-04 19:25:46.827 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ ((states.sensor.roborock_vacuum_s5e_sensor_dirty_left.state | float(default=0) / 3600)) | round(0) }}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 494, in async_render
    render_result = render_with_context(self.template, compiled, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 45, 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/__init__.py", line 2065, in forgiving_float_filter
    return float(value)
jinja2.exceptions.UndefinedError: 'None' has no attribute 'state'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 611, 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/__init__.py", line 496, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: UndefinedError: 'None' has no attribute 'state'
2025-11-04 19:25:46.829 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: 'None' has no attribute 'state'') while processing template 'Template<template=({{ ((states.sensor.roborock_vacuum_s5e_sensor_dirty_left.state | float(default=0) / 3600)) | round(0) }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.vacuum_card_sensors'
2025-11-04 19:25:46.829 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ ((states.sensor.roborock_vacuum_s5e_main_brush_left.state | float(default=0) / 3600)) | round(0) }}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 494, in async_render
    render_result = render_with_context(self.template, compiled, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 45, 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/__init__.py", line 2065, in forgiving_float_filter
    return float(value)
jinja2.exceptions.UndefinedError: 'None' has no attribute 'state'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 611, 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/__init__.py", line 496, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: UndefinedError: 'None' has no attribute 'state'
2025-11-04 19:25:46.830 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: 'None' has no attribute 'state'') while processing template 'Template<template=({{ ((states.sensor.roborock_vacuum_s5e_main_brush_left.state | float(default=0) / 3600)) | round(0) }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.vacuum_card_mainbrush'
2025-11-04 19:25:46.832 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: 'None' has no attribute 'state'') while processing template 'Template<template=({{ states.sensor.airconzigbee_current.state | float(0) > 0 }}) renders=4>' for attribute '_attr_available' in entity 'sensor.airconzigbee_power_factor'
2025-11-04 19:25:46.832 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'None' has no attribute 'attributes' when rendering '{{ (states.switch.computer_switch.attributes.voltage) | default(0) | float(0) }}'
2025-11-04 19:25:46.832 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ (states.switch.computer_switch.attributes.voltage) | default(0) | float(0) }}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 494, in async_render
    render_result = render_with_context(self.template, compiled, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 45, 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/local/lib/python3.13/site-packages/jinja2/sandbox.py", line 319, in getattr
    value = getattr(obj, attribute)
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 2376, in _fail_with_undefined_error
    return super()._fail_with_undefined_error(*args, **kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'None' has no attribute 'attributes'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 611, 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/__init__.py", line 496, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: UndefinedError: 'None' has no attribute 'attributes'
2025-11-04 19:25:46.834 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'None' has no attribute 'attributes' when rendering '{{ (states.switch.computer_switch.attributes.voltage) | default(0) | float(0) }}'
2025-11-04 19:25:46.834 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: 'None' has no attribute 'attributes'') while processing template 'Template<template=({{ (states.switch.computer_switch.attributes.voltage) | default(0) | float(0) }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.computer_spaending'
2025-11-04 19:25:46.834 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'None' has no attribute 'attributes' when rendering '{{ (states.switch.computer_switch.attributes.current) | default(0) | float(0) * 0.001 }}'
2025-11-04 19:25:46.834 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ (states.switch.computer_switch.attributes.current) | default(0) | float(0) * 0.001 }}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 494, in async_render
    render_result = render_with_context(self.template, compiled, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 45, 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/local/lib/python3.13/site-packages/jinja2/sandbox.py", line 319, in getattr
    value = getattr(obj, attribute)
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 2376, in _fail_with_undefined_error
    return super()._fail_with_undefined_error(*args, **kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'None' has no attribute 'attributes'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 611, 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/__init__.py", line 496, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: UndefinedError: 'None' has no attribute 'attributes'
2025-11-04 19:25:46.836 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'None' has no attribute 'attributes' when rendering '{{ (states.switch.computer_switch.attributes.current) | default(0) | float(0) * 0.001 }}'
2025-11-04 19:25:46.836 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: 'None' has no attribute 'attributes'') while processing template 'Template<template=({{ (states.switch.computer_switch.attributes.current) | default(0) | float(0) * 0.001 }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.computer_strom'
2025-11-04 19:25:46.836 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'None' has no attribute 'attributes' when rendering '{{ (states.switch.computer_switch.attributes.current_consumption) | default(0) | float(0) }}'
2025-11-04 19:25:46.836 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ (states.switch.computer_switch.attributes.current_consumption) | default(0) | float(0) }}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 494, in async_render
    render_result = render_with_context(self.template, compiled, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 45, 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/local/lib/python3.13/site-packages/jinja2/sandbox.py", line 319, in getattr
    value = getattr(obj, attribute)
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 2376, in _fail_with_undefined_error
    return super()._fail_with_undefined_error(*args, **kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'None' has no attribute 'attributes'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 611, 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/__init__.py", line 496, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: UndefinedError: 'None' has no attribute 'attributes'
2025-11-04 19:25:46.837 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'None' has no attribute 'attributes' when rendering '{{ (states.switch.computer_switch.attributes.current_consumption) | default(0) | float(0) }}'
2025-11-04 19:25:46.837 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: 'None' has no attribute 'attributes'') while processing template 'Template<template=({{ (states.switch.computer_switch.attributes.current_consumption) | default(0) | float(0) }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.computer_energi'
2025-11-04 19:25:46.837 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({# Calculate power factor #}
{% set v = states.sensor.computer_spaending.state | float %}
{% set a = states.sensor.computer_strom.state | float %}
{% set wp = states.sensor.computer_energi.state | float %}
{% set ap = v * a %}
{% if ap > 0 %}
  {% set pf = wp / ap * 100 %}
  {{ pf | round(2) }}
{% else %}
  0
{% endif %}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 2065, in forgiving_float_filter
    return float(value)
ValueError: could not convert string to float: 'unavailable'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 494, in async_render
    render_result = render_with_context(self.template, compiled, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 45, 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 2, in top-level template code
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 2068, in forgiving_float_filter
    raise_no_default("float", value)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template/helpers.py", line 13, in raise_no_default
    raise ValueError(
    ...<2 lines>...
    )
ValueError: Template error: float got invalid input 'unavailable' when rendering template '{# Calculate power factor #}
{% set v = states.sensor.computer_spaending.state | float %}
{% set a = states.sensor.computer_strom.state | float %}
{% set wp = states.sensor.computer_energi.state | float %}
{% set ap = v * a %}
{% if ap > 0 %}
  {% set pf = wp / ap * 100 %}
  {{ pf | round(2) }}
{% else %}
  0
{% 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/__init__.py", line 611, 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/__init__.py", line 496, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unavailable' when rendering template '{# Calculate power factor #}
{% set v = states.sensor.computer_spaending.state | float %}
{% set a = states.sensor.computer_strom.state | float %}
{% set wp = states.sensor.computer_energi.state | float %}
{% set ap = v * a %}
{% if ap > 0 %}
  {% set pf = wp / ap * 100 %}
  {{ pf | round(2) }}
{% else %}
  0
{% endif %}' but no default was specified
2025-11-04 19:25:46.839 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{# Calculate power factor #}
{% set v = states.sensor.computer_spaending.state | float %}
{% set a = states.sensor.computer_strom.state | float %}
{% set wp = states.sensor.computer_energi.state | float %}
{% set ap = v * a %}
{% if ap > 0 %}
  {% set pf = wp / ap * 100 %}
  {{ pf | round(2) }}
{% else %}
  0
{% endif %}' but no default was specified') while processing template 'Template<template=({# Calculate power factor #}
{% set v = states.sensor.computer_spaending.state | float %}
{% set a = states.sensor.computer_strom.state | float %}
{% set wp = states.sensor.computer_energi.state | float %}
{% set ap = v * a %}
{% if ap > 0 %}
  {% set pf = wp / ap * 100 %}
  {{ pf | round(2) }}
{% else %}
  0
{% endif %}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.computer_power_factor'
2025-11-04 19:25:46.841 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: 'homeassistant.util.read_only_dict.ReadOnlyDict object' has no attribute 'voltage'') while processing template 'Template<template=({{ states.switch['mikroovn_plug_switch'].attributes['voltage'] | float(0) > 0 }}) renders=4>' for attribute '_attr_available' in entity 'sensor.mikroovn_plug_power_factor'
2025-11-04 19:25:46.841 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ (as_local(as_datetime(state_attr('calendar.restaffald', 'start_time'))) - today_at('00:00')).days }}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 1957, in as_datetime
    timestamp = float(value)
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/__init__.py", line 1962, in as_datetime
    return dt_util.parse_datetime(value, raise_on_error=True)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/util/dt.py", line 230, in parse_datetime
    return ciso8601.parse_datetime(dt_str)
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
TypeError: argument must be str

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 494, in async_render
    render_result = render_with_context(self.template, compiled, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 45, 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/local/lib/python3.13/site-packages/jinja2/sandbox.py", line 401, in call
    return __context.call(__obj, *args, **kwargs)
           ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 1969, in as_datetime
    raise_no_default("as_datetime", value)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template/helpers.py", line 13, in raise_no_default
    raise ValueError(
    ...<2 lines>...
    )
ValueError: Template error: as_datetime got invalid input 'None' when rendering template '{{ (as_local(as_datetime(state_attr('calendar.restaffald', 'start_time'))) - today_at('00:00')).days }}' 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/__init__.py", line 611, 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/__init__.py", line 496, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: as_datetime got invalid input 'None' when rendering template '{{ (as_local(as_datetime(state_attr('calendar.restaffald', 'start_time'))) - today_at('00:00')).days }}' but no default was specified
2025-11-04 19:25:46.844 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ as_local(as_datetime(state_attr('calendar.restaffald', 'start_time'))).isoformat() }}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 1957, in as_datetime
    timestamp = float(value)
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/__init__.py", line 1962, in as_datetime
    return dt_util.parse_datetime(value, raise_on_error=True)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/util/dt.py", line 230, in parse_datetime
    return ciso8601.parse_datetime(dt_str)
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
TypeError: argument must be str

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 494, in async_render
    render_result = render_with_context(self.template, compiled, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 45, 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/local/lib/python3.13/site-packages/jinja2/sandbox.py", line 401, in call
    return __context.call(__obj, *args, **kwargs)
           ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 1969, in as_datetime
    raise_no_default("as_datetime", value)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template/helpers.py", line 13, in raise_no_default
    raise ValueError(
    ...<2 lines>...
    )
ValueError: Template error: as_datetime got invalid input 'None' when rendering template '{{ as_local(as_datetime(state_attr('calendar.restaffald', 'start_time'))).isoformat() }}' 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/__init__.py", line 611, 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/__init__.py", line 496, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: as_datetime got invalid input 'None' when rendering template '{{ as_local(as_datetime(state_attr('calendar.restaffald', 'start_time'))).isoformat() }}' but no default was specified
2025-11-04 19:25:46.846 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: as_datetime got invalid input 'None' when rendering template '{{ (as_local(as_datetime(state_attr('calendar.restaffald', 'start_time'))) - today_at('00:00')).days }}' but no default was specified') while processing template 'Template<template=({{ (as_local(as_datetime(state_attr('calendar.restaffald', 'start_time'))) - today_at('00:00')).days }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.dage_til_restaffald_afhentes'
2025-11-04 19:25:46.846 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: as_datetime got invalid input 'None' when rendering template '{{ (as_local(as_datetime(state_attr('calendar.restaffald', 'start_time'))) - today_at('00:00')).days }}' but no default was specified') while processing template 'Template<template=({{ (as_local(as_datetime(state_attr('calendar.restaffald', 'start_time'))) - today_at('00:00')).days }}) renders=0>' for attribute 'days' in entity 'sensor.dage_til_restaffald_afhentes'
2025-11-04 19:25:46.846 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: as_datetime got invalid input 'None' when rendering template '{{ as_local(as_datetime(state_attr('calendar.restaffald', 'start_time'))).isoformat() }}' but no default was specified') while processing template 'Template<template=({{ as_local(as_datetime(state_attr('calendar.restaffald', 'start_time'))).isoformat() }}) renders=4>' for attribute 'next_date' in entity 'sensor.dage_til_restaffald_afhentes'
2025-11-04 19:25:46.846 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ (as_local(as_datetime(state_attr('calendar.genbrug', 'start_time'))) - today_at('00:00')).days }}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 1957, in as_datetime
    timestamp = float(value)
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/__init__.py", line 1962, in as_datetime
    return dt_util.parse_datetime(value, raise_on_error=True)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/util/dt.py", line 230, in parse_datetime
    return ciso8601.parse_datetime(dt_str)
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
TypeError: argument must be str

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 494, in async_render
    render_result = render_with_context(self.template, compiled, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 45, 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/local/lib/python3.13/site-packages/jinja2/sandbox.py", line 401, in call
    return __context.call(__obj, *args, **kwargs)
           ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 1969, in as_datetime
    raise_no_default("as_datetime", value)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template/helpers.py", line 13, in raise_no_default
    raise ValueError(
    ...<2 lines>...
    )
ValueError: Template error: as_datetime got invalid input 'None' when rendering template '{{ (as_local(as_datetime(state_attr('calendar.genbrug', 'start_time'))) - today_at('00:00')).days }}' 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/__init__.py", line 611, 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/__init__.py", line 496, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: as_datetime got invalid input 'None' when rendering template '{{ (as_local(as_datetime(state_attr('calendar.genbrug', 'start_time'))) - today_at('00:00')).days }}' but no default was specified
2025-11-04 19:25:46.848 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ as_local(as_datetime(state_attr('calendar.genbrug', 'start_time'))).isoformat() }}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 1957, in as_datetime
    timestamp = float(value)
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/__init__.py", line 1962, in as_datetime
    return dt_util.parse_datetime(value, raise_on_error=True)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/util/dt.py", line 230, in parse_datetime
    return ciso8601.parse_datetime(dt_str)
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
TypeError: argument must be str

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 494, in async_render
    render_result = render_with_context(self.template, compiled, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 45, 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/local/lib/python3.13/site-packages/jinja2/sandbox.py", line 401, in call
    return __context.call(__obj, *args, **kwargs)
           ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 1969, in as_datetime
    raise_no_default("as_datetime", value)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template/helpers.py", line 13, in raise_no_default
    raise ValueError(
    ...<2 lines>...
    )
ValueError: Template error: as_datetime got invalid input 'None' when rendering template '{{ as_local(as_datetime(state_attr('calendar.genbrug', 'start_time'))).isoformat() }}' 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/__init__.py", line 611, 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/__init__.py", line 496, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: as_datetime got invalid input 'None' when rendering template '{{ as_local(as_datetime(state_attr('calendar.genbrug', 'start_time'))).isoformat() }}' but no default was specified
2025-11-04 19:25:46.850 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: as_datetime got invalid input 'None' when rendering template '{{ (as_local(as_datetime(state_attr('calendar.genbrug', 'start_time'))) - today_at('00:00')).days }}' but no default was specified') while processing template 'Template<template=({{ (as_local(as_datetime(state_attr('calendar.genbrug', 'start_time'))) - today_at('00:00')).days }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.dage_til_genbrug_afhentes'
2025-11-04 19:25:46.850 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: as_datetime got invalid input 'None' when rendering template '{{ (as_local(as_datetime(state_attr('calendar.genbrug', 'start_time'))) - today_at('00:00')).days }}' but no default was specified') while processing template 'Template<template=({{ (as_local(as_datetime(state_attr('calendar.genbrug', 'start_time'))) - today_at('00:00')).days }}) renders=0>' for attribute 'days' in entity 'sensor.dage_til_genbrug_afhentes'
2025-11-04 19:25:46.851 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: as_datetime got invalid input 'None' when rendering template '{{ as_local(as_datetime(state_attr('calendar.genbrug', 'start_time'))).isoformat() }}' but no default was specified') while processing template 'Template<template=({{ as_local(as_datetime(state_attr('calendar.genbrug', 'start_time'))).isoformat() }}) renders=4>' for attribute 'next_date' in entity 'sensor.dage_til_genbrug_afhentes'
2025-11-04 19:25:46.851 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'None' has no attribute 'attributes' when rendering '{{ (states.switch.teknikskab_switch.attributes.current_consumption) | default(0) | float(0) }}'
2025-11-04 19:25:46.851 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ (states.switch.teknikskab_switch.attributes.current_consumption) | default(0) | float(0) }}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 494, in async_render
    render_result = render_with_context(self.template, compiled, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 45, 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/local/lib/python3.13/site-packages/jinja2/sandbox.py", line 319, in getattr
    value = getattr(obj, attribute)
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 2376, in _fail_with_undefined_error
    return super()._fail_with_undefined_error(*args, **kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'None' has no attribute 'attributes'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 611, 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/__init__.py", line 496, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: UndefinedError: 'None' has no attribute 'attributes'
2025-11-04 19:25:46.852 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'None' has no attribute 'attributes' when rendering '{{ (states.switch.teknikskab_switch.attributes.current_consumption) | default(0) | float(0) }}'
2025-11-04 19:25:46.852 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: 'None' has no attribute 'attributes'') while processing template 'Template<template=({{ (states.switch.teknikskab_switch.attributes.current_consumption) | default(0) | float(0) }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.teknikskab_energi'
2025-11-04 19:25:46.852 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'None' has no attribute 'attributes' when rendering '{{ (states.switch.teknikskab_switch.attributes.voltage) | default(0) | float(0) }}'
2025-11-04 19:25:46.852 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ (states.switch.teknikskab_switch.attributes.voltage) | default(0) | float(0) }}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 494, in async_render
    render_result = render_with_context(self.template, compiled, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 45, 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/local/lib/python3.13/site-packages/jinja2/sandbox.py", line 319, in getattr
    value = getattr(obj, attribute)
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 2376, in _fail_with_undefined_error
    return super()._fail_with_undefined_error(*args, **kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'None' has no attribute 'attributes'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 611, 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/__init__.py", line 496, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: UndefinedError: 'None' has no attribute 'attributes'
2025-11-04 19:25:46.853 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'None' has no attribute 'attributes' when rendering '{{ (states.switch.teknikskab_switch.attributes.voltage) | default(0) | float(0) }}'
2025-11-04 19:25:46.853 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: 'None' has no attribute 'attributes'') while processing template 'Template<template=({{ (states.switch.teknikskab_switch.attributes.voltage) | default(0) | float(0) }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.teknikskab_spaending'
2025-11-04 19:25:46.854 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'None' has no attribute 'attributes' when rendering '{{ (states.switch.teknikskab_switch.attributes.current) | default(0) | float(0) * 0.001  }}'
2025-11-04 19:25:46.854 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ (states.switch.teknikskab_switch.attributes.current) | default(0) | float(0) * 0.001  }}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 494, in async_render
    render_result = render_with_context(self.template, compiled, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 45, 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/local/lib/python3.13/site-packages/jinja2/sandbox.py", line 319, in getattr
    value = getattr(obj, attribute)
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 2376, in _fail_with_undefined_error
    return super()._fail_with_undefined_error(*args, **kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'None' has no attribute 'attributes'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 611, 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/__init__.py", line 496, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: UndefinedError: 'None' has no attribute 'attributes'
2025-11-04 19:25:46.856 ERROR (MainThread) [homeassistant.helpers.template] Template variable error: 'None' has no attribute 'attributes' when rendering '{{ (states.switch.teknikskab_switch.attributes.current) | default(0) | float(0) * 0.001  }}'
2025-11-04 19:25:46.856 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('UndefinedError: 'None' has no attribute 'attributes'') while processing template 'Template<template=({{ (states.switch.teknikskab_switch.attributes.current) | default(0) | float(0) * 0.001  }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.teknikskab_strom'
2025-11-04 19:25:46.857 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% set uptime = states.sensor.simstrup_gateway_uptime.state | int %} {% set days = (uptime / 86400) | int %} {%- if days > 0 -%}
  {{ days }} days, {{ (uptime - (days * 86400)) | int | timestamp_custom('%H:%M:%S', false) }}
{%- else -%}
  {{ uptime | int | timestamp_custom('%H:%M:%S', false) }}
{%- endif -%}) renders=2>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 494, in async_render
    render_result = render_with_context(self.template, compiled, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 45, 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/__init__.py", line 2084, in forgiving_int_filter
    raise_no_default("int", value)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template/helpers.py", line 13, in raise_no_default
    raise ValueError(
    ...<2 lines>...
    )
ValueError: Template error: int got invalid input 'unavailable' when rendering template '{% set uptime = states.sensor.simstrup_gateway_uptime.state | int %} {% set days = (uptime / 86400) | int %} {%- if days > 0 -%}
  {{ days }} days, {{ (uptime - (days * 86400)) | int | timestamp_custom('%H:%M:%S', false) }}
{%- else -%}
  {{ uptime | int | timestamp_custom('%H:%M:%S', false) }}
{%- 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/__init__.py", line 611, 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/__init__.py", line 496, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: int got invalid input 'unavailable' when rendering template '{% set uptime = states.sensor.simstrup_gateway_uptime.state | int %} {% set days = (uptime / 86400) | int %} {%- if days > 0 -%}
  {{ days }} days, {{ (uptime - (days * 86400)) | int | timestamp_custom('%H:%M:%S', false) }}
{%- else -%}
  {{ uptime | int | timestamp_custom('%H:%M:%S', false) }}
{%- endif -%}' but no default was specified
2025-11-04 19:25:46.858 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: int got invalid input 'unavailable' when rendering template '{% set uptime = states.sensor.simstrup_gateway_uptime.state | int %} {% set days = (uptime / 86400) | int %} {%- if days > 0 -%}
  {{ days }} days, {{ (uptime - (days * 86400)) | int | timestamp_custom('%H:%M:%S', false) }}
{%- else -%}
  {{ uptime | int | timestamp_custom('%H:%M:%S', false) }}
{%- endif -%}' but no default was specified') while processing template 'Template<template=({% set uptime = states.sensor.simstrup_gateway_uptime.state | int %} {% set days = (uptime / 86400) | int %} {%- if days > 0 -%}
  {{ days }} days, {{ (uptime - (days * 86400)) | int | timestamp_custom('%H:%M:%S', false) }}
{%- else -%}
  {{ uptime | int | timestamp_custom('%H:%M:%S', false) }}
{%- endif -%}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.router_uptime'
2025-11-04 19:25:46.907 WARNING (MainThread) [custom_components.hacs] You have 'custom-cards/spotify-card' installed with HACS this repository has been removed from HACS, please consider removing it. Removal reason (Repository is no longer maintained)
2025-11-04 19:25:55.880 WARNING (MainThread) [homeassistant.components.utility_meter.sensor] Daglig energiforbrug received an invalid new state from sensor.elmaler_energy : unknown
2025-11-04 19:25:55.880 WARNING (MainThread) [homeassistant.components.utility_meter.sensor] Ugentligt energiforbrug received an invalid new state from sensor.elmaler_energy_phase_b : unknown
2025-11-04 21:20:34.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff6180f7780>)
2025-11-04 21:40:06.930 WARNING (SyncWorker_5) [miio.miioprotocol] error while reading discover results: Error in path (parsing) -> header
parsing expected 8497 but parsed 12590
2025-11-04 23:23:20.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff616f83d00>)
2025-11-04 23:27:06.957 WARNING (SyncWorker_4) [miio.miioprotocol] error while reading discover results: Error in path (parsing) -> header
parsing expected 8497 but parsed 12590
2025-11-05 00:01:45.330 ERROR (Thread-8) [pychromecast.socket_client] [SHIELD(10.0.1.30):8009] Failed to connect to service HostServiceInfo(host='10.0.1.30', port=8009), retrying in 5.0s
2025-11-05 00:02:31.729 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for smartcard @ 10.0.1.43: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='10.0.1.43', port=6053))]: [Errno 113] Connect call failed ('10.0.1.43', 6053) (SocketAPIError)
2025-11-05 00:03:26.807 ERROR (MainThread) [habluetooth.scanner] hci0 (5C:F3:70:98:A0:7A): Error stopping scanner: [org.bluez.Error.Failed] No discovery started
2025-11-05 02:23:10.899 ERROR (Thread-7) [pychromecast.socket_client] [Living Room speaker(10.0.1.213):8009] Failed to connect to service HostServiceInfo(host='10.0.1.213', port=8009), retrying in 5.0s
2025-11-05 03:25:43.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff617e9c700>)
2025-11-05 03:45:44.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff6180a31c0>)
2025-11-05 03:59:08.409 ERROR (MainThread) [homeassistant.components.roborock.coordinator] Error fetching roborock data: Failed to update data
2025-11-05 04:32:47.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff61802dc80>)
2025-11-05 05:26:00.013 ERROR (MainThread) [custom_components.fuelprices_dk.sensor] Unexpected error fetching sensor data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 392, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 293, in _async_update_data
    return await self.update_method()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/sensor.py", line 39, in async_update_data
    await hass.async_add_executor_job(company.refreshPrices)
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_api.py", line 202, in refreshPrices
    self._products = getattr(self._parser, self._key)(self._url, self._products)
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_parsers.py", line 135, in oil
    priceSegments[0].text + "." + priceSegments[1].text,
    ~~~~~~~~~~~~~^^^
IndexError: list index out of range
2025-11-05 07:53:12.143 ERROR (MainThread) [homeassistant.components.spotify.coordinator] Error fetching spotify data: Error communicating with Spotify API
2025-11-05 08:23:59.088 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff61763b840>)
2025-11-05 09:36:10.088 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff622628bc0>)
2025-11-05 10:41:42.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff6170bfd00>)
2025-11-05 15:00:05.088 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff61ae6a600>)
2025-11-05 15:26:12.811 ERROR (MainThread) [custom_components.fuelprices_dk.sensor] Unexpected error fetching sensor data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 392, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 293, in _async_update_data
    return await self.update_method()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/sensor.py", line 39, in async_update_data
    await hass.async_add_executor_job(company.refreshPrices)
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_api.py", line 202, in refreshPrices
    self._products = getattr(self._parser, self._key)(self._url, self._products)
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_parsers.py", line 135, in oil
    priceSegments[0].text + "." + priceSegments[1].text,
    ~~~~~~~~~~~~~^^^
IndexError: list index out of range
2025-11-05 15:38:31.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff616f5fdc0>)
2025-11-05 16:25:44.086 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff624f6eb80>)
2025-11-05 17:27:50.086 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff6571a2d00>)
2025-11-05 18:19:03.086 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff628848840>)
2025-11-05 19:07:59.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff616a9d600>)
2025-11-05 22:37:02.088 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff61698a200>)
2025-11-05 23:31:37.086 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff6169a6b40>)
2025-11-06 00:00:51.309 ERROR (Thread-8) [pychromecast.socket_client] [SHIELD(10.0.1.30):8009] Failed to connect to service HostServiceInfo(host='10.0.1.30', port=8009), retrying in 5.0s
2025-11-06 00:01:52.625 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for smartcard @ 10.0.1.43: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='10.0.1.43', port=6053))]: [Errno 113] Connect call failed ('10.0.1.43', 6053) (SocketAPIError)
2025-11-06 01:26:27.747 ERROR (MainThread) [custom_components.fuelprices_dk.sensor] Unexpected error fetching sensor data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 392, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 293, in _async_update_data
    return await self.update_method()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/sensor.py", line 39, in async_update_data
    await hass.async_add_executor_job(company.refreshPrices)
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_api.py", line 202, in refreshPrices
    self._products = getattr(self._parser, self._key)(self._url, self._products)
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_parsers.py", line 135, in oil
    priceSegments[0].text + "." + priceSegments[1].text,
    ~~~~~~~~~~~~~^^^
IndexError: list index out of range
2025-11-06 03:15:17.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff61808a540>)
2025-11-06 03:22:55.286 ERROR (Thread-7) [pychromecast.socket_client] [Living Room speaker(10.0.1.213):8009] Failed to connect to service HostServiceInfo(host='10.0.1.213', port=8009), retrying in 5.0s
2025-11-06 03:58:38.345 ERROR (MainThread) [homeassistant.components.roborock.coordinator] Error fetching roborock data: Failed to update data
2025-11-06 07:46:48.086 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff622d03300>)
2025-11-06 08:12:35.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff616e60900>)
2025-11-06 10:30:32.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff621729c00>)
2025-11-06 11:26:40.913 ERROR (MainThread) [custom_components.fuelprices_dk.sensor] Unexpected error fetching sensor data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 392, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 293, in _async_update_data
    return await self.update_method()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/sensor.py", line 39, in async_update_data
    await hass.async_add_executor_job(company.refreshPrices)
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_api.py", line 202, in refreshPrices
    self._products = getattr(self._parser, self._key)(self._url, self._products)
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_parsers.py", line 135, in oil
    priceSegments[0].text + "." + priceSegments[1].text,
    ~~~~~~~~~~~~~^^^
IndexError: list index out of range
2025-11-06 12:10:18.086 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff623d50a00>)
2025-11-06 13:08:18.342 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice, retrying in 5 minutes.
2025-11-06 16:10:36.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff613d94900>)
2025-11-06 17:11:06.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff61ae79500>)
2025-11-06 21:26:48.191 ERROR (MainThread) [custom_components.fuelprices_dk.sensor] Unexpected error fetching sensor data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 392, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 293, in _async_update_data
    return await self.update_method()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/sensor.py", line 39, in async_update_data
    await hass.async_add_executor_job(company.refreshPrices)
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_api.py", line 202, in refreshPrices
    self._products = getattr(self._parser, self._key)(self._url, self._products)
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_parsers.py", line 34, in goon
    return self._goon_ocr(url, products)
           ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_parsers.py", line 55, in _goon_ocr
    pricelist_url = html.find("img", class_="lazyload")["data-src"]
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
2025-11-06 22:12:17.182 WARNING (MainThread) [habluetooth.base_scanner] Removing a non-existing connecting sovebt (94:B5:55:2D:83:12) 60:77:71:5A:ED:CC
2025-11-06 22:12:37.352 WARNING (MainThread) [habluetooth.base_scanner] Removing a non-existing connecting kokkenbt (0C:B8:15:D6:DB:0A) 60:77:71:5A:ED:CC
2025-11-07 00:00:51.214 ERROR (Thread-8) [pychromecast.socket_client] [SHIELD(10.0.1.30):8009] Failed to connect to service HostServiceInfo(host='10.0.1.30', port=8009), retrying in 5.0s
2025-11-07 00:01:37.585 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for smartcard @ 10.0.1.43: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='10.0.1.43', port=6053))]: [Errno 113] Connect call failed ('10.0.1.43', 6053) (SocketAPIError)
2025-11-07 00:25:50.088 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff619708f00>)
2025-11-07 02:30:08.902 ERROR (Thread-7) [pychromecast.socket_client] [Living Room speaker(10.0.1.213):8009] Failed to connect to service HostServiceInfo(host='10.0.1.213', port=8009), retrying in 5.0s
2025-11-07 03:58:39.349 ERROR (MainThread) [homeassistant.components.roborock.coordinator] Error fetching roborock data: Failed to update data
2025-11-07 04:03:17.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff6376cc780>)
2025-11-07 05:29:47.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff617ea08c0>)
2025-11-07 07:26:55.462 ERROR (MainThread) [custom_components.fuelprices_dk.sensor] Unexpected error fetching sensor data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 392, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 293, in _async_update_data
    return await self.update_method()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/sensor.py", line 39, in async_update_data
    await hass.async_add_executor_job(company.refreshPrices)
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_api.py", line 202, in refreshPrices
    self._products = getattr(self._parser, self._key)(self._url, self._products)
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_parsers.py", line 34, in goon
    return self._goon_ocr(url, products)
           ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_parsers.py", line 55, in _goon_ocr
    pricelist_url = html.find("img", class_="lazyload")["data-src"]
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
2025-11-07 08:07:39.086 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff6174c43c0>)
2025-11-07 08:46:30.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff611f3c840>)
2025-11-07 08:55:06.086 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff611af9980>)
2025-11-07 09:21:45.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff63769f5c0>)
2025-11-07 09:51:39.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff6113a7800>)
2025-11-07 13:08:18.359 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice, retrying in 5 minutes.
2025-11-07 13:46:53.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff616a32fc0>)
2025-11-07 15:28:47.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff611393100>)
2025-11-07 15:39:48.086 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff61724b0c0>)
2025-11-07 17:27:02.271 ERROR (MainThread) [custom_components.fuelprices_dk.sensor] Unexpected error fetching sensor data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 392, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 293, in _async_update_data
    return await self.update_method()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/sensor.py", line 39, in async_update_data
    await hass.async_add_executor_job(company.refreshPrices)
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_api.py", line 202, in refreshPrices
    self._products = getattr(self._parser, self._key)(self._url, self._products)
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_parsers.py", line 34, in goon
    return self._goon_ocr(url, products)
           ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_parsers.py", line 55, in _goon_ocr
    pricelist_url = html.find("img", class_="lazyload")["data-src"]
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
2025-11-07 17:44:11.086 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff617386100>)
2025-11-07 18:45:34.656 ERROR (MainThread) [custom_components.pirateweather.weather_update_coordinator] Error fetching pirateweather data: Error communicating with API: 500, message='Internal Server Error', url='https://api.pirateweather.net/forecast/BBdbQwkZY0lq8mV1sVZYliFuZD7vRBgX/56.2575151819213,10.160620808601381?units=si&extend=hourly&version=2&lang=en'
2025-11-07 23:30:14.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff617eec500>)
2025-11-08 00:13:32.090 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff6154debc0>)
2025-11-08 02:22:36.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff610d806c0>)
2025-11-08 02:37:20.424 ERROR (Thread-7) [pychromecast.socket_client] [Living Room speaker(10.0.1.213):8009] Failed to connect to service HostServiceInfo(host='10.0.1.213', port=8009), retrying in 5.0s
2025-11-08 02:57:42.088 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff6278d04c0>)
2025-11-08 03:27:09.839 ERROR (MainThread) [custom_components.fuelprices_dk.sensor] Unexpected error fetching sensor data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 392, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 293, in _async_update_data
    return await self.update_method()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/sensor.py", line 39, in async_update_data
    await hass.async_add_executor_job(company.refreshPrices)
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_api.py", line 202, in refreshPrices
    self._products = getattr(self._parser, self._key)(self._url, self._products)
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_parsers.py", line 34, in goon
    return self._goon_ocr(url, products)
           ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_parsers.py", line 55, in _goon_ocr
    pricelist_url = html.find("img", class_="lazyload")["data-src"]
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
2025-11-08 03:58:54.342 ERROR (MainThread) [homeassistant.components.roborock.coordinator] Error fetching roborock data: Failed to update data
2025-11-08 10:02:07.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff613f88840>)
2025-11-08 11:25:47.086 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff6384a99c0>)
2025-11-08 12:00:59.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff60e427940>)
2025-11-08 12:43:45.166 WARNING (SyncWorker_8) [miio.miioprotocol] error while reading discover results: Error in path (parsing) -> header
parsing expected 8497 but parsed 12590
2025-11-08 13:27:19.001 ERROR (MainThread) [custom_components.fuelprices_dk.sensor] Unexpected error fetching sensor data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 392, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 293, in _async_update_data
    return await self.update_method()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/sensor.py", line 39, in async_update_data
    await hass.async_add_executor_job(company.refreshPrices)
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_api.py", line 202, in refreshPrices
    self._products = getattr(self._parser, self._key)(self._url, self._products)
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_parsers.py", line 34, in goon
    return self._goon_ocr(url, products)
           ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/config/custom_components/fuelprices_dk/fuelprices_dk_parsers.py", line 55, in _goon_ocr
    pricelist_url = html.find("img", class_="lazyload")["data-src"]
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
2025-11-08 15:41:04.086 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff618fa9100>)
2025-11-08 16:26:14.431 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 16:26:14.431 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 5 minutes.
2025-11-08 16:26:14.470 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 16:26:14.470 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 5 minutes.
2025-11-08 16:31:44.539 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 16:31:44.539 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 10 minutes.
2025-11-08 16:31:44.577 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 16:31:44.577 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 10 minutes.
2025-11-08 16:42:14.660 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 16:42:14.660 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 15 minutes.
2025-11-08 16:42:14.680 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 16:42:14.680 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 15 minutes.
2025-11-08 16:57:44.762 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 16:57:44.762 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 20 minutes.
2025-11-08 16:57:44.788 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 16:57:44.788 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 20 minutes.
2025-11-08 17:18:14.882 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 17:18:14.882 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 25 minutes.
2025-11-08 17:18:14.893 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 17:18:14.893 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 25 minutes.
2025-11-08 17:26:44.568 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 17:26:44.568 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 30 minutes.
2025-11-08 17:26:44.596 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 17:26:44.597 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 30 minutes.
2025-11-08 17:43:45.003 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 17:43:45.003 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 35 minutes.
2025-11-08 17:43:45.003 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 17:43:45.003 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 35 minutes.
2025-11-08 17:57:14.677 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 17:57:14.677 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 40 minutes.
2025-11-08 17:57:14.704 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 17:57:14.704 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 40 minutes.
2025-11-08 18:19:15.121 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 18:19:15.121 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 45 minutes.
2025-11-08 18:19:15.121 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 18:19:15.121 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 45 minutes.
2025-11-08 18:27:14.678 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 18:27:14.678 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 50 minutes.
2025-11-08 18:27:14.702 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 18:27:14.702 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 50 minutes.
2025-11-08 18:32:18.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff6181ff980>)
2025-11-08 18:37:44.792 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 18:37:44.792 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 55 minutes.
2025-11-08 18:37:44.804 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 18:37:44.804 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 55 minutes.
2025-11-08 19:04:45.238 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 19:04:45.238 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 60 minutes.
2025-11-08 19:04:45.258 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 19:04:45.258 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 60 minutes.
2025-11-08 19:08:43.087 ERROR (MainThread) [custom_components.stecamonitor.sensor] Error talking to StecaGrid inverter: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7ff621c20240>)
2025-11-08 19:17:44.780 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 19:17:44.781 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 60 minutes.
2025-11-08 19:17:44.811 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 19:17:44.811 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 60 minutes.
2025-11-08 19:27:44.782 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 19:27:44.782 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 60 minutes.
2025-11-08 19:27:44.805 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 19:27:44.805 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 60 minutes.
2025-11-08 19:33:14.913 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 19:33:14.914 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 60 minutes.
2025-11-08 19:33:14.915 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 19:33:14.915 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 60 minutes.
2025-11-08 20:05:15.353 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 20:05:15.353 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 60 minutes.
2025-11-08 20:05:15.365 ERROR (MainThread) [custom_components.energidataservice.connectors.energidataservice] API returned error 504
2025-11-08 20:05:15.365 WARNING (MainThread) [custom_components.energidataservice.api] Couldn't get data from energidataservice_co2, retrying in 60 minutes.
2025-11-08 20:08:59.042 ERROR (Thread-8) [pychromecast.socket_client] [SHIELD(10.0.1.30):8009] Failed to connect. No retries.