New cards button not working for automation

Toggling an automation does not trigger it. It changes it from enabled to disabled or vice-versa.

What you need is:

show_name: true
show_icon: true
type: button
entity: automation.master_bedroom_close
name: Close
tap_action:
  action: call_service
  service: automation.trigger
  data:
    entity_id: automation.master_bedroom_close
    skip_condition: true

You should be aware that manually triggering an automation bypasses any conditions and just runs the actions unless you set skip_condition: false

Additionally if the only thing that triggers your automation is this button you should use a script instead.

The script syntax is exactly the same as for automation actions.

Finally, please format your pasted config in future: https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371#oneone-format-it-properly-16