Can someone help me
My sensor template no longer works since the update to 2023.
I have a template to calculate the air jerk at 600m
and now get the following error that I can not solve
- platform: template
sensors:
pressure_luftdruck:
unit_of_measurement: ‘hPa’
value_template: >-
{{ (states(‘sensor.aqara_temp_outside_pressure’)|float / (1-0.0065*611/ (states(‘sensor.aqara_temp_outside_temperature’)|float + 273.15 )) ** (5.255)) |round(1) }}
Error message
Logger: homeassistant.helpers.template_entity
Source: helpers/template_entity.py:364
First occurred: 10:28:35 (1 occurrences)
Last logged: 10:28:35
TemplateError('ValueError: Template error: float got invalid input ‘unknown’ when rendering template ‘{{ (states(‘sensor.aqara_temp_outside_pressure’)|float / (1-0.0065611/ (states(‘sensor.aqara_temp_outside_temperature’)|float + 273.15 )) ** (5.255)) |round(1) }}’ but no default was specified’) while processing template 'Template("{{ (states(‘sensor.aqara_temp_outside_pressure’)|float / (1-0.0065611/ (states(‘sensor.aqara_temp_outside_temperature’)|float + 273.15 )) ** (5.255)) |round(1) }}")’ for attribute ‘_attr_native_value’ in entity ‘sensor.pressure_luftdruck’