Fixes for sensors and liblights