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 optional length parameter to play_* for chuangmi_ir #1043

Merged
merged 3 commits into from
May 12, 2021

Conversation

Dozku
Copy link
Contributor

@Dozku Dozku commented May 11, 2021

The PR added optional "Length" parameter to chuangmi_ir.py play_raw(). for "chuangmi.remote.v2" to send some command properly. In chuangmi.remote.v2, "length" is required for the learned command which make HA impossible to send AC command correctly. With this add on, HA libs can be enhanced to send length in play_raw().
The issue fixes #820

Copy link
Owner

@rytilahti rytilahti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @Dozku! 🎉

miio/chuangmi_ir.py Outdated Show resolved Hide resolved
@Dozku Dozku requested a review from rytilahti May 12, 2021 11:39
@rytilahti rytilahti changed the title Add optional length parameter to play_raw in chuangmi_ir.py Add optional length parameter to play_* for chuangmi_ir May 12, 2021
@rytilahti rytilahti merged commit 34f3370 into rytilahti:master May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants