From 734f0c6693ef70e692316a89a1fd54b783ceef73 Mon Sep 17 00:00:00 2001 From: Carl Allen Date: Wed, 5 Jul 2017 11:30:02 -0500 Subject: [PATCH] Select properties configurable for steps --- modules/core/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/core.py b/modules/core/core.py index 910c9da..9ab17d4 100644 --- a/modules/core/core.py +++ b/modules/core/core.py @@ -344,7 +344,7 @@ class CraftBeerPi(ActorAPI, SensorAPI): self.cache[key][name]["properties"].append({"name": m, "label": t.label, "type": "text", "configurable": t.configurable}) elif isinstance(tmpObj.__getattribute__(m), StepProperty.Select): t = tmpObj.__getattribute__(m) - self.cache[key][name]["properties"].append({"name": m, "label": t.label, "type": "select", "options": t.options}) + self.cache[key][name]["properties"].append({"name": m, "label": t.label, "type": "select", "configurable": True, "options": t.options}) elif isinstance(tmpObj.__getattribute__(m), StepProperty.Actor): t = tmpObj.__getattribute__(m) self.cache[key][name]["properties"].append({"name": m, "label": t.label, "type": "actor", "configurable": t.configurable})