aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyhon/commands.py3
-rw-r--r--setup.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/pyhon/commands.py b/pyhon/commands.py
index d88cbd1..6584d1f 100644
--- a/pyhon/commands.py
+++ b/pyhon/commands.py
@@ -91,6 +91,9 @@ class HonCommand:
91 91
92 def _load_parameters(self, attributes: Dict[str, Dict[str, Any]]) -> None: 92 def _load_parameters(self, attributes: Dict[str, Dict[str, Any]]) -> None:
93 for key, items in attributes.items(): 93 for key, items in attributes.items():
94 if not isinstance(items, dict):
95 _LOGGER.info("Loading Attributes - Skipping %s", str(items))
96 continue
94 for name, data in items.items(): 97 for name, data in items.items():
95 self._create_parameters(data, name, key) 98 self._create_parameters(data, name, key)
96 for rule in self._rules: 99 for rule in self._rules:
diff --git a/setup.py b/setup.py
index 3887039..3f29968 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ with open("README.md", "r", encoding="utf-8") as f:
7 7
8setup( 8setup(
9 name="pyhOn", 9 name="pyhOn",
10 version="0.15.14", 10 version="0.15.15",
11 author="Andre Basche", 11 author="Andre Basche",
12 description="Control hOn devices with python", 12 description="Control hOn devices with python",
13 long_description=long_description, 13 long_description=long_description,