MarcoGT wrote:Now I am doing something different, because I would like not only to get the status value, but also other data in it.
My idea was to create a trigger for every /rooms/<device>, is this approach correct?
No. You can create a trigger for each message type you want to use, but they're re-used for multiple devices.
The Shim device represents a specific value (or possibly set of values) for a specific MQTT topic message. So you can use a trigger for all devices for THAT message type. Each message type represents a different topic. Each topic/uniqueID combo maps to a different Shim device.