From 96bc054c0916c17b0ac3569388e5aee103cb3164 Mon Sep 17 00:00:00 2001 From: Bouwe Date: Thu, 19 Oct 2023 08:12:09 +0200 Subject: [PATCH] Blacked --- plugwise/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugwise/__init__.py b/plugwise/__init__.py index cd8f5dbda3..454e27502e 100644 --- a/plugwise/__init__.py +++ b/plugwise/__init__.py @@ -637,7 +637,7 @@ async def set_schedule_state( raise PlugwiseError("Plugwise: invalid schedule state.") if name is None: if schedule_name := self._last_active[loc_id]: - name = schedule_name + name = schedule_name else: return