I am publishing an MQTT topic.
I was using a number representing milliseconds, say 300000, but I am not emotionally attached to that , since it really only represents a delay.
So, if I publish it as a string such as â05:00â as my 300000 milliseconds delay, how do to lift the payload from an MQTT style trigger and then inject the â05:00â into a delay please?
I say MQTT trigger but that seems not to pass the payload on? It looks like the payload is only used as a refinement of the trigger? I looked at MQTT switches and MQTT sensors as well. While I seem to be able to pick up the payload when I view the log, nothing seems to work when I try to pass the payload on in say a variable?
I am beginning to get the picture this passing of values is not a valid use case?
Is this a job for a custom component?