Skip to content

Commit

Permalink
Chuangmi Plug V3: Make a local copy of the available properties (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi authored Jun 2, 2018
1 parent af2417a commit cb00583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miio/chuangmi_plug.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def __init__(self, ip: str = None, token: str = None, start_id: int = 0,
)
def status(self) -> ChuangmiPlugStatus:
"""Retrieve properties."""
properties = AVAILABLE_PROPERTIES[self.model]
properties = AVAILABLE_PROPERTIES[self.model].copy()
values = self.send(
"get_prop",
properties
Expand Down

0 comments on commit cb00583

Please sign in to comment.