Added support for device readings.
Merge pull request #637 from hokascha/master

Added support for device readings.