Getting all kinds of errors after updating 2026.6.1, even after a backup its still broken. System in Recovery mode. It won't let me upload the log here
Hi, are you talking about restoring a backup because only taking a backup would not affect your system.
Why can't you upload your log?!
- what type of installation are you running?
- share logs by pasting the code (</> preformatted text icon in toolbar when replying) -> no screenshots
Running on an intel nuc HHA OS, I've restored the backup from yesterday and still getting the same errors and no dashboard anymore. Couldn't load all the log as it was above the limit.
ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ "yellow" if states("sensor.count_jacobs_room_lights_on") | float >= 1 else "grey"}}' 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 502, 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 385, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ "yellow" if states("sensor.count_jacobs_room_lights_on") | float >= 1 else "grey"}}' but no default was specifiede[0me[0m
e[31m2026-06-06 11:56:30.319 ERROR (MainThread) [homeassistant.helpers.event] e[31m2026-06-06 11:56:30.319 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ "yellow" if states("sensor.count_willows_room_lights_on") | float >= 1 else "grey"}}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/extensions/type_cast.py", line 63, in forgiving_float
return float(value)
ValueError: could not convert string to float: 'unknown'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 383, in async_render
render_result = render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 43, in render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/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/extensions/type_cast.py", line 66, in forgiving_float
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template/helpers.py", line 25, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ "yellow" if states("sensor.count_willows_room_lights_on") | float >= 1 else "grey"}}' 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 502, 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 385, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ "yellow" if states("sensor.count_willows_room_lights_on") | float >= 1 else "grey"}}' but no default was specifiede[0me[0m
e[31m2026-06-06 11:56:30.339 ERROR (MainThread) [homeassistant.helpers.event] e[31m2026-06-06 11:56:30.339 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ "green" if states('predbat.ppkwh_today') | float < 10.00 else "red" }}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/extensions/type_cast.py", line 63, in forgiving_float
return float(value)
ValueError: could not convert string to float: 'unknown'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 383, in async_render
render_result = render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 43, in render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/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/extensions/type_cast.py", line 66, in forgiving_float
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template/helpers.py", line 25, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ "green" if states('predbat.ppkwh_today') | float < 10.00 else "red" }}' 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 502, 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 385, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ "green" if states('predbat.ppkwh_today') | float < 10.00 else "red" }}' but no default was specifiede[0me[0m
e[31m2026-06-06 11:56:30.355 ERROR (MainThread) [homeassistant.helpers.event] e[31m2026-06-06 11:56:30.355 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ (states('sensor.garmin_connect_floors_ascended') | round(0)) }} Floors) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/extensions/math.py", line 381, in forgiving_round
value = round(float(value), precision)
~~~~~^^^^^^^
ValueError: could not convert string to float: 'unknown'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 383, in async_render
render_result = render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 43, in render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/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/extensions/math.py", line 385, in forgiving_round
raise_no_default("round", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template/helpers.py", line 25, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: round got invalid input 'unknown' when rendering template '{{ (states('sensor.garmin_connect_floors_ascended') | round(0)) }} Floors' 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 502, 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 385, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: round got invalid input 'unknown' when rendering template '{{ (states('sensor.garmin_connect_floors_ascended') | round(0)) }} Floors' but no default was specifiede[0me[0m
e[31m2026-06-06 11:56:30.357 ERROR (MainThread) [homeassistant.helpers.event] e[31m2026-06-06 11:56:30.357 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% set state=states('sensor.garmin_connect_floors_ascended') | round(2) %} {% if state > 9 %}
green
{% else %}
red
{% endif %}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/extensions/math.py", line 381, in forgiving_round
value = round(float(value), precision)
~~~~~^^^^^^^
ValueError: could not convert string to float: 'unknown'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 383, in async_render
render_result = render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 43, in render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/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/extensions/math.py", line 385, in forgiving_round
raise_no_default("round", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template/helpers.py", line 25, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: round got invalid input 'unknown' when rendering template '{% set state=states('sensor.garmin_connect_floors_ascended') | round(2) %} {% if state > 9 %}
green
{% else %}
red
{% 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 502, 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 385, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: round got invalid input 'unknown' when rendering template '{% set state=states('sensor.garmin_connect_floors_ascended') | round(2) %} {% if state > 9 %}
green
{% else %}
red
{% endif %}' but no default was specifiede[0me[0m
e[31m2026-06-06 11:56:30.359 ERROR (MainThread) [homeassistant.helpers.event] e[31m2026-06-06 11:56:30.359 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states('sensor.garmin_connect_burned_calories') | float | round(0) | int }} cal) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/extensions/type_cast.py", line 63, in forgiving_float
return float(value)
ValueError: could not convert string to float: 'unknown'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 383, in async_render
render_result = render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 43, in render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/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/extensions/type_cast.py", line 66, in forgiving_float
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template/helpers.py", line 25, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ states('sensor.garmin_connect_burned_calories') | float | round(0) | int }} cal' 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 502, 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 385, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ states('sensor.garmin_connect_burned_calories') | float | round(0) | int }} cal' but no default was specifiede[0me[0m
e[31m2026-06-06 11:56:30.364 ERROR (MainThread) [homeassistant.helpers.event] e[31m2026-06-06 11:56:30.364 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% set state=states('sensor.garmin_connect_max_heart_rate') | round(2) %} {% if state > 120 %} red {% elif state > 60 %} green {% else %} yellow {% endif %}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/extensions/math.py", line 381, in forgiving_round
value = round(float(value), precision)
~~~~~^^^^^^^
ValueError: could not convert string to float: 'unknown'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 383, in async_render
render_result = render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 43, in render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/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/extensions/math.py", line 385, in forgiving_round
raise_no_default("round", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template/helpers.py", line 25, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: round got invalid input 'unknown' when rendering template '{% set state=states('sensor.garmin_connect_max_heart_rate') | round(2) %} {% if state > 120 %} red {% elif state > 60 %} green {% else %} yellow {% 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 502, 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 385, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: round got invalid input 'unknown' when rendering template '{% set state=states('sensor.garmin_connect_max_heart_rate') | round(2) %} {% if state > 120 %} red {% elif state > 60 %} green {% else %} yellow {% endif %}' but no default was specifiede[0me[0m
e[31m2026-06-06 11:56:30.367 ERROR (MainThread) [homeassistant.helpers.event] e[31m2026-06-06 11:56:30.367 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ "green" if states("sensor.octopus_energy_electricity_21l3529754_2200011696600_current_accumulative_cost") | float < 1.50 else "red" }}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/extensions/type_cast.py", line 63, in forgiving_float
return float(value)
ValueError: could not convert string to float: 'unknown'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 383, in async_render
render_result = render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 43, in render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/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/extensions/type_cast.py", line 66, in forgiving_float
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template/helpers.py", line 25, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ "green" if states("sensor.octopus_energy_electricity_21l3529754_2200011696600_current_accumulative_cost") | float < 1.50 else "red" }}' 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 502, 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 385, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ "green" if states("sensor.octopus_energy_electricity_21l3529754_2200011696600_current_accumulative_cost") | float < 1.50 else "red" }}' but no default was specifiede[0me[0m
e[31m2026-06-06 11:56:30.373 ERROR (MainThread) [homeassistant.helpers.event] e[31m2026-06-06 11:56:30.373 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ "green" if states("sensor.octopus_energy_electricity_21l3529754_2200011696600_current_accumulative_cost") | float < 1.50 else "red" }}) renders=4>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/extensions/type_cast.py", line 63, in forgiving_float
return float(value)
ValueError: could not convert string to float: 'unknown'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 383, in async_render
render_result = render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 43, in render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/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/extensions/type_cast.py", line 66, in forgiving_float
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template/helpers.py", line 25, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ "green" if states("sensor.octopus_energy_electricity_21l3529754_2200011696600_current_accumulative_cost") | float < 1.50 else "red" }}' 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 502, 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 385, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ "green" if states("sensor.octopus_energy_electricity_21l3529754_2200011696600_current_accumulative_cost") | float < 1.50 else "red" }}' but no default was specifiede[0me[0m
e[31m2026-06-06 11:56:30.376 ERROR (MainThread) [homeassistant.helpers.event] e[31m2026-06-06 11:56:30.376 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ "mdi:solar-power-variant-outline" if states("sensor.solar_generation_cost_daily") | float > 2.50 else "mdi:solar-power-variant" }}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/extensions/type_cast.py", line 63, in forgiving_float
return float(value)
ValueError: could not convert string to float: 'unknown'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 383, in async_render
render_result = render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 43, in render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/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/extensions/type_cast.py", line 66, in forgiving_float
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template/helpers.py", line 25, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ "mdi:solar-power-variant-outline" if states("sensor.solar_generation_cost_daily") | float > 2.50 else "mdi:solar-power-variant" }}' 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 502, 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 385, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ "mdi:solar-power-variant-outline" if states("sensor.solar_generation_cost_daily") | float > 2.50 else "mdi:solar-power-variant" }}' but no default was specifiede[0me[0m
e[31m2026-06-06 11:56:30.379 ERROR (MainThread) [homeassistant.helpers.event] e[31m2026-06-06 11:56:30.379 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ "green" if states("sensor.solar_generation_cost_daily") | float > 2.50 else "red" }}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/extensions/type_cast.py", line 63, in forgiving_float
return float(value)
ValueError: could not convert string to float: 'unknown'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 383, in async_render
render_result = render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template/context.py", line 43, in render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/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/extensions/type_cast.py", line 66, in forgiving_float
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template/helpers.py", line 25, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ "green" if states("sensor.solar_generation_cost_daily") | float > 2.50 else "red" }}' 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 502, 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 385, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ "green" if states("sensor.solar_generation_cost_daily") | float > 2.50 else "red" }}' but no default was specifiede[0me[0m
e[31m2026-06-06 11:56:30.383 ERROR (MainThread) [homeassistant.helpers.event] e[31m2026-06-06 11:56:30.383 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% if states['number.givtcp_aio_1_ch2315g183_target_soc'].state == '100' %}
mdi:battery-charging-100
{% elif states['number.givtcp_aio_1_ch2315g183_target_soc'].state == '90' %}
mdi:battery-charging-90
{% elif states['number.givtcp_aio_1_ch2315g183_target_soc'].state == '80' %}
mdi:battery-charging-80
{% elif states['number.givtcp_aio_1_ch2315g183_target_soc'].state == '70' %}
mdi:battery-charging-70
{% elif states['number.givtcp_aio_1_ch2315g183_target_soc'].state == '60' %}
mdi:battery-charging-60
{% elif states['number.givtcp_aio_1_ch2315g183_target_soc'].state == '50' %}
mdi:battery-charging-50
{% elif states['number.givtcp_aio_1_ch2315g183_target_soc'].state == '40' %}
mdi:battery-charging-40
{% elif states['number.givtcp_aio_1_ch2315g183_target_soc'].state == '30' %}
mdi:battery-charging-30
{% elif states['number.givtcp_aio_1_ch2315g183_target_soc'].state == '20' %}
mdi:battery-charging-20
{% elif states['number.givtcp_aio_1_ch2315g183_target_soc'].state == '10' %}
mdi:battery-charging-10
{%else%}
mdi:battery-off
{%endif%}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template/__init__.py", line 383, in async_render
Are you restoring from an automated backup?
Was your system running without these issues at the time of that backup?
Yes, automated backup at 03:00 this morning and that was Core 2026.6.0. No issues, updated to 2026.6.1 about 11:30 and after it rebooted all these errors, into Recovery Mode and no dashboard anymore.
EDIT: I have managed to get it back online with a backup from 2 days ago. Just wondering if anyone else has had issues with this update?
Strange, have you checked the release notes before updating if something that you are running is affected by this update?
Is this entity a Template Sensor?
sensor.count_jacobs_room_lights_on
If it is a Template Sensor, how have you configured it?
-
As a Template Sensor helper via the UI
-
As a Template Sensor via YAML using legacy format (no longer supported in 2026.6.0)
-
As a Template Sensor via YAML using modern format (the only format currently supported)