The Channel has to be an event Channel, not a State Channel. Not all Channels can be used to trigger a rule. Based on a scan of the Sonos binding docs, this binding doesn’t have any event Channels. The volume Channel must be linked to a Dimnmer Item and then you can trigger the rule based on updates, changes, or commands sent to that Item.
Event Channels are always ephemeral (e.g. button was pressed, civic dawn just started, etc). Something like volume is stateful.
Ah, ok. Thanks for clarification! I didn’t know that.
Actually i want to get a trigger of my somrig ikea “shortcut button”. I didn’t get this working so far and my idea was to write a rule that triggers directly the channel.
Can i see the type of the channel someare in the ui or somewhere else?
I got this idea from a youtube video and the integration of this shortcut button in home assistent. I’m not familar with home assistent. There this device has no states (like on/off of a switch), but you can trigger events.
The name and description of the Channels are controlled by the binding. But usually the Channel will have “event” in the name somwhere.
When looking at the docs for the binding, if the Channel is shown to link to an Item, it’s a state Channel. If it’s an event Channel it will usually be called out in the docs for the binding.
My experience with the Zigbee binding is even momentary buttons like this get modeled with a state Channel, not an event Channel. I’ve a Sparkle zigbee remote button that is modeled this way. Again, it’s all decided by the binding author.
What HA does in this reguard is irrelevant to how OH models the interaction.