I'm quite new to this, but I've made a good flow that allows on/off and move up/dn with hold and release.
Up/Down-direction is controlled by light level, over a certain level it goes up, otherwise down.
But... I'd really like to put this in a subflow, so I don't have to make 50 of them. Trouble is, I have to use a non-mqtt input block to get light status (the blue one below), in order to decide if I should dim up/dn or even turn on before dim up. Does anyone have a good idea how to do this? Or a better way to realize this solution?
(The blue block requires the specific name of the bulb, and I don't know how to extract that from the message and put it there...)