How can I convert a sensor value?

Hello,

I would like to convert an entity that shows me a value in minutes to hours in order to display that value on Lovelace.

Like:
entity_id: sensor.main_brush/60

Sorry for the stupid question, but I’am a totaly noob in Home Assistant.

Many thank for your support.

Sven

Welcome to HA!

There are only stupid answers. :slightly_smiling_face:

That depends on the sensor.
Some have a value_template where you can convert values.
If not, you can use the template_sensor to create a new one.

Hey VDRainer,

the hint with the templates was exactly what I was looking for. It works.

Thank you very much.

Sven

2 Likes