[solved] Getting line graphs from values without unit

Home Assistant will plot line graphs only for sensors with unit_of_measurement set to non empty value. If you’d like to have a line graph and still not display any value after the number you just need to insert zero width space character.

In macOS just open Emoji & Symbols window and search for ‘space’, the character will be above B letter.

2 Likes

good solution with a bad description, here is the yaml code

- platform: template

    sensors:

      cop:

        friendly_name: "COP Mitsubishi"

        value_template: ""

        unit_of_measurement: "\u200B"

in this case I want to track the efficiency of my ACs