Best Way? How to make automation from a 4-option button?

Hi All,

HA Noob here…

I have gotten some EnOcean buttons, and would like to set up an automation that does different things based on the 4 buttons.

It seems I can add all 4 triggers and then and IF-Then statement looking at the same 4 Device/event and do things based on that, but is there a more smart way?

Should I call a script?
Has anyone done a Blueprint for it (or do I need to code it…) Would that be a best-practice?

Any advanced/knowledged input would be very welcome.

something similar is here, for zwave 4 button. Maybe you can reuse that somehow…

Thanks, maybe I should start by searching the Blueprints part of the forum - my bad!

There seems to be quite a few Blueprints for that product. :grinning: