Thanks for doing this. A few observations/requests:
Can you add support for Scenes? I like to use Scenes because it is a single action that powers on and sets the input at the receiver; thus no potential timing issues. On my receiver, Scene 2 (TV) also powers on the Samsung TV via HDMI-CEC on the Yamaha (Indigo doesn't do this; it just sends the Scene 2 command).
Also, it looks like it switches Zones, then issues commands. The old plugin allowed for discrete Zone 2 commands while the Main receiver was physical on Zone 1. Any way you can add in discrete Zone 2 commands instead of having to switch to Zone 2 first?
In terms of Status Update, I'm getting this message in my logs:
Error cannot update device state for key input to value HDMI5 (invalid enumeration value)
My use case is to trigger when Input AV4 = True (that gets set automatically when I turn the TV on via HDMI-CEC for some reason; AV4 is the Optical return and I can't get the receiver not to do that) and then immediately switch it back to HDMI5 which is my TV input. But that trigger isn't even firing yet so it's not what is causing the HDMI5 log error.
Thanks