-
-
Notifications
You must be signed in to change notification settings - Fork 566
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
Xiaomi Power Strip V1 is unable to handle some V2 properties #303
Conversation
miio/powerstrip.py
Outdated
'power_consume_rate'], | ||
MODEL_POWER_STRIP_V2: ['power', 'temperature', 'current', 'mode', | ||
'power_consume_rate', 'wifi_led', 'power_price', | ||
'voltage', 'power_factor', 'elec_leakage'], |
There was a problem hiding this comment.
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
miio/powerstrip.py
Outdated
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', |
There was a problem hiding this comment.
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
miio/powerstrip.py
Outdated
|
||
AVAILABLE_PROPERTIES = { | ||
MODEL_POWER_STRIP_V1: ['power', 'temperature', 'current', 'mode', | ||
'power_consume_rate'], |
There was a problem hiding this comment.
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
There was a problem hiding this 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!
(Closes: #302)