Format tooltip in floorpan

How to I apply number format to a tooltip on a floorplan oh-plan-marker (Need 1 decimal place in example below) ?

image

I guess you should add a state description to your item definition.

  • Open the item definition
  • Add Metadata
  • State description
  • Pattern: %.1f °C.
1 Like

Hi, How do i add that to an items text file ?

Number 				Computed_coldRoom_Temperature_SMA5			"Computed Cold Room Temperature SMA (5 mins)"				    (gComputed)

Look here at state presentation.

This should work, not tested:

Number 				Computed_coldRoom_Temperature_SMA5			"Computed Cold Room Temperature SMA (5 mins) [%.1f °C]"				    (gComputed)