This is a basic Alexa Smart Home skill sample that uses a REST API as backend.
I made an Alexa skill as part of my Smart Home project and this is a simplified version of it.
It's fully functional for switches (on/off) and dimmers (percentage).
Please see source code comments and unit tests for a deeper understanding.
To use this sample, follow these Instructions.
I wrote this clean Kotlin version after reviewing the official Alexa Smart Home Java sample.
This library is licensed under Apache License 2.0.
Feel free to modify and extend it to fit your needs.