From 771cf8c2856df1f16c4318007efa78c6174aa7f8 Mon Sep 17 00:00:00 2001 From: Benjamin Braatz Date: Wed, 29 Sep 2021 05:06:33 +0200 Subject: [PATCH] Bugfix: 'filter' required instead of '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 66da632..7e4ffad 100644 --- a/controlpi_plugins/graph.py +++ b/controlpi_plugins/graph.py @@ -20,7 +20,7 @@ class Graph(BasePlugin): 'name': {'type': 'string'}, 'filter': {'type': 'array', 'items': {'type': 'object'}}}, - 'required': ['url', 'crt', 'name', 'states']} + 'required': ['url', 'crt', 'name', 'filter']} def process_conf(self) -> None: """Register plugin as bus client.""" -- 2.34.1