Fehlermeldung im Log homeassistant.helper.event und frontend.js.latest.202312082

Hallo zusammen,

ich bekomme zwei Fehler im Log, bei denen ich nicht weiterkomme:

  1. Ich weiß warum der Fehler kommt, aber ich kann die Datei nicht finden um den zu korrigieren, in dem Template muss hinter float noch (0), würde ich auch eintragen, aber ich kann den Pfad einfach nicht finden, ich habe alles durchsucht und komme einfach nicht weiter…
Logger: homeassistant.helpers.event
Source: helpers/template.py:571
First occurred: 15:54:08 (1 occurrences)
Last logged: 15:54:08

Error while processing template: Template<template=({{ (states('sensor.power_production_now_3') | float + states('sensor.power_production_now_4') | float + states('sensor.power_production_now_5') | float ) | round(0) }} W) renders=18>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1926, 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 569, in async_render
    render_result = _render_with_context(self.template, compiled, **kwargs)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 2247, in _render_with_context
    return template.render(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.11/site-packages/jinja2/environment.py", line 936, 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 1929, in forgiving_float_filter
    raise_no_default("float", value)
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1627, in raise_no_default
    raise ValueError(
ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ (states('sensor.power_production_now_3') | float + 
            states('sensor.power_production_now_4') | float +
            states('sensor.power_production_now_5') | float  ) | round(0)
        }} W' 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 695, in async_render_to_info
    render_info._result = self.async_render(
                          ^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 571, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: float got invalid input 'unknown' when rendering template '{{ (states('sensor.power_production_now_3') | float + 
            states('sensor.power_production_now_4') | float +
            states('sensor.power_production_now_5') | float  ) | round(0)
        }} W' but no default was specified

  1. Ich denke die ersten beiden Einträge kommen von meinem smartMirror. Da ist ein RasperryPi 3 verbaut, auf dem läuft Rasbian und dort läuft im Chrome Browser ein Dashboard. Wenn ich den Spiegel ausschalte, kommt der Fehler nicht, deswegen denke ich dass der von da kommt?
    Der dritte kommt glaub ich vom der Android App, der kommt,wenn ich die App starte.
    Hat jemand eine Idee, was ich tun kann?
Logger: frontend.js.latest.202312082
Source: components/system_log/__init__.py:300
First occurred: 15:59:10 (7 occurrences)
Last logged: 16:19:15

Uncaught error from Chrome 86.0.4240.197 on Linux armv7l SyntaxError: Unexpected identifier Unexpected identifier::
Uncaught error from Chrome 86.0.4240.197 on Linux armv7l SyntaxError: Unexpected reserved word Unexpected reserved word::
Uncaught error from Chrome WebView 130.0.6723.107 on Android 13 SyntaxError: Unexpected identifier 'month' Unexpected identifier 'month'::