I created an MQTT Device Trigger identical to the “left arrow click” and “right arrow click” example described in the device trigger documention
I wanted to create 1 trigger with multiple actions (set / clear / click / double click / triple click / long click)
Everything is working fine when I use 1 action only but when I use multiple actions, only the last actions (long click) shows up in the configuration.
Does anybody know how to configure this?
The way I do it now, autodetection is working but not on multiple actions.
I could make workarounds with different triggers but I want to have an autodetected mqtt device that has 1 trigger for each button and multiple actions linked to that button
{
"automation_type":"trigger",
"type":"action",
"device":
{
"identifiers":["IODevice_trigger_1"],
"name":"trigger_1",
"sw_version":"IODevice 2.0 -- 1.9"
},
"payload":"set",
"subtype":"set",
"topic":"IODevice/trigger_1/action"
}
{
"automation_type":"trigger",
"type":"action",
"device":
{
"identifiers":["IODevice_trigger_1"]
},
"payload":"cleared",
"subtype":"cleared",
"topic":"IODevice/trigger_1/action"
}
{
"automation_type":"trigger",
"type":"action",
"device":
{
"identifiers":["IODevice_trigger_1"]
},
"payload":"click",
"subtype":"click",
"topic":"IODevice/trigger_1/action"
}
{
"automation_type":"trigger",
"type":"action",
"device":
{
"identifiers":["IODevice_trigger_1"]
},
"payload":"doubleClick",
"subtype":"doubleClick",
"topic":"IODevice/trigger_1/action"
}
{
"automation_type":"trigger",
"type":"action",
"device":
{
"identifiers":["IODevice_trigger_1"]
},
"payload":"tripleClick",
"subtype":"tripleClick",
"topic":"IODevice/trigger_1/action"
}
{
"automation_type":"trigger",
"type":"action",
"device":
{
"identifiers":["IODevice_trigger_1"]
},
"payload":"longClick",
"subtype":"longClick",
"topic":"IODevice/trigger_1/action"
}