Added handlers for digital sensors