Control 1 light + catch press on second button

  • Hi,

    New to the forum and have searched but couldn't find anything.

    I have recently bought a Shelly 2.5 which I plan to use together with home assistant.

    Is it possible to have the first button control a light and then use the other button to control an action/script in home assistant, I'm thinking that there must be a way for the Shelly 2.5 to register a press on the button without it being connected to a light?

    BR,

    Andreas