Hi
I have the following problem :
I want a temperature offset for a sensor
In the developers tools (template)
- platform: template
sensors:
keuken_temperatuur:
friendly_name: 'Keuken temperatuur'
unit_of_measurement: "°C"
value_template: {{ ((states.sensor.lumi_lumi_airmonitor_acn01_temperature.state | float) -1.8) | round(1) }}
Result
- platform: template
sensors:
keuken_temperatuur:
friendly_name: 'Keuken temperatuur'
unit_of_measurement: "°C"
value_template: 21.3
i thought this was ok but
if i check the yaml before boot, then i get the following error
Error loading /config/configuration.yaml: invalid key: “OrderedDict([(’((states.sensor.lumi_lumi_airmonitor_acn01_temperature.state | float) -1.8) | round(1)’, None)])”
in “/config/sensor.yaml”, line 6, column 0
can anyone help me?