Skip to content

Commit

Permalink
Make a local copy of the available properties
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Jun 2, 2018
1 parent b5738af commit c65c4a8
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 c65c4a8

Please sign in to comment.