Triger after on -> on state change possible?

Maybe a solution like this? :thinking: