Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make nodes aware of their serial_number. #37

Merged
merged 2 commits into from
Apr 26, 2020

Conversation

tschamm
Copy link
Contributor

@tschamm tschamm commented Apr 25, 2020

Home Assistant wants entities to provide a unique id. Neither the host ip nor the node_id are unique. The PR adds the serial number during node initialization.
If the PR is accepted and pypi version containing the PR is available, I will update home-assistant/core#34668

Regards, Thomas

@coveralls
Copy link

coveralls commented Apr 25, 2020

Coverage Status

Coverage increased (+0.02%) to 82.254% when pulling f778af5 on tschamm:master into 46d2e55 on Julius2342:master.

Fixed tests to support serial_number.
Add setter for serial_number in frame for node information.
@Julius2342 Julius2342 merged commit da4761d into Julius2342:master Apr 26, 2020
@Julius2342
Copy link
Owner

Thank you for your contribution!

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.

None yet

4 participants