Skip to content

Fix Cooker Normal5: get_prop only works if "all" properties are requested (Closes: #380)#389

Merged
syssi merged 3 commits intorytilahti:masterfrom
syssi:feature/fix-cooker-normal5
Oct 8, 2018
Merged

Fix Cooker Normal5: get_prop only works if "all" properties are requested (Closes: #380)#389
syssi merged 3 commits intorytilahti:masterfrom
syssi:feature/fix-cooker-normal5

Conversation

@syssi
Copy link
Copy Markdown
Collaborator

@syssi syssi commented Oct 8, 2018

No description provided.

miio/cooker.py Outdated
't_cook', 'setting', 'delay', 'version', 'favorite', 'custom']
values = self.send("get_prop", properties)

# Some cookers doesn't support a list of properties here. Therefore "all" properties are requested.
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 (107 > 100 characters)

@coveralls
Copy link
Copy Markdown

coveralls commented Oct 8, 2018

Coverage Status

Coverage remained the same at 73.1% when pulling 443f888 on syssi:feature/fix-cooker-normal5 into 8569e75 on rytilahti:master.

miio/cooker.py Outdated

"""
Some cookers doesn't support a list of properties here. Therefore "all" properties
are requested. If the property count or order changes the property list above must
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

trailing whitespace

miio/cooker.py Outdated
values = self.send("get_prop", properties)

"""
Some cookers doesn't support a list of properties here. Therefore "all" properties
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

trailing whitespace

@syssi syssi merged commit 8eb7097 into rytilahti:master Oct 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.

3 participants