Expand devices to show sensors

- Show device details on click
- Don't stringify privacy field if not edited.

Fixes #495