Never got this working well using this approach. I was just about to undertake creating my own integration to try and replicate how my Control4 integration works, but turns out someone else has recently created one. Link below for anyone that didn’t come across it already.