activityFor
fun activityFor(topic: String, activity: Map<String, MqttTopicDiscovery.Activity>): Pair<String, MqttTopicDiscovery.Activity>?(source)
The activity recorded for a topic, with the spelling the broker used: the topic's own spelling when the broker carries it, otherwise the lowest case-insensitive match, so a row does not flip between variants from one snapshot to the next.