Unit: {{locationConfig[key].unit}}

You need to specify a {{type}} key first. This key is already used, please choose another one.