Fibaro dimmer 2 on/off

Hi all,

Small question and most likely a short and simpler answer. I’d like to let homey know if the lights controlled by the fibaro dimmer 2 are on or off. So that if I press the pulsdimmer a second time homey knows that it needs to switch the lights off, and if pressed once more to switch them on. By pressing the fibaro dimmer I also control hue lights assigned to that same room. Maybe in the “logic” section with yes or no? But until now I haven’t made any logic out of it;)

If button pushed AND lights are on THEN turn off ELSE turn on

Many tnx, working great now