Access device by ID

It seems I can subscribe (and then unsubscribe) via the device ID - so that sorts out part of the equation.

What I need to do now is be able to access current/lastState values for a device by ID.