zid
(Fredrik)
1
Hi,
I have tons of sensors displaying W in my graphs.
One of the sensors for my EV charger is displaying kW.
How can I show this in W as the rest of my graphs?
Do I need to create a new sensor entity with the new unit of choice? How can I accomplish that?
BebeMischa
(Bebe Mischa)
2
make a template sensor.
example:
sensor:
- platform: template
sensors:
billadningwatt_sensor:
friendly_name: "Billadning"
unit_of_measurement: "W"
value_template: "{{ ((states('sensor.billaddningoriginal')) | float * 1000) | round }}"
of course, replace sensor.billaddningoriginal
with your current sensor.
1 Like