Nodes/comfyui-timesaver/TS Smart Switch
ComfyUI Node

TS Smart Switch

Smart switch for ANY data. Auto-failover if one input is missing.

By AlexYez·Created 2 years ago·Updated 3 days ago· 11
TS Smart Switch
  • input_1
  • input_2
  • output
data_type
switchtrue
CategoryTS/Utils

Inputs (4)

NameTypeDefaultDescription
data_typeCOMBOType of data being routed. Each input is validated against it; mismatched inputs are ignored.
switchBOOLEANtrueOn selects Input 1, off selects Input 2. If only one input is valid, it is passed through regardless (auto-failover).
input_1opt*First input branch.
input_2opt*Second input branch.

Outputs (1)

NameTypeDescription
output*The selected input.