right initial state of gpio switch