Hi,
Sounds like you want a combination of the multi-click and long-press blocks which doesn't exist. So you'll have to build this logic yourself. You can achieve most things but it can get overly complicated very quickly. Depends how many switches you want to do this with.
Maybe it's better to just use the Lighting Controller and it's in-built stuff as it has short clicks to turn on, double click for all off and press-and-hold dimming?
The other thing is, and I've argued this before, is that if you want to control dimming from your light switches you've probably not done mood configuration properly. Ie. selecting one of the pre-defined moods should be suitable for 99% of your use. For that other 1% just get your phone out and using the app. We have an open plan living area with 8 light circuits in it and I never want to dim anything manually - just mixing predefined moods in and out works fine.
Robin