2026-03-02 01:58:19 -08:00
2026-03-02 01:58:19 -08:00
2026-03-02 01:58:19 -08:00
2026-03-02 01:58:19 -08:00
2026-03-02 01:58:19 -08:00
2026-03-02 01:58:19 -08:00
2026-03-02 01:58:19 -08:00

ComfyUI Simple Switch

ComfyUI custom node that returns the first available value from six optional wildcard inputs.

What it does

  • Accepts six optional inputs: value_1 ... value_6
  • Returns the first non-empty input in order
  • Preserves original behavior for empty model/clip context dictionaries
  • Uses wildcard typing so it can pass through most ComfyUI value types

Credits

This node is isolated and renamed from EGRYQHNode in:

Original author: 11dogzi

Installation

Clone into your ComfyUI custom_nodes directory:

cd ComfyUI/custom_nodes
git clone https://github.com/boobkake22/ComfyUI-SimpleSwitch.git

Restart ComfyUI after installing.

Usage

  1. Add the Simple Switch (6 Inputs) node.
  2. Connect values to value_1 ... value_6 in your preferred priority order.
  3. Use output downstream.

License

This repo includes the original upstream LICENSE from 11dogzi/Comfyui-ergouzi-Nodes.

S
Description
No description provided
Readme MIT
55 KiB
Languages
Python 100%