Switching sensor state works via the Web UI