Skip to content

Commit

Permalink
Cleaning up models
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianTremblay committed Sep 14, 2020
1 parent 17aa913 commit 9338d12
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
18 changes: 0 additions & 18 deletions BAC0/core/devices/local/__init__.py
Original file line number Diff line number Diff line change
@@ -1,18 +0,0 @@
from .models import (
analog_input,
analog_output,
analog_value,
binary_input,
binary_output,
binary_value,
multistate_input,
multistate_output,
multistate_value,
temperature_input,
temperature_value,
humidity_input,
humidity_value,
date_value,
datetime_value,
character_string,
)
1 change: 0 additions & 1 deletion BAC0/core/devices/local/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ def _create(definition, **kwargs):
for k, v in kwargs.items():
if k == "properties":
for _k, _v in v.items():
# print(k[_k])
kwargs[k][_k] = _v
_definition[k] = v
return ObjectFactory.from_dict(_definition)
Expand Down

0 comments on commit 9338d12

Please sign in to comment.