From 151092f24f3895a60440669cf3ba68e3291d868b Mon Sep 17 00:00:00 2001 From: ehendrix23 Date: Wed, 11 Aug 2021 14:24:29 -0600 Subject: [PATCH] v3.1.2 (#118) * Check auth only for login * Update user agent on connection reset (54) * Only set user agent when error * Version 3.1.1 * Include errno 104 for retrieving user agent * Bump to 3.1.2 --- pymyq/__version__.py | 2 +- pymyq/device.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pymyq/__version__.py b/pymyq/__version__.py index 16c73b7..1e4f1d2 100644 --- a/pymyq/__version__.py +++ b/pymyq/__version__.py @@ -1,2 +1,2 @@ """Define a version constant.""" -__version__ = "3.1.1" +__version__ = "3.1.2" diff --git a/pymyq/device.py b/pymyq/device.py index 929e27f..daffc34 100644 --- a/pymyq/device.py +++ b/pymyq/device.py @@ -189,7 +189,7 @@ async def _send_state_command( ) await self._wait_for_state_task - # We return true if state is already closed. + # We return true if current state is already in new state. if self.state == to_state: _LOGGER.debug( "Device %s is in state %s, nothing to do.", self.name, to_state