This is great and should work, but when trying to use the Switch Activated Home Phrase and/or hg is Alexa app I get this error:
“Sorry there was an unexpected error” before the app even loads.
Tried adding the code in IDE and making smart app that way with same result…