Added device name in callback to allow using one callback for multiple device callbacks.
I'm making an "Alexa to MQTT" gateway and need to use a single callback function for all device state change notifications. This change is backwards compatible, but also allows this usage scenario.
(The added.vs in .gitignore could be omitted. It was added since I use visual studio that creates additional files.)
Added device name in callback to allow using one callback for multiple device callbacks.
I'm making an "Alexa to MQTT" gateway and need to use a single callback function for all device state change notifications. This change is backwards compatible, but also allows this usage scenario.
(The added.vs in .gitignore could be omitted. It was added since I use visual studio that creates additional files.)