light: changed warning color
sensor: fixed errer introduced earlier today, lalala