Skip to content

Philips Eyecare: More safety property mapping of the device status#95

Merged
rytilahti merged 5 commits intorytilahti:masterfrom
syssi:feature/philips-eyecare-update
Oct 21, 2017
Merged

Philips Eyecare: More safety property mapping of the device status#95
rytilahti merged 5 commits intorytilahti:masterfrom
syssi:feature/philips-eyecare-update

Conversation

@syssi
Copy link
Copy Markdown
Collaborator

@syssi syssi commented Oct 21, 2017

No description provided.

"count (%s) of received values.",
properties_count, values_count)

return PhilipsEyecareStatus(defaultdict(lambda: None, zip(properties, values)))
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

line too long (87 > 79 characters)

@coveralls
Copy link
Copy Markdown

coveralls commented Oct 21, 2017

Coverage Status

Coverage increased (+0.03%) to 33.497% when pulling c7687b6 on syssi:feature/philips-eyecare-update into 67196c2 on rytilahti:master.

@rytilahti
Copy link
Copy Markdown
Owner

Can you also add typing hints while you are at it? Otherwise it looks fine for me.

@syssi
Copy link
Copy Markdown
Collaborator Author

syssi commented Oct 21, 2017

Sure!

@coveralls
Copy link
Copy Markdown

coveralls commented Oct 21, 2017

Coverage Status

Coverage increased (+0.03%) to 33.497% when pulling d70b75e on syssi:feature/philips-eyecare-update into 67196c2 on rytilahti:master.

return self.send("set_amb_bright", [level])

def status(self):
def status(self) -> PhilipsEyecareStatus:
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 'PhilipsEyecareStatus'

@coveralls
Copy link
Copy Markdown

coveralls commented Oct 21, 2017

Coverage Status

Coverage increased (+0.03%) to 33.497% when pulling 02307e5 on syssi:feature/philips-eyecare-update into 67196c2 on rytilahti:master.

@coveralls
Copy link
Copy Markdown

coveralls commented Oct 21, 2017

Coverage Status

Coverage increased (+0.03%) to 33.497% when pulling aff248d on syssi:feature/philips-eyecare-update into 67196c2 on rytilahti:master.

@rytilahti
Copy link
Copy Markdown
Owner

Thanks!

@rytilahti rytilahti merged commit a8d241d into rytilahti:master Oct 21, 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.

4 participants