ComfyUI Node
TS Smart Switch
Smart switch for ANY data. Auto-failover if one input is missing.
TS Smart Switch
- input_1
- input_2
- output
◄data_type▾►
◄switchtrue►
CategoryTS/Utils
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| data_type | COMBO | Type of data being routed. Each input is validated against it; mismatched inputs are ignored. | |
| switch | BOOLEAN | true | On 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)
| Name | Type | Description |
|---|---|---|
| output | * | The selected input. |