I am trying to call a service from the UI when pressing a button. In the service editor, the service call looks like this:
service: input_select.select_option
data:
option: away
target:
entity_id: input_select.presence_mode
Following the documentation, I put this card together:
- type: button
tap_action: call-service
service: input_select.select_option
service_data:
entity_id: input_select.presence_mode
option: 'away'
However, pushing the button doesn’t set the value of the input select. What am I doing wrong?
2 posts - 2 participants