Manipulating of location_name doesnt work (device_tracker)

Hi all,

i am trying to set a location_name of a device manually. For that I have created a script. I run this script manually.

The same I have tested in node red with the same result, nothing happens.

Has anyone an idea?

Greets
Sebastian