Sensor not working after update to 2022.2

So it should look like this?

- platform: template
  sensors:
    freezer_too_warm:
      friendly_name: "Freezer Too Warm"
      value_template: "{{ states('sensor.freezer_sensor_temperature')|float(0) > 25 }}"
1 Like