It looks like devices is not under the data property, which means the template may just need changed to {{ devices.[0].deviceId }}.
It looks like devices is not under the data property, which means the template may just need changed to {{ devices.[0].deviceId }}.