Added entity-id to devices, so we can now construct a URI for cljs-ajax