Displaying Recent Light Scenes in Dashboard

Hello HomeAssistant Community,

I’m currently working on implementing a HomeAssistant dashboard with multiple buttons to select my light scenes. As I keep adding more scenes, I’m looking for a way to display only the last three scenes I used on the main dashboard, and perhaps implement a long-press feature to access additional scenes.

To clarify, these buttons are not directly triggering the light scenes themselves. Instead, they are populating a helper entity. It’s the change in this helper entity that ultimately triggers the corresponding light scene for automation purposes.

My goal is to make the light scene management more convenient to access the most frequently used scenes while still having easy access to all scenes when needed. Any tips or guidance on how to achieve this, considering the helper entity setup, would be greatly appreciated.

Thank you in advance for your help and suggestions!