Two dc devices with different voltage requirements run by single switch ...

Responsive image
source