For those looking for a simple way of doing this interface, check this out:
Basically, I’ve abstracted everything out into the skill and class, now you can do full home automation with automatic detection in just a few lines of code. And no worries about lambdas or working with skills.