Skip to content

Device support for the Chuangmi IR Remote Controller#46

Merged
rytilahti merged 3 commits intorytilahti:masterfrom
syssi:feature/chuangmi_ir
Sep 3, 2017
Merged

Device support for the Chuangmi IR Remote Controller#46
rytilahti merged 3 commits intorytilahti:masterfrom
syssi:feature/chuangmi_ir

Conversation

@syssi
Copy link
Copy Markdown
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):
Copy link
Copy Markdown

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):
Copy link
Copy Markdown

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
Copy Markdown
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