Good catch.
It was the reason why I originally asked if you recalled which integration you had used. If it was MQTT then I would have directed you to this post: