#Using a state of an input select for button feedback

1 messages · Page 1 of 1 (latest)

wooden marsh
#

Hey guys.

Is there a way to get button feedback for the state of an input select? I’ve had it previously with booleans but can’t seem to figure out having a button show “on” if x state is the active one in the input select.

Thanks!

grand shard
#

You would need a template binary sensor.

wooden marsh
# grand shard You would need a template binary sensor.

I’ve made one, though at the bottom it says that this helper doing listen or update automatically based on state change..?

So this template binary sensor, I can have toggle on or off based on the state of the input select?

Eg input_select.zone_1 Source 1
Binary sensor Zone 1 Source 1 = on?

Because I’ll end up having to have 4 sensors per input select and all 4 would need to toggle on/off as different sources are selected.

grand shard
#

The binary sensor will be on, when the conditions of the template are met.
So if you need four different conditions seperately, you would need four binary sensors.