some more integration work with real hardware
changed light switch to bool