Hi. I want to "connect" my preamp to Home Assistant using IR. The good thing is that the amp only has unistate (as opposite to toggle) IR commands. The thing is that i want to make it via UI and in an elegant way.
So far i have done template switches for power, mute and other on/off commands. Looks beautiful.
The problem is with multistate switches (for example preamp inputs or surround mode). I was hoping that i can template input select in the same way as i am templating switches in HA, but looking at the UI it is completely different and im not sure how to even start
#Hooking up preamp to HA via Broadcom IR in an elegant way
1 messages · Page 1 of 1 (latest)
Template a list of options, template the state which should be one of the options, then use the proper actions for on select.
Don’t use device actions as they are currently broken in template entities.
so i need to create a script for each of the possible values?
no, you can perform all the logic in the on select actions