vintlabs / fauxmoESP

Add voice control of your ESP32 and ESP8266 devices using Amazon Alexa
MIT License
391 stars 71 forks source link

Allow devices to show up as a smart plug. #250

Open curuvar opened 1 year ago

curuvar commented 1 year ago

While this code works well, the devices created always show up as lights. It would far useful for devices to be configured to show up as smart plugs.

Since the device shows as a light, a command like "Alexa, turn on the lights." will enable the device. This might not be desired. I, for example, would not want my 3D printer to shut down just because I asked for the lights to be turned off.