The simple option is to make two conditional cards with the different buttons. One card visible for each input select state.
The other option is to template the entity using this custom card:
The simple option is to make two conditional cards with the different buttons. One card visible for each input select state.
The other option is to template the entity using this custom card: