What units of measurements are available in HA and how they affect graph generation? Ive got a lot of confusion about this and was unable to find any documentation listing more that three units in one place
Don’t know if there are specifics in terms of ‘being available’, but I have made up my own where I needed them, e.g. to not have the %age of my CPU usage in the same chart as my %age of humidity I just did this:
wu_relative_humidity:
value_template: '{{ states.sensor.pws_relative_humidity.state | int }}'
unit_of_measurement: '%Humidity'
friendly_name: Outside Humidity
climate_humidity:
value_template: '{{ states.climate.my_heater.attributes["current_humidity"] | int }}'
unit_of_measurement: '%Humidity'
friendly_name: Inside Humidity
So I assume you can do this for whatever you want; I’d just make sure that they are actually numbers so that they graph properly.
1 Like