Simplify getSwitchE