Skip to content

Commit

Permalink
Device: update deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Kotek committed Jan 10, 2020
1 parent d8399a2 commit 8509d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miio/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def __init__(
self.token = token
self.protocol = Protocol(ip, token, start_id, debug, lazy_discover)

@deprecated(reason="Use self.protocol.send() instead")
@deprecated(reason="Use self.raw_command() instead")
def send(self, command: str, parameters: Any = None, retry_count=3) -> Any:
return self.protocol.send(command, parameters, retry_count)

Expand Down

0 comments on commit 8509d4d

Please sign in to comment.