From ab6b356236fd68968e5336262323be09fbf58481 Mon Sep 17 00:00:00 2001 From: Benjamin Braatz Date: Wed, 14 Jul 2021 04:27:44 +0200 Subject: [PATCH] Bug fix: 'states' instead of 'sync states'. --- controlpi_plugins/graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controlpi_plugins/graph.py b/controlpi_plugins/graph.py index 283c17d..f32f4cc 100644 --- a/controlpi_plugins/graph.py +++ b/controlpi_plugins/graph.py @@ -31,7 +31,7 @@ class Graph(BasePlugin): await self._call('setze', [comessage_guid, 'comessage_ready', True]) if ('state' in message and - message['sender'] in self.conf['sync states']): + message['sender'] in self.conf['states']): self._states[message['sender']] = message['state'] async def _call(self, method, params): -- 2.34.1