diff options
-rw-r--r-- | pyhon/commands.py | 3 | ||||
-rw-r--r-- | setup.py | 2 |
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: |
@@ -7,7 +7,7 @@ with open("README.md", "r", encoding="utf-8") as f: | |||
7 | 7 | ||
8 | setup( | 8 | setup( |
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, |