I have an input_button that runs a script. Both work fine. But I would like to save dashboard real estate by having a simple button to tap. After a careful reading of the documentation and all relevant posts from this community that I could find I figured one of these would work. Why don’t they? What am I missing? Appreciate any help. Thanks.
type: entities
entities:
- type: buttons
entities:
- entity: input_button.wake_study
name: Wake Study
tap_action: perform_action
perform_action: input_button.press
- entity: script.ready_study_script
name: Wake Study
tap_action: perform_action
perform_action: script.turn_on
data: {}
Post your current card config… there’s not much we can diagnose otherwise.
The config you posted previously is using two action that require targets, but you aren’t providing targets.
There are at least 6 ways the dashboard button could be configured depending on whether your goal is to “press” the button or fire the script. Here are 3 options: