SP8T Behavior in a Grid of Buttons

Hi, everyone! I’m trying to figure out the best way to configure an 8-button grid to behave as a SP8T switch. I have an AV matrix switcher that has six inputs and four outputs that can be controlled via RS232. I plan on using an ESP32 (and ESPHome) to bridge HA to the switcher.

I know how to create the buttons, grid, but I don’t understand how to change the behavior of each grid to only allow for selecting a single button at a time. Ideally, each grid (one per output) would look like a sensor that can be imported into the ESP32.

Thanks in advance for the help!

Create four input_selects. Each input select corresponds to an output. Each input_select has 6 options (the inputs).

This is assuming an input can be switched to more than one output.

Thanks! That seems to have done the trick. I managed to get the entire Home Assistant -> ESPHome -> RS232 stack working correctly.

1 Like