[SOLVED] Setting a Location directly

For a start, you could look in your openhab.log for an error.
I’ve never seen ‘as LocationItem’ used before. How does that work? Do Items have a distanceFrom method?

The more usual way would be using PointType variables like here