I have a mqtt sensor reading temperature, but it is in Kelvin. How can I convert it to Celcius (-273) for the sensor?
- platform: mqtt
state_topic: "environment.inside.mainCabin.temperature"
value_template: "{{ value_json.value }}"
unit_of_measurement: "°C"
name: "CabinTemperature"