I’m planning to migrate from MQTT v1 to v2 in the next days and hopefully improve my setup a bit.
For my irrigation setup I’m using a diy solution which needs e.g. ON:15 as the MQTT input. 15 in this case is the time in minutes to open the valve.
Therefore I’m using two items (Switch and Number ) at the moment and a rule to combine both information and send it via the MQTT action. The device will respond with ON directly after the valve opened and after 15 minutes with OFF.
Is there any way to combine the Switch and Number Item without the rule?