DataTrigger allows only to activate setters related to the object parameters.
How can I use a DataTrigger to set actions like the one proposed in the EventTrigger (for example ScriptAction or PropertyAction)?
Here is the context: I use HR to control my AV system. For example I have a button to launch Netflix on AppleTV or watch a secific TV channel on my STB. I also use Alexa to do the same (Alexa launch Netflix, Alexa watch CNN…). I want to make sure that my HR UI is up to date even when the AV state is set by Alexa.
My setup is using OpenHab to set complex rules depending on Alexa commands (for example launch Netflix on AppleTV). I am using MQTT to communicate between OpenHab and HR.
Through MQTT I have a DataTrigger event when Alexa/OpenHab has launched Netflix but I do not know how to use that DataTrigger to set a ScriptAction to hightlight the netflix button (I am using a GridView to highlight one specific button) or a PropertyAction to set my TVControl device to AppleTV?