From: Benjamin Braatz Date: Wed, 14 Jul 2021 02:27:44 +0000 (+0200) Subject: Bug fix: 'states' instead of 'sync states'. X-Git-Url: http://git.graph-it.com/?a=commitdiff_plain;h=ab6b356236fd68968e5336262323be09fbf58481;p=graphit%2Fcontrolpi-graph.git Bug fix: 'states' instead of 'sync states'. --- 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):