Wind speed #246
Answered
by
cgiesche
MarkWildig
asked this question in
Help and Support
Wind speed
#246
-
Hi When displaying wind speed from a tem[est weather station the stream deck reports some amazing long 8 digit number, i think its just at too high number of digits as the first number looks like the speed in MPH |
Beta Was this translation helpful? Give feedback.
Answered by
cgiesche
Feb 12, 2024
Replies: 1 comment
-
Hi Mark, You can use the following Nunjucks expression in the custom-labels field to truncate the excess digits: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cgiesche
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Mark,
You can use the following Nunjucks expression in the custom-labels field to truncate the excess digits:
{{ state | round(2, 'floor') }}
. (Replacestate
by another attribute name, if necessary).