* IOT dashboard: Fix light display input
* move tolerance in mouse handlinge code
* Revert "move tolerance in mouse handlinge code"
This reverts commit 2214d2160fd4c37151f9f6451f06ce12f7b7dada.
We keep the tolerance handling inside the other function.