Switch: Set switch_value default according to max_pwm of output

Previously the output was modulated with a very low duty cycle due to a
hard-coded default value of 1. Fixes #195.