There is no Km/Mile in the conditional line. Is there a way to convert Km and Mile?
Since you can’t access Samsung Health directly there is no distance feature so no Mile/Kilometer options.
There is a topic in this community where other members have posted calculations to use step count to create distance for Mile or KM but you would need to use a tap action to change so one appears and the other one doesn’t. There are no Tags.
Samsung Developer Relations
Thank you for your answer.
To change one to display and the other to not display, how exactly should I set the tap action?
I used the [LANG_LOC] tag to decide whether to display miles or km. Basically if the [LANG_LOC] reflects US or UK, I set it to miles, otherwise it’s km. It’s probably not perfect, but it provides a level of automation.
The tag expression I use in the opacity field for miles is:
The km condition is just the inverse.
Hope this helps,
Looks like LANG_LOC is not available in Opacity tags.
You’re right, it doesn’t appear in the tag list, but I just typed it in and it works.
Thank you very much.
Can you tell us how to express the tag for KM?