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

Xiaomi Power Strip V1 is unable to handle some V2 properties #303

Merged
merged 5 commits into from
Apr 8, 2018

Conversation

syssi
Copy link
Collaborator

@syssi syssi commented Apr 8, 2018

(Closes: #302)

'power_consume_rate'],
MODEL_POWER_STRIP_V2: ['power', 'temperature', 'current', 'mode',
'power_consume_rate', 'wifi_led', 'power_price',
'voltage', 'power_factor', 'elec_leakage'],

Choose a reason for hiding this comment

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

continuation line under-indented for visual indent

MODEL_POWER_STRIP_V1: ['power', 'temperature', 'current', 'mode',
'power_consume_rate'],
MODEL_POWER_STRIP_V2: ['power', 'temperature', 'current', 'mode',
'power_consume_rate', 'wifi_led', 'power_price',

Choose a reason for hiding this comment

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

continuation line under-indented for visual indent


AVAILABLE_PROPERTIES = {
MODEL_POWER_STRIP_V1: ['power', 'temperature', 'current', 'mode',
'power_consume_rate'],

Choose a reason for hiding this comment

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

continuation line under-indented for visual indent

@coveralls
Copy link

Coverage Status

Coverage increased (+0.4%) to 70.47% when pulling 9d5e2ab on syssi:feature/powerstrip-v1-properties into 71195ce on rytilahti:master.

@coveralls
Copy link

coveralls commented Apr 8, 2018

Coverage Status

Coverage increased (+0.4%) to 70.47% when pulling 0df1f92 on syssi:feature/powerstrip-v1-properties into 71195ce on rytilahti:master.

@syssi syssi changed the title Xiaomi Power Strip V1 is unable to handle the new properties Xiaomi Power Strip V1 is unable to handle some V2 properties Apr 8, 2018
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.

Looks good to me!

@syssi syssi merged commit 25ef8ab into rytilahti:master Apr 8, 2018
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