Trigger settings don't save

have a look at the code from the link i shared in previous post.

this is because of Sending MQTT messages within rate limits