[feature] control GPIO voltage in DeviceSwitch