Add switch state