diff --git a/samsungtvws/encrypted/remote.py b/samsungtvws/encrypted/remote.py index 7d3b7a9..3e2b3fe 100644 --- a/samsungtvws/encrypted/remote.py +++ b/samsungtvws/encrypted/remote.py @@ -185,6 +185,5 @@ async def close(self) -> None: def is_alive(self) -> bool: return ( - self._connection is not None - and not self._connection.state is not State.CLOSED + self._connection is not None and self._connection.state is not State.CLOSED )