Issue of the topic: I’ve created a MQTT broker thing, which receives temperatures as plain strings. I linked a channel of the only type that the UI allows (Publish Trigger). I am able to link a string-type item with this channel but not a number-type item. I want to link the channel to a number type item - if possible. The MQTT message is just a floating point number representing a temperature - so the string should parse trivially to a number. When i try to link a number-type item with the channel, it says there are no default profiles and the list of profiles shown is greyed out.
Correct. The Broker Thing only supports publish channels. These are intended to be used for ephemeral events (e.g. button presses).
Then you need to create a Generic MQTT Thing and add number Channels for each topic/message type. Then link those Channels to Items.
The concept of a Thing in OH is that the Thing represents a device. The Broker Thing represents your MQTT Broker but the devices that pub/sub message through that Broker should be represented with separate Things.