Merci pour votre réponse.
Avec la solution de Nothing j’ai ça comme erreur avec la vérification de config.
et en corrigeant les deux espaces manquant pas d’erreur à la vérif de config mais erreur dans les logs.
Enregistreur: homeassistant.components.template.template_entity
Source: components/template/template_entity.py:199
intégration: Template (documentation, problèmes)
S'est produit pour la première fois: 17:56:47 (4 occurrences)
Dernier enregistrement: 17:56:47
TemplateError('ValueError: Template error: float got invalid input 'None' when rendering template '{{ state_attr('sensor.temperature_minimale', 'min_value') | float | round(1) }}' but no default was specified') while processing template 'Template<template=({{ state_attr('sensor.temperature_minimale', 'min_value') | float | round(1) }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.temperature_min_formatted'
TemplateError('ValueError: Template error: as_timestamp got invalid input 'None' when rendering template '{{ state_attr('sensor.temperature_minimale', 'min_time') | as_timestamp | timestamp_custom('%d %b %Y %H:%M') }}' but no default was specified') while processing template 'Template<template=({{ state_attr('sensor.temperature_minimale', 'min_time') | as_timestamp | timestamp_custom('%d %b %Y %H:%M') }}) renders=4>' for attribute 'date_time' in entity 'sensor.temperature_min_formatted'
TemplateError('ValueError: Template error: float got invalid input 'None' when rendering template '{{ state_attr('sensor.temperature_maximale', 'max_value') | float | round(1) }}' but no default was specified') while processing template 'Template<template=({{ state_attr('sensor.temperature_maximale', 'max_value') | float | round(1) }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.temperature_max_formatted'
TemplateError('ValueError: Template error: as_timestamp got invalid input 'None' when rendering template '{{ state_attr('sensor.temperature_maximale', 'max_time') | as_timestamp | timestamp_custom('%d %b %Y %H:%M') }}' but no default was specified') while processing template 'Template<template=({{ state_attr('sensor.temperature_maximale', 'max_time') | as_timestamp | timestamp_custom('%d %b %Y %H:%M') }}) renders=4>' for attribute 'date_time' in entity 'sensor.temperature_max_formatted'
et
Enregistreur: homeassistant.helpers.event
Source: helpers/template.py:575
S'est produit pour la première fois: 17:56:47 (4 occurrences)
Dernier enregistrement: 17:56:47
Error while processing template: Template<template=({{ state_attr('sensor.temperature_minimale', 'min_value') | float | round(1) }}) renders=2>
Error while processing template: Template<template=({{ state_attr('sensor.temperature_minimale', 'min_time') | as_timestamp | timestamp_custom('%d %b %Y %H:%M') }}) renders=2>
Error while processing template: Template<template=({{ state_attr('sensor.temperature_maximale', 'max_value') | float | round(1) }}) renders=2>
Error while processing template: Template<template=({{ state_attr('sensor.temperature_maximale', 'max_time') | as_timestamp | timestamp_custom('%d %b %Y %H:%M') }}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2037, in forgiving_float_filter
return 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.py", line 573, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2364, in _render_with_context
return template.render(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2040, in forgiving_float_filter
raise_no_default("float", value)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1668, in raise_no_default
raise ValueError(
ValueError: Template error: float got invalid input 'None' when rendering template '{{ state_attr('sensor.temperature_minimale', 'min_value') | float | round(1) }}' but no default was specified
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 699, in async_render_to_info
render_info._result = self.async_render(
^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 575, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'None' when rendering template '{{ state_attr('sensor.temperature_minimale', 'min_value') | float | round(1) }}' but no default was specified