MQTT Retain flag


#1

Hi,

In my home automation system, I always publish action with a retain flag.
So when a smart device goes offline and comes back online for some reason, it gets the last actual command from the broker.
It would be very nice if we can set the retain flag per device per action topic or at least for all action topics in the settings.
Many systems use this way of remembering the last state, so for many users this is useful.