Add better validation check.
Merge branch 'master' of https://github.com/T3hh4xx0r/OpenHueSdk