Skip to content

Added device name in callback to allow using one callback for multipl…#16

Merged
dsandor merged 2 commits intodsandor:masterfrom
JanJohansen:master
May 30, 2018
Merged

Added device name in callback to allow using one callback for multipl…#16
dsandor merged 2 commits intodsandor:masterfrom
JanJohansen:master

Conversation

@JanJohansen
Copy link
Contributor

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.)

@dsandor dsandor merged commit 3cb255e into dsandor:master May 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments