Salut,
pourtant, c’est marquer dans le changelog de HAOS 12.4.
Encore faut-il savoir ce qu’on cherche et où le trouver
C’est vrai que je n’ai pas été voir ce post mais vu que le problème existe depuis un moment (freeze aléatoire) j’étais parti sur un problème lié à Z2M.
Faut reconnaître que trouver une info correspond à lire les logs, écumer les forums, espérer tomber sur un lien intéressant. Donc oui, c’est écrit quelque part mais l’accès n’est pas vraiment direct. Les annonces de version dans HA ne renvoient pas directement à github et font 2 km de scroll. Donc je maintiens, l’info n’est pas évidente à trouver ![]()
Mais je continue d’utiliser HA ![]()
Hello,
suite à nouveau crash, j’ai essayé et regardé plusieurs choses:
- retrait dongle zigbee => pas de réaction
- tentative redémarrage/extinction/rechargement etc depuis HA => refus
- accéder à HA en local => pas d’accès
- lectures de charge Rpi dans HA => processeur 1 à 2% / ram 1.2 Go / 4Go (donc en fait pas de surcharge comme je l’interprétais auparavant)
Au final, j’ai donc coupé l’alim en mode sauvage, comme à chaque fois que ça arrive au final, et fait la modif sur le fichier config comme indiqué. On verra bien.
Par contre, à nouveau, j’ai perdu toutes mes entitées en Zigbee, les noms ne sont plus trouvés sur mqtt.
Pourtant bien présentes dans Z2M et actionnables dessus en direct…
la aussi je bug… je ne sais pas comment tout remettre en ordre ! ![]()
Pour complément, dans MQTT, il a tout renommé en changeant l’id initial:
exemples:
-
celui qui était avant: switch_pompe
-
le nouveau apparu en complément et qui est actif: pompe
Bonjour,
si tu a maj Z2M en 1.39.0, c’est surement un problème de Z2M et la dernière version.
Des personnes ont eu des soucis avec la 1.39.0
merci pour ton retour à ce sujet ![]()
donc en fait, à part attendre on ne peut pas faire grand chose ?!
je tenterais bien un restore mais je ne le sens pas l’histoire…
correctif: j’ai tenté, ça a marché sans erreur à priori ![]()
merciii
il n’y a plus qu’à voir au sujet de ce topic si le changement du fichier config résout le problème de plantage global aléatoire…
à suivre !
Salut @SYLVAIN_MOI
Même souci que toi on dirait…
@WarC0zes m’a répondu sur ce topic avec les mêmes pistes de sources de problème, à savoir le SSD et l’alim. Je dois acheter un SSD non NVMe pour voir si ça aide mais pas le temps de l’en occuper en ce moment…
Salut.
OK merci pour ton retour aussi.
A ce sujet, tu as essayé de ton côté la modif du dossier config à la racine de HA ?
Non mais hier soir j’ai débranché la conbee ii pour pour et pour l’instant j’ai toujours accès à mes appareils wifi. Donc à essayer en effet.
Salut!
Pour info, j’ai suivi les conseils de @WarC0zes en changeant de SSD et tout roule correctement à présent!
Merci @WarC0zes !
Bonjour à vous !
J’ai également des problèmes similaires. Home Assistant de manière inexpliqué crash, enfin, un peu compliquer mais tout les modules complémentaire crash, et le reste marche vite fait, impossible d’aller dans les paramètres mais mon Dashboard marche encore un peu près…
J’ai un Raspberry 4B (4Go), connecter avec un adaptateur NVMe vers la prise USB 3.0, avec une clé Zigbee SONOFF avec une rallonge de environ 1m sur un port USB 2.0
Et je n’arrive pas à comprendre ce foutu problème je vais devenir dingue. J’ai test de modifier le fichier à la racine du disque « config.txt ». J’ai également pour info un disque M2 128GO de chez SanDisk.
Info technique :
Également je suis sur la version 2.4.0-1 de Z2M
Version 6.5.1 de Mosquitto Brocker
et j’ai également comme module complémentaire :
- Advanced SSH
- EspHome
- File Editor
- Music Assistant Server
- Spotify Connect
Merci d’avance
Bonjour,
il faudrait un peu plus d’information, sur le modèle exact du SSD M2 , de l’adaptateur SSD > USB ( la marque/modèle ) et regarder dans le journal de HA, voir si tu a des erreurs.
Hello ! Dans les logs j’ai regarder et regarder mais il y a rien c’est est même perturbant…
Genre j’ai des capteurs de température donc je vois quand HomeAssistant crash, et à chaque fois c’est entre 2 - 3h de matin mais rien dans les logs, rien dans le core / superviser, et même les modules complémentaire type Mosquitto / Z2M
Pour l’adaptateur SSD M.2/NVMe j’ai pris celui-ci : www . amazon . fr / dp / B0BGS3NZ4C
Si jamais c’est un adaptateur Beikell Boîtier SSD M.2 NVME, USB C 3.2 Gen 2.
Pour le SSD c’est un « X400 SSD M/2 2280 128GB » (SD8SN8U-128G-1002).
Il faudrait regarder le fichier home-assistant.log.1 qui est un backup de l’ancien fichier logs quand HA redémarre. Tu le trouves dans /config ou /homeassistant sous file editor.
Regarde l’entité du Vérificateur d’alimentation Raspberry Pi ( dans paramètres / appareils et services ), si tu n’as pas un souci d’alimentation.
Les alimentations, et hardware sont toujours mis en cause dans cette situation,… jamais homeassistant en lui même, personnellement, j’émet un gros doute sur la stabilité du système en lui meme. Bien sur c’est une idée qui ne plaira pas car aucune solution possible,…
Salut,
HA en lui-même n’est pas parfait mais si tu fais le compte des « soucis », le matos et l’utilisateur sont largement en premières positions, le forum est truffé de cas comme celui-ci.
ça s’explique facilement, le DIY ça se fait un des trucs de récup (ancien, performance un peu dépassée, matos exotique) et/ou sans forcement être un expert informatique (multi domaine : prog, réseau etc)…
Les cas où c’est HA qui est en cause, ça existe aussi mais les proportions sont moindres.
Et dans le monde « informatique » (ceux qui gravitent autour en entreprise) l’utilisateur c’est la majorité du temps le point faible.
Bah vous savez quoi, je crois que vous avez raison sur le fait que ce soit le logiciel de Home Assistant qui fait le bazar. Là, dans les dernières 24h, il y a 2 MAJ du Core. Actuellement, la dernière sur laquelle je suis est la 2025.6.3 et deveniez quoi je n’ai pas eu de crash cette nuit !! Une petite victoire qui, en vrai, fait plaisir parce que les crashs réguliers, en plus de faire planter tous mes appareils Zigbee, et vous savez à quel point c’est relou, ça nique toute l’interface, mais bref.
Pour le fichier de log, je le mets à la fin de ce post parce que les centaines de lignes de log ne font pas plaisir. Et ne prête pas attention aux multiples erreurs, il y a deux trois trucs qu’il faut que je révise !
2025-06-25 06:49:28.053 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration tapo_control 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-06-25 06:49:28.056 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-06-25 06:49:28.058 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration pioneer_async 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-06-25 06:49:28.060 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration bambu_lab 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-06-25 06:49:28.062 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration scheduler 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-06-25 06:49:28.064 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration powercalc 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-06-25 06:49:28.066 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration portainer 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-06-25 06:49:35.308 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
orange
{% elif states(entity)| float >= 1500 %}
red
{% endif %}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2443, in forgiving_float_filter
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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2446, in forgiving_float_filter
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unknown' when rendering template '{% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
orange
{% elif states(entity)| float >= 1500 %}
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.py", line 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unknown' when rendering template '{% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
orange
{% elif states(entity)| float >= 1500 %}
red
{% endif %}' but no default was specified
2025-06-25 06:49:35.355 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
darkgreen
{% elif states(entity) | float < 2000 %}
yellow
{% elif states(entity) | float < 3000 %}
gold
{% elif states(entity) | float < 4000 %}
orange
{% elif states(entity) | float < 4999 %}
red
{% elif states(entity)| float >= 5000 %}
darkred
{% elif states(entity)| float > 6000 %}
dark
{% endif %}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2443, in forgiving_float_filter
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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2446, in forgiving_float_filter
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unknown' when rendering template '{% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
darkgreen
{% elif states(entity) | float < 2000 %}
yellow
{% elif states(entity) | float < 3000 %}
gold
{% elif states(entity) | float < 4000 %}
orange
{% elif states(entity) | float < 4999 %}
red
{% elif states(entity)| float >= 5000 %}
darkred
{% elif states(entity)| float > 6000 %}
dark
{% endif %}' but no default was specified
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unknown' when rendering template '{% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
darkgreen
{% elif states(entity) | float < 2000 %}
yellow
{% elif states(entity) | float < 3000 %}
gold
{% elif states(entity) | float < 4000 %}
orange
{% elif states(entity) | float < 4999 %}
red
{% elif states(entity)| float >= 5000 %}
darkred
{% elif states(entity)| float > 6000 %}
dark
{% endif %}' but no default was specified
2025-06-25 06:49:35.369 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% if states(entity) | float <= 1000 %}
{% elif states(entity)| float >= 5900 %}
Coupure de courant proche
{% elif states(entity)| float > 6000 %}
Coupure de courant théorique effective
{% endif %}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2443, in forgiving_float_filter
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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2446, in forgiving_float_filter
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unknown' when rendering template '{% if states(entity) | float <= 1000 %}
{% elif states(entity)| float >= 5900 %}
Coupure de courant proche
{% elif states(entity)| float > 6000 %}
Coupure de courant théorique effective
{% endif %}' but no default was specified
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unknown' when rendering template '{% if states(entity) | float <= 1000 %}
{% elif states(entity)| float >= 5900 %}
Coupure de courant proche
{% elif states(entity)| float > 6000 %}
Coupure de courant théorique effective
{% endif %}' but no default was specified
2025-06-25 06:49:35.441 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states.light.salon.attributes.rgb_color | join(",") }}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, 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)
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.py", line 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: UndefinedError: 'None' has no attribute 'attributes'
2025-06-25 06:49:35.454 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states('sensor.air_quality_sensors2_temperature') | round(0) }}°C / {{ states('sensor.air_quality_sensors2_humidity' ) | round(0) }}% / {{ states('sensor.air_quality_sensors2_co2') | round(0) }}ppm) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1991, 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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1996, in forgiving_round
raise_no_default("round", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: round got invalid input 'unknown' when rendering template '{{ states('sensor.air_quality_sensors2_temperature') | round(0) }}°C / {{ states('sensor.air_quality_sensors2_humidity' ) | round(0) }}% / {{ states('sensor.air_quality_sensors2_co2') | round(0) }}ppm' 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 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: round got invalid input 'unknown' when rendering template '{{ states('sensor.air_quality_sensors2_temperature') | round(0) }}°C / {{ states('sensor.air_quality_sensors2_humidity' ) | round(0) }}% / {{ states('sensor.air_quality_sensors2_co2') | round(0) }}ppm' but no default was specified
2025-06-25 06:49:35.464 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states.light.couloir_de_l_entree.attributes.rgb_color | join(",") }}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, 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)
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.py", line 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: UndefinedError: 'None' has no attribute 'attributes'
2025-06-25 06:49:35.484 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states('sensor.lit_natthan_motion_sensor_temperature') | round(0) }}°C) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1991, 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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1996, in forgiving_round
raise_no_default("round", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: round got invalid input 'unknown' when rendering template '{{ states('sensor.lit_natthan_motion_sensor_temperature') | round(0) }}°C' 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 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: round got invalid input 'unknown' when rendering template '{{ states('sensor.lit_natthan_motion_sensor_temperature') | round(0) }}°C' but no default was specified
2025-06-25 06:49:35.494 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states.light.cuisine.attributes.rgb_color | join(",") }}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, 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)
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.py", line 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: UndefinedError: 'None' has no attribute 'attributes'
2025-06-25 06:49:35.666 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states('sensor.sonoff_smart_temperature_temperature') | round(0) }}°C / {{ states('sensor.sonoff_smart_temperature_humidity' ) | round(0) }}%) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1991, 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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1996, in forgiving_round
raise_no_default("round", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: round got invalid input 'unknown' when rendering template '{{ states('sensor.sonoff_smart_temperature_temperature') | round(0) }}°C / {{ states('sensor.sonoff_smart_temperature_humidity' ) | round(0) }}%' 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 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: round got invalid input 'unknown' when rendering template '{{ states('sensor.sonoff_smart_temperature_temperature') | round(0) }}°C / {{ states('sensor.sonoff_smart_temperature_humidity' ) | round(0) }}%' but no default was specified
2025-06-25 06:49:35.696 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states.light.chambre_natthan.attributes.rgb_color | join(",") }}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, 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)
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.py", line 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: UndefinedError: 'None' has no attribute 'attributes'
2025-06-25 06:49:38.709 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.13/site-packages/google/__init__.py:2: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
__import__('pkg_resources').declare_namespace(__name__)
2025-06-25 06:49:51.035 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.13/site-packages/google/protobuf/runtime_version.py:98: UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older than the runtime version 6.31.1 at api.proto. Please update the gencode to avoid compatibility violations in the next runtime release.
warnings.warn(
2025-06-25 06:49:51.037 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.13/site-packages/google/protobuf/runtime_version.py:98: UserWarning: Protobuf gencode version 5.29.5 is exactly one major version older than the runtime version 6.31.1 at api_options.proto. Please update the gencode to avoid compatibility violations in the next runtime release.
warnings.warn(
2025-06-25 06:49:53.140 ERROR (MainThread) [custom_components.powercalc.sensors.group.custom] Subgroup config entry not found: 01J8YAY6G3WXNAWZZTQ4V4AFNW
2025-06-25 06:49:53.219 ERROR (MainThread) [custom_components.powercalc.sensors.group.custom] Subgroup config entry not found: 01J8YAY6G3WXNAWZZTQ4V4AFNW
2025-06-25 06:49:55.665 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:49:55.833 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.0.126', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f493f2210>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-06-25 06:49:57.054 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for detecteur-mili-1 @ 192.168.0.12: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='192.168.0.12', port=6053))]: [Errno 113] Connect call failed ('192.168.0.12', 6053) (SocketAPIError)
2025-06-25 06:49:57.398 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:50:02.189 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:50:03.600 WARNING (MainThread) [homeassistant.components.light] Setup of light platform hue is taking over 10 seconds.
2025-06-25 06:50:06.961 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:50:11.729 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:50:16.492 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:50:21.255 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:50:21.513 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% set SALON = states('sensor.air_quality_sensors2_temperature') | float %}
{% set LIT = states('sensor.lit_natthan_motion_sensor_temperature') | float %}
{% set SONOFF = states('sensor.th_cuisine_temperature') | float %}
{{ ((SALON+LIT+SONOFF) / 3) | round(2,default=0) }}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2443, 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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, 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 3, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2446, in forgiving_float_filter
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% set SALON = states('sensor.air_quality_sensors2_temperature') | float %}
{% set LIT = states('sensor.lit_natthan_motion_sensor_temperature') | float %}
{% set SONOFF = states('sensor.th_cuisine_temperature') | float %}
{{ ((SALON+LIT+SONOFF) / 3) | round(2,default=0) }}' 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 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% set SALON = states('sensor.air_quality_sensors2_temperature') | float %}
{% set LIT = states('sensor.lit_natthan_motion_sensor_temperature') | float %}
{% set SONOFF = states('sensor.th_cuisine_temperature') | float %}
{{ ((SALON+LIT+SONOFF) / 3) | round(2,default=0) }}' but no default was specified
2025-06-25 06:50:21.521 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% set SALON = states('sensor.air_quality_sensors2_temperature') | float %}
{% set LIT = states('sensor.lit_natthan_motion_sensor_temperature') | float %}
{% set SONOFF = states('sensor.th_cuisine_temperature') | float %}
{{ ((SALON+LIT+SONOFF) / 3) | round(2,default=0) }}' but no default was specified') while processing template 'Template<template=({% set SALON = states('sensor.air_quality_sensors2_temperature') | float %}
{% set LIT = states('sensor.lit_natthan_motion_sensor_temperature') | float %}
{% set SONOFF = states('sensor.th_cuisine_temperature') | float %}
{{ ((SALON+LIT+SONOFF) / 3) | round(2,default=0) }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.temperature_moy_maison'
2025-06-25 06:50:21.522 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% set SALON = states('sensor.air_quality_sensors2_humidity') | float %}
{% set SONOFF = states('sensor.th_cuisine_humidity') | float %}
{{ ((SALON+SONOFF) / 2) | round(2,default=0) }}) renders=2>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2443, 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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, 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.py", line 2446, in forgiving_float_filter
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% set SALON = states('sensor.air_quality_sensors2_humidity') | float %}
{% set SONOFF = states('sensor.th_cuisine_humidity') | float %}
{{ ((SALON+SONOFF) / 2) | round(2,default=0) }}' 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 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% set SALON = states('sensor.air_quality_sensors2_humidity') | float %}
{% set SONOFF = states('sensor.th_cuisine_humidity') | float %}
{{ ((SALON+SONOFF) / 2) | round(2,default=0) }}' but no default was specified
2025-06-25 06:50:21.530 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% set SALON = states('sensor.air_quality_sensors2_humidity') | float %}
{% set SONOFF = states('sensor.th_cuisine_humidity') | float %}
{{ ((SALON+SONOFF) / 2) | round(2,default=0) }}' but no default was specified') while processing template 'Template<template=({% set SALON = states('sensor.air_quality_sensors2_humidity') | float %}
{% set SONOFF = states('sensor.th_cuisine_humidity') | float %}
{{ ((SALON+SONOFF) / 2) | round(2,default=0) }}) renders=4>' for attribute '_attr_native_value' in entity 'sensor.humidite_moy_maison'
2025-06-25 06:50:21.562 WARNING (MainThread) [custom_components.powercalc.strategy.wled] light.meuble_tele_wled: Estimated current entity sensor.meuble_tele_wled_courant_estime is not available
2025-06-25 06:50:21.703 WARNING (MainThread) [custom_components.hacs] You have 'custom-cards/bar-card' installed with HACS this repository has been removed from HACS, please consider removing it. Removal reason (Repository is no longer maintained)
2025-06-25 06:50:25.356 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.0.126', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5e37de50>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-06-25 06:50:26.187 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:50:31.157 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:50:35.154 WARNING (MainThread) [homeassistant.components.nmap_tracker] No MAC address found for 192.168.0.14
2025-06-25 06:50:35.915 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:50:38.910 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.0.126', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3fc76ad0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-06-25 06:50:40.677 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:50:45.521 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:50:50.665 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:50:55.432 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:51:00.225 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:51:02.335 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.0.126', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f431b42d0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-06-25 06:51:05.001 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:51:09.768 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:51:14.540 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:51:19.302 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:51:24.073 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:51:28.867 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:51:33.639 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:51:38.414 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:51:43.165 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:51:45.536 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.0.126', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3f307750>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-06-25 06:51:47.951 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:51:52.712 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:51:57.488 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:52:02.257 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:52:07.026 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:52:11.780 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:52:16.550 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:52:21.326 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:52:26.097 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:52:30.880 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:52:34.090 WARNING (MainThread) [homeassistant.components.nmap_tracker] No MAC address found for 192.168.0.14
2025-06-25 06:52:35.666 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:52:40.432 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:52:40.753 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
darkgreen
{% elif states(entity) | float < 2000 %}
yellow
{% elif states(entity) | float < 3000 %}
gold
{% elif states(entity) | float < 4000 %}
orange
{% elif states(entity) | float < 4999 %}
red
{% elif states(entity)| float >= 5000 %}
darkred
{% elif states(entity)| float > 6000 %}
dark
{% endif %}) renders=8>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2443, 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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2446, in forgiving_float_filter
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
darkgreen
{% elif states(entity) | float < 2000 %}
yellow
{% elif states(entity) | float < 3000 %}
gold
{% elif states(entity) | float < 4000 %}
orange
{% elif states(entity) | float < 4999 %}
red
{% elif states(entity)| float >= 5000 %}
darkred
{% elif states(entity)| float > 6000 %}
dark
{% endif %}' but no default was specified
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
darkgreen
{% elif states(entity) | float < 2000 %}
yellow
{% elif states(entity) | float < 3000 %}
gold
{% elif states(entity) | float < 4000 %}
orange
{% elif states(entity) | float < 4999 %}
red
{% elif states(entity)| float >= 5000 %}
darkred
{% elif states(entity)| float > 6000 %}
dark
{% endif %}' but no default was specified
2025-06-25 06:52:40.760 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% if states(entity) | float <= 1000 %}
{% elif states(entity)| float >= 5900 %}
Coupure de courant proche
{% elif states(entity)| float > 6000 %}
Coupure de courant théorique effective
{% endif %}) renders=8>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2443, 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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2446, in forgiving_float_filter
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if states(entity) | float <= 1000 %}
{% elif states(entity)| float >= 5900 %}
Coupure de courant proche
{% elif states(entity)| float > 6000 %}
Coupure de courant théorique effective
{% endif %}' but no default was specified
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if states(entity) | float <= 1000 %}
{% elif states(entity)| float >= 5900 %}
Coupure de courant proche
{% elif states(entity)| float > 6000 %}
Coupure de courant théorique effective
{% endif %}' but no default was specified
2025-06-25 06:52:40.795 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states.light.salon.attributes.rgb_color | join(",") }}) renders=8>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, 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/async_utils.py", line 48, in wrapper
return normal_func(*args, **kwargs)
File "/usr/local/lib/python3.13/site-packages/jinja2/filters.py", line 612, in sync_do_join
return str(d).join(map(str, value))
~~~^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
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 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: TypeError: 'NoneType' object is not iterable
2025-06-25 06:52:40.811 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states.light.couloir_de_l_entree.attributes.rgb_color | join(",") }}) renders=8>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, 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/async_utils.py", line 48, in wrapper
return normal_func(*args, **kwargs)
File "/usr/local/lib/python3.13/site-packages/jinja2/filters.py", line 612, in sync_do_join
return str(d).join(map(str, value))
~~~^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
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 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: TypeError: 'NoneType' object is not iterable
2025-06-25 06:52:40.826 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states('sensor.sonoff_smart_temperature_temperature') | round(0) }}°C / {{ states('sensor.sonoff_smart_temperature_humidity' ) | round(0) }}%) renders=6>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1991, 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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1996, in forgiving_round
raise_no_default("round", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: round got invalid input 'unknown' when rendering template '{{ states('sensor.sonoff_smart_temperature_temperature') | round(0) }}°C / {{ states('sensor.sonoff_smart_temperature_humidity' ) | round(0) }}%' 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 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: round got invalid input 'unknown' when rendering template '{{ states('sensor.sonoff_smart_temperature_temperature') | round(0) }}°C / {{ states('sensor.sonoff_smart_temperature_humidity' ) | round(0) }}%' but no default was specified
2025-06-25 06:52:41.318 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
darkgreen
{% elif states(entity) | float < 2000 %}
yellow
{% elif states(entity) | float < 3000 %}
gold
{% elif states(entity) | float < 4000 %}
orange
{% elif states(entity) | float < 4999 %}
red
{% elif states(entity)| float >= 5000 %}
darkred
{% elif states(entity)| float > 6000 %}
dark
{% endif %}) renders=12>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2443, 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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2446, in forgiving_float_filter
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
darkgreen
{% elif states(entity) | float < 2000 %}
yellow
{% elif states(entity) | float < 3000 %}
gold
{% elif states(entity) | float < 4000 %}
orange
{% elif states(entity) | float < 4999 %}
red
{% elif states(entity)| float >= 5000 %}
darkred
{% elif states(entity)| float > 6000 %}
dark
{% endif %}' but no default was specified
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
darkgreen
{% elif states(entity) | float < 2000 %}
yellow
{% elif states(entity) | float < 3000 %}
gold
{% elif states(entity) | float < 4000 %}
orange
{% elif states(entity) | float < 4999 %}
red
{% elif states(entity)| float >= 5000 %}
darkred
{% elif states(entity)| float > 6000 %}
dark
{% endif %}' but no default was specified
2025-06-25 06:52:41.324 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% if states(entity) | float <= 1000 %}
{% elif states(entity)| float >= 5900 %}
Coupure de courant proche
{% elif states(entity)| float > 6000 %}
Coupure de courant théorique effective
{% endif %}) renders=12>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2443, 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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2446, in forgiving_float_filter
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if states(entity) | float <= 1000 %}
{% elif states(entity)| float >= 5900 %}
Coupure de courant proche
{% elif states(entity)| float > 6000 %}
Coupure de courant théorique effective
{% endif %}' but no default was specified
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if states(entity) | float <= 1000 %}
{% elif states(entity)| float >= 5900 %}
Coupure de courant proche
{% elif states(entity)| float > 6000 %}
Coupure de courant théorique effective
{% endif %}' but no default was specified
2025-06-25 06:52:41.426 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states.light.salon.attributes.rgb_color | join(",") }}) renders=12>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, 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/async_utils.py", line 48, in wrapper
return normal_func(*args, **kwargs)
File "/usr/local/lib/python3.13/site-packages/jinja2/filters.py", line 612, in sync_do_join
return str(d).join(map(str, value))
~~~^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
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 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: TypeError: 'NoneType' object is not iterable
2025-06-25 06:52:41.441 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states.light.couloir_de_l_entree.attributes.rgb_color | join(",") }}) renders=12>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, 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/async_utils.py", line 48, in wrapper
return normal_func(*args, **kwargs)
File "/usr/local/lib/python3.13/site-packages/jinja2/filters.py", line 612, in sync_do_join
return str(d).join(map(str, value))
~~~^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
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 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: TypeError: 'NoneType' object is not iterable
2025-06-25 06:52:41.452 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states('sensor.sonoff_smart_temperature_temperature') | round(0) }}°C / {{ states('sensor.sonoff_smart_temperature_humidity' ) | round(0) }}%) renders=10>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1991, 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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1996, in forgiving_round
raise_no_default("round", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: round got invalid input 'unknown' when rendering template '{{ states('sensor.sonoff_smart_temperature_temperature') | round(0) }}°C / {{ states('sensor.sonoff_smart_temperature_humidity' ) | round(0) }}%' 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 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: round got invalid input 'unknown' when rendering template '{{ states('sensor.sonoff_smart_temperature_temperature') | round(0) }}°C / {{ states('sensor.sonoff_smart_temperature_humidity' ) | round(0) }}%' but no default was specified
2025-06-25 06:52:42.055 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
darkgreen
{% elif states(entity) | float < 2000 %}
yellow
{% elif states(entity) | float < 3000 %}
gold
{% elif states(entity) | float < 4000 %}
orange
{% elif states(entity) | float < 4999 %}
red
{% elif states(entity)| float >= 5000 %}
darkred
{% elif states(entity)| float > 6000 %}
dark
{% endif %}) renders=16>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2443, 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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2446, in forgiving_float_filter
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
darkgreen
{% elif states(entity) | float < 2000 %}
yellow
{% elif states(entity) | float < 3000 %}
gold
{% elif states(entity) | float < 4000 %}
orange
{% elif states(entity) | float < 4999 %}
red
{% elif states(entity)| float >= 5000 %}
darkred
{% elif states(entity)| float > 6000 %}
dark
{% endif %}' but no default was specified
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
darkgreen
{% elif states(entity) | float < 2000 %}
yellow
{% elif states(entity) | float < 3000 %}
gold
{% elif states(entity) | float < 4000 %}
orange
{% elif states(entity) | float < 4999 %}
red
{% elif states(entity)| float >= 5000 %}
darkred
{% elif states(entity)| float > 6000 %}
dark
{% endif %}' but no default was specified
2025-06-25 06:52:42.062 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% if states(entity) | float <= 1000 %}
{% elif states(entity)| float >= 5900 %}
Coupure de courant proche
{% elif states(entity)| float > 6000 %}
Coupure de courant théorique effective
{% endif %}) renders=16>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2443, 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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2446, in forgiving_float_filter
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if states(entity) | float <= 1000 %}
{% elif states(entity)| float >= 5900 %}
Coupure de courant proche
{% elif states(entity)| float > 6000 %}
Coupure de courant théorique effective
{% endif %}' but no default was specified
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if states(entity) | float <= 1000 %}
{% elif states(entity)| float >= 5900 %}
Coupure de courant proche
{% elif states(entity)| float > 6000 %}
Coupure de courant théorique effective
{% endif %}' but no default was specified
2025-06-25 06:52:42.087 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states.light.salon.attributes.rgb_color | join(",") }}) renders=16>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, 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/async_utils.py", line 48, in wrapper
return normal_func(*args, **kwargs)
File "/usr/local/lib/python3.13/site-packages/jinja2/filters.py", line 612, in sync_do_join
return str(d).join(map(str, value))
~~~^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
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 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: TypeError: 'NoneType' object is not iterable
2025-06-25 06:52:42.093 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states.light.couloir_de_l_entree.attributes.rgb_color | join(",") }}) renders=16>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, 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/async_utils.py", line 48, in wrapper
return normal_func(*args, **kwargs)
File "/usr/local/lib/python3.13/site-packages/jinja2/filters.py", line 612, in sync_do_join
return str(d).join(map(str, value))
~~~^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
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 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: TypeError: 'NoneType' object is not iterable
2025-06-25 06:52:42.103 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states('sensor.sonoff_smart_temperature_temperature') | round(0) }}°C / {{ states('sensor.sonoff_smart_temperature_humidity' ) | round(0) }}%) renders=14>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1991, 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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1996, in forgiving_round
raise_no_default("round", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: round got invalid input 'unknown' when rendering template '{{ states('sensor.sonoff_smart_temperature_temperature') | round(0) }}°C / {{ states('sensor.sonoff_smart_temperature_humidity' ) | round(0) }}%' 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 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: round got invalid input 'unknown' when rendering template '{{ states('sensor.sonoff_smart_temperature_temperature') | round(0) }}°C / {{ states('sensor.sonoff_smart_temperature_humidity' ) | round(0) }}%' but no default was specified
2025-06-25 06:52:45.192 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:52:49.963 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:52:54.741 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:52:59.531 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:53:04.326 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:53:09.023 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.0.126', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3e0ff390>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-06-25 06:53:09.095 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:53:13.868 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:53:18.640 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:53:23.452 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:53:28.240 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:53:33.044 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:53:35.959 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
darkgreen
{% elif states(entity) | float < 2000 %}
yellow
{% elif states(entity) | float < 3000 %}
gold
{% elif states(entity) | float < 4000 %}
orange
{% elif states(entity) | float < 4999 %}
red
{% elif states(entity)| float >= 5000 %}
darkred
{% elif states(entity)| float > 6000 %}
dark
{% endif %}) renders=20>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2443, 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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2446, in forgiving_float_filter
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
darkgreen
{% elif states(entity) | float < 2000 %}
yellow
{% elif states(entity) | float < 3000 %}
gold
{% elif states(entity) | float < 4000 %}
orange
{% elif states(entity) | float < 4999 %}
red
{% elif states(entity)| float >= 5000 %}
darkred
{% elif states(entity)| float > 6000 %}
dark
{% endif %}' but no default was specified
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
darkgreen
{% elif states(entity) | float < 2000 %}
yellow
{% elif states(entity) | float < 3000 %}
gold
{% elif states(entity) | float < 4000 %}
orange
{% elif states(entity) | float < 4999 %}
red
{% elif states(entity)| float >= 5000 %}
darkred
{% elif states(entity)| float > 6000 %}
dark
{% endif %}' but no default was specified
2025-06-25 06:53:35.966 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% if states(entity) | float <= 1000 %}
{% elif states(entity)| float >= 5900 %}
Coupure de courant proche
{% elif states(entity)| float > 6000 %}
Coupure de courant théorique effective
{% endif %}) renders=20>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2443, 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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2446, in forgiving_float_filter
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if states(entity) | float <= 1000 %}
{% elif states(entity)| float >= 5900 %}
Coupure de courant proche
{% elif states(entity)| float > 6000 %}
Coupure de courant théorique effective
{% endif %}' but no default was specified
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if states(entity) | float <= 1000 %}
{% elif states(entity)| float >= 5900 %}
Coupure de courant proche
{% elif states(entity)| float > 6000 %}
Coupure de courant théorique effective
{% endif %}' but no default was specified
2025-06-25 06:53:37.834 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:53:40.881 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:53:43.954 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:53:47.026 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:53:50.107 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:53:53.164 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:53:56.241 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:53:59.314 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:54:02.377 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:54:05.478 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:54:08.532 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:54:11.606 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:54:14.673 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:54:17.752 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:54:20.817 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:54:23.888 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:54:26.983 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:54:30.027 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:54:32.456 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.0.126', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3e0fcf50>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-06-25 06:54:33.125 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:54:35.426 WARNING (MainThread) [homeassistant.components.nmap_tracker] No MAC address found for 192.168.0.14
2025-06-25 06:54:36.171 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:54:39.262 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:54:42.331 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:54:45.395 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:54:48.458 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:54:51.537 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:54:54.605 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:54:57.684 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:55:00.751 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:55:03.822 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:55:06.926 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:55:09.968 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:55:13.039 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:55:16.108 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:55:19.185 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:55:22.255 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:55:25.331 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:55:28.402 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:55:31.473 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:55:34.542 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:55:37.631 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:55:40.693 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:55:43.761 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:55:46.823 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:55:49.898 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:55:52.982 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:55:55.872 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.0.126', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3e0fd6d0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-06-25 06:55:56.052 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:55:59.121 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:56:02.183 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:56:05.266 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:56:08.355 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:56:11.407 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:56:14.473 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:56:17.556 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:56:20.620 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:56:23.695 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:56:26.770 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:56:29.836 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:56:32.905 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:56:34.970 WARNING (MainThread) [homeassistant.components.nmap_tracker] No MAC address found for 192.168.0.14
2025-06-25 06:56:35.982 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:56:39.072 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:56:42.128 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:56:45.195 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:56:48.269 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:56:51.335 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:56:54.410 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:56:57.479 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:57:00.548 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:57:03.629 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:57:06.710 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:57:09.790 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:57:12.852 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:57:15.914 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:57:18.994 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:57:19.295 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.0.126', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3f305090>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-06-25 06:57:22.057 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:57:25.137 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:57:28.200 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:57:31.285 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:57:34.346 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:57:37.427 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:57:40.510 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:57:43.562 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:57:46.643 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:57:49.714 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:57:52.782 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:57:55.858 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:57:58.919 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:58:01.997 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:58:05.068 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:58:08.136 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:58:11.235 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:58:14.296 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:58:17.360 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:58:20.431 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:58:23.489 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:58:26.578 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:58:29.641 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:58:32.718 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:58:35.792 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:58:36.094 WARNING (MainThread) [homeassistant.components.nmap_tracker] No MAC address found for 192.168.0.14
2025-06-25 06:58:38.865 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:58:41.939 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:58:42.692 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.0.126', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3f306fd0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-06-25 06:58:45.001 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:58:48.078 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:58:51.142 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:58:52.558 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
darkgreen
{% elif states(entity) | float < 2000 %}
yellow
{% elif states(entity) | float < 3000 %}
gold
{% elif states(entity) | float < 4000 %}
orange
{% elif states(entity) | float < 4999 %}
red
{% elif states(entity)| float >= 5000 %}
darkred
{% elif states(entity)| float > 6000 %}
dark
{% endif %}) renders=24>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2443, 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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2446, in forgiving_float_filter
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
darkgreen
{% elif states(entity) | float < 2000 %}
yellow
{% elif states(entity) | float < 3000 %}
gold
{% elif states(entity) | float < 4000 %}
orange
{% elif states(entity) | float < 4999 %}
red
{% elif states(entity)| float >= 5000 %}
darkred
{% elif states(entity)| float > 6000 %}
dark
{% endif %}' but no default was specified
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if states(entity) | float <= 1000 %}
green
{% elif states(entity) | float < 1500 %}
darkgreen
{% elif states(entity) | float < 2000 %}
yellow
{% elif states(entity) | float < 3000 %}
gold
{% elif states(entity) | float < 4000 %}
orange
{% elif states(entity) | float < 4999 %}
red
{% elif states(entity)| float >= 5000 %}
darkred
{% elif states(entity)| float > 6000 %}
dark
{% endif %}' but no default was specified
2025-06-25 06:58:52.566 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({% if states(entity) | float <= 1000 %}
{% elif states(entity)| float >= 5900 %}
Coupure de courant proche
{% elif states(entity)| float > 6000 %}
Coupure de courant théorique effective
{% endif %}) renders=24>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2443, 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.py", line 644, in async_render
render_result = _render_with_context(self.template, compiled, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2969, in _render_with_context
return template.render(**kwargs)
~~~~~~~~~~~~~~~^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 1, in top-level template code
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2446, in forgiving_float_filter
raise_no_default("float", value)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1972, in raise_no_default
raise ValueError(
...<2 lines>...
)
ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if states(entity) | float <= 1000 %}
{% elif states(entity)| float >= 5900 %}
Coupure de courant proche
{% elif states(entity)| float > 6000 %}
Coupure de courant théorique effective
{% endif %}' but no default was specified
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 761, in async_render_to_info
render_info._result = self.async_render( # noqa: SLF001
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
variables, strict=strict, log_fn=log_fn, **kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 646, in async_render
raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% if states(entity) | float <= 1000 %}
{% elif states(entity)| float >= 5900 %}
Coupure de courant proche
{% elif states(entity)| float > 6000 %}
Coupure de courant théorique effective
{% endif %}' but no default was specified
2025-06-25 06:58:54.226 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:58:57.295 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:59:00.358 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:59:03.453 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:59:06.506 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:59:09.589 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:59:12.668 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:59:15.719 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:59:18.790 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:59:21.856 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:59:24.943 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:59:28.033 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:59:31.087 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:59:34.161 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:59:37.223 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:59:40.304 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:59:43.390 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:59:46.460 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:59:49.511 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:59:50.890 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /addons/45df7312_zigbee2mqtt/stats - Container addon_45df7312_zigbee2mqtt is not running
2025-06-25 06:59:52.595 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:59:55.659 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 06:59:58.739 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:00:01.889 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:00:04.880 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:00:06.047 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.0.126', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3e0fee90>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-06-25 07:00:07.946 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:00:11.069 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:00:14.143 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:00:17.215 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:00:20.249 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:00:23.307 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:00:26.390 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:00:26.745 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /addons/45df7312_zigbee2mqtt/stats - Container addon_45df7312_zigbee2mqtt is not running
2025-06-25 07:00:29.459 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:00:32.532 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:00:35.591 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:00:36.182 WARNING (MainThread) [homeassistant.components.nmap_tracker] No MAC address found for 192.168.0.14
2025-06-25 07:00:38.677 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:00:41.737 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:00:44.837 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:00:47.876 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:00:50.960 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:00:54.027 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:00:57.104 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:01:00.169 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:01:03.242 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:01:06.319 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:01:09.392 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:01:10.330 WARNING (MainThread) [homeassistant.components.automation.linky] Home Lab | Linky: Already running
2025-06-25 07:01:10.687 WARNING (MainThread) [homeassistant.components.automation.linky] Home Lab | Linky: Already running
2025-06-25 07:01:10.900 ERROR (MainThread) [homeassistant.components.mqtt.select] Invalid option for select.th_cuisine_temperature_units: 'Celsius' (valid options: ['celsius', 'fahrenheit'])
2025-06-25 07:01:12.469 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:01:15.554 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:01:18.603 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:01:21.681 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:01:24.755 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:01:27.824 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:01:29.247 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.0.126', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3e0fd1d0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-06-25 07:01:30.892 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:01:33.972 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:01:37.034 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:01:40.116 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:01:43.185 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:01:46.281 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:01:49.325 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:01:52.397 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:01:55.473 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:01:58.533 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:02:01.619 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:02:04.685 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:02:07.752 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:02:10.831 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:02:13.904 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:02:17.005 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:02:20.053 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:02:23.117 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:02:26.195 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:02:29.249 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:02:32.327 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:02:35.403 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:02:37.030 WARNING (MainThread) [homeassistant.components.nmap_tracker] No MAC address found for 192.168.0.14
2025-06-25 07:02:38.474 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:02:41.602 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:02:44.617 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:02:47.701 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:02:50.750 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:02:52.417 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.0.126', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3e0ff110>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-06-25 07:02:53.822 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:02:56.898 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:02:59.971 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:03:03.044 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:03:06.117 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:03:09.192 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:03:11.729 ERROR (MainThread) [homeassistant.components.mqtt.select] Invalid option for select.th_cuisine_temperature_units: 'Celsius' (valid options: ['celsius', 'fahrenheit'])
2025-06-25 07:03:12.271 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:03:15.323 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:03:18.424 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:03:21.482 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:03:24.580 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:03:27.640 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:03:30.768 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:03:33.854 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:03:36.959 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:03:40.048 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:03:43.124 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:03:46.247 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:03:49.360 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:03:52.282 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:03:55.294 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:03:58.407 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:04:01.504 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:04:04.602 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:04:07.711 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:04:10.835 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:04:13.914 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:04:15.903 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.0.126', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3e0fd590>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-06-25 07:04:17.016 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:04:20.175 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:04:23.195 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:04:26.009 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:04:29.083 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:04:32.149 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:04:33.410 WARNING (MainThread) [homeassistant.components.nmap_tracker] No MAC address found for 192.168.0.14
2025-06-25 07:04:35.218 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:04:38.285 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:04:41.359 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:04:44.429 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:04:47.500 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:04:50.603 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:04:53.648 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:04:56.724 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:04:59.782 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:05:02.865 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:05:05.935 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:05:09.003 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:05:12.072 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:05:15.147 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:05:18.220 WARNING (A1MINI-Mqtt-146) [custom_components.bambu_lab.pybambu] On Disconnect: Printer disconnected with error code: 5
2025-06-25 07:05:39.391 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.0.126', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f46d36710>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-06-25 07:06:35.603 WARNING (MainThread) [homeassistant.components.nmap_tracker] No MAC address found for 192.168.0.14
2025-06-25 07:07:02.719 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.0.126', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f46d374d0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-06-25 07:08:26.015 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.0.126', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f46d37390>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-06-25 07:08:37.062 WARNING (MainThread) [homeassistant.components.nmap_tracker] No MAC address found for 192.168.0.14
2025-06-25 07:09:49.438 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.0.126', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f46778050>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-06-25 07:10:34.319 WARNING (MainThread) [homeassistant.components.nmap_tracker] No MAC address found for 192.168.0.14
2025-06-25 07:11:12.991 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.0.126', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f467796d0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-06-25 07:12:33.095 WARNING (MainThread) [homeassistant.components.nmap_tracker] No MAC address found for 192.168.0.14
2025-06-25 07:12:36.511 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.0.126', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f46d374d0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2025-06-25 07:13:11.963 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% set SALON = states('sensor.air_quality_sensors2_humidity') | float %}
{% set SONOFF = states('sensor.th_cuisine_humidity') | float %}
{{ ((SALON+SONOFF) / 2) | round(2,default=0) }}' but no default was specified') while processing template 'Template<template=({% set SALON = states('sensor.air_quality_sensors2_humidity') | float %}
{% set SONOFF = states('sensor.th_cuisine_humidity') | float %}
{{ ((SALON+SONOFF) / 2) | round(2,default=0) }}) renders=544>' for attribute '_attr_native_value' in entity 'sensor.humidite_moy_maison'
2025-06-25 07:13:11.967 WARNING (MainThread) [homeassistant.components.automation.linky] Home Lab | Linky: Already running
2025-06-25 07:13:11.971 ERROR (MainThread) [homeassistant.components.template.template_entity] TemplateError('ValueError: Template error: float got invalid input 'unavailable' when rendering template '{% set SALON = states('sensor.air_quality_sensors2_temperature') | float %}
{% set LIT = states('sensor.lit_natthan_motion_sensor_temperature') | float %}
{% set SONOFF = states('sensor.th_cuisine_temperature') | float %}
{{ ((SALON+LIT+SONOFF) / 3) | round(2,default=0) }}' but no default was specified') while processing template 'Template<template=({% set SALON = states('sensor.air_quality_sensors2_temperature') | float %}
{% set LIT = states('sensor.lit_natthan_motion_sensor_temperature') | float %}
{% set SONOFF = states('sensor.th_cuisine_temperature') | float %}
{{ ((SALON+LIT+SONOFF) / 3) | round(2,default=0) }}) renders=510>' for attribute '_attr_native_value' in entity 'sensor.temperature_moy_maison'
J’ai également oublié de préciser, mais pour ce qui est de l’alimentation du Raspberry sur les capteurs de Home Assistant, tout va très bien :
Il faut que tu mettes |float(0) au lieu de |float, ça t’évitera ces erreurs Template error: float got invalid input 'unavailable' when rendering template.
La seule façon d’être certain de ça, c’est de regarder les logs avant le crash.
Et le nombre de versions ou la vitesse des releases sont deux indicateurs qui ne sont pas vraiment un critère fiable.







