Using the + and # MQTT wildcards is sometimes essential with MQTT-based APIs because it can be impossible to know beforehand which topic the API will publish to.
This changeset allows the topic of mqtt_response to include a wildcard. When messages are received, they are checked to see if they match each wildcard (rather than expecting the received topic to match exactly a dictionary key).
Using the
+
and#
MQTT wildcards is sometimes essential with MQTT-based APIs because it can be impossible to know beforehand which topic the API will publish to.This changeset allows the topic of
mqtt_response
to include a wildcard. When messages are received, they are checked to see if they match each wildcard (rather than expecting the received topic to match exactly a dictionary key).