Import, on/off and bug fix

Fixes import warning
Improves ability to sense user manually turns lights on/off
fixes bug retrieving profiles from ambibox program