Added initial device light detection

Changed detection

Added exteded devicelight detection

Refactored detection

Added doc description
Merge pull request #1191 from voidplus/development

Added initial device light detection