Add attr_readers for light state attributes.
Add method to convert light state to hash.