Do I have to take care of errors in the log file if everything is working ?
for example
ValueError: Template error: int got invalid input ‘unknown’ when rendering template ‘{{ ‘yellow’ if states(“sensor.energy_socket_5c2faf0313f6_active_power”) | int > 2 else [36,36,36] }}’ but no default was specified
homeassistant.exceptions.TemplateError: ValueError: Template error: int got invalid input ‘unknown’ when rendering template ‘{{ “mdi:dishwasher-alert” if states(“sensor.energy_socket_5c2faf0313f6_active_power”) | int > 2 else “mdi:dishwasher” }}’ but no default was specified
2024-01-08 16:51:22.492 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template<template=({{ states(‘sensor.indoor_temperature’) | round(1) }} °C) renders=2>
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/helpers/template.py”, line 1646, in forgiving_round
value = round(float(value), precision)
^^^^^^^^^^^^
ValueError: could not convert string to float: ‘unknown’
What is wrong here ?