Automation: multiple mqtt messages

Yours, because it was shorter way. Both should be fine.

I shared this to everyone, because I think that many could benefit from it.