@Nanna_Agesen I owe you an example. Here is what I use in my setup:
beaufort.scale
[..1.85[=0 Bft
[1.85..7.41[=1 Bft
[7.41..12.96[=2 Bft
[12.96..20.37[=3 Bft
[20.37..29.63[=4 Bft
[29.63..40.74[=5 Bft
[40.74..51.86[=6 Bft
[51.86..62.97[=7 Bft
[62.97..75.93[=8 Bft
[75.93..88.90[=9 BFt
[88.90..103.71[=10 Bft
[103.71..118.53[=11 Bft
[118.53..]=12 Bft
demo.sitemap
sitemap demo label="My home automation" {
Frame label="Speed" {
Text item=testNumberSpeed label="Windgeschwindigkeit [SCALE(beaufort.scale):%s]" icon="wind"
}
}
The only thing which is missing to make it perfect is a nice valuecolor
depending on the Beaufort value. Does anybody like to volunteer for adding it (Beaufort scale)? That would be very much appreciated.