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

Add extra_parameters to send() #653

Merged
merged 3 commits into from
Apr 19, 2020
Merged

Add extra_parameters to send() #653

merged 3 commits into from
Apr 19, 2020

Conversation

rytilahti
Copy link
Owner

This allows passing extra items to the main payload body,
necessary for adding support for subdevices.

This also includes some slight cleanups and better tests for the protocol handling code.

Related to #651

This allows passing extra items to the main payload body,
necessary for adding support for subdevices.

This also includes some slight cleanups and better tests for the protocol handling code.

Related to #651
@coveralls
Copy link

coveralls commented Mar 27, 2020

Coverage Status

Coverage increased (+0.9%) to 73.669% when pulling 42fcdbc on send_add_extra_params into 86de386 on master.

@fsalomon
Copy link
Contributor

Small bug in there, see 820cdfe

@rytilahti
Copy link
Owner Author

Ouch, I'll check that out and write more tests, that should not have happened...

@rytilahti
Copy link
Owner Author

I'll merge this so that #651 can proceed.

@rytilahti rytilahti merged commit cc242cc into master Apr 19, 2020
@rytilahti rytilahti deleted the send_add_extra_params branch April 19, 2020 14:18
xvlady pushed a commit to xvlady/python-miio that referenced this pull request May 9, 2021
* Add extra_parameters to send()

This allows passing extra items to the main payload body,
necessary for adding support for subdevices.

This also includes some slight cleanups and better tests for the protocol handling code.

Related to rytilahti#651

* Fix build

* Fix incorrect access, thanks to @fsalomon for pointing this out!
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.

3 participants