How to force Graph Mode?

Hi,

Recently I created a floorplan, where are shown, among other things, the current room temperatures.
The problem is that normally I have a unit (degrees of Celsius) contained in the temperature entity.
obraz

After using the template:

- platform: template
  sensors:
    salon_temperature1:
      friendly_name: "salon_temperature1"
      value_template: "{{ states('sensor.ble_temperature_salon_mijia')|float*1.5 }}"

(multiple 1,5 is only to show that this is a number - I can do math) I get rid of the unit, but then after pressing on the temperature I get the wrong graph (you can’t see anything from it):
obraz

Before removing the unit, the graph is correct:
obraz

The question is, how to set HA to display the correct chart? (x axis - time, y axis - value)

OK, never mind.
People should read the documentation :wink:

I missed to use “unit_of_measurement”…
It should be:

- platform: template
  sensors:
    salon_temperature1:
      friendly_name: "salon_temperature1"
      value_template: "{{ states('sensor.ble_temperature_salon_mijia')|float*1 }}"
      unit_of_measurement: " "

Now everything is fine.