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

Device support for the Chuangmi IR Remote Controller #46

Merged
merged 3 commits into from
Sep 3, 2017

Conversation

syssi
Copy link
Collaborator

@syssi syssi commented Sep 1, 2017

The command set is based on an unofficial home assistant component was discussed here and applies to this product.

"""Read a learned command."""
return self.send("miIO.ir_read", {'key': str(key)})

def play(self, command: string, frequency: int):

Choose a reason for hiding this comment

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

undefined name 'string'

@@ -0,0 +1,21 @@
from .device import Device

class ChuangmiIr(Device):

Choose a reason for hiding this comment

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

expected 2 blank lines, found 1

@rytilahti
Copy link
Owner

Looks simple and straightforward, thanks!

@rytilahti rytilahti merged commit 2147a88 into rytilahti:master Sep 3, 2017
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