Changed structure to handle numerous issues plus add enhancements.  No activity off properly calls "Power Off" (and thus "Power Off" has been removed).  HomeKit responses are properly set back when activity finishes switching.  Some amount of handling has been added for timeouts while switching activities as well as request sync (you don't seem to be able to send multiple requests to the hub simultaneously, and the activity switching sometimes times out the connection, so a reconnect system was added).
Changed structure to handle numerous issues plus add enhancements.  No activity off properly calls "Power Off" (and thus "Power Off" has been removed).  HomeKit responses are properly set back when activity finishes switching.  Some amount of handling has been added for timeouts while switching activities as well as request sync (you don't seem to be able to send multiple requests to the hub simultaneously, and the activity switching sometimes times out the connection, so a reconnect system was added).

SphtKr/homebridge-zway