Skip to content

Commit

Permalink
Fixing device connector entity transformer
Browse files Browse the repository at this point in the history
  • Loading branch information
akadlec committed Sep 2, 2021
1 parent b93e422 commit 5c44c4a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion devices_module/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
Devices module
"""

__version__ = "0.2.29"
__version__ = "0.2.30"
2 changes: 1 addition & 1 deletion devices_module/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ def to_dict(
"id": self.connector_id.__str__(),
"type": self.connector.type,
"connector": self.connector.connector_id.__str__(),
"device": self.device.connector_id.__str__(),
"device": self.device.device_id.__str__(),
}

if isinstance(self.connector, FbBusConnectorEntity):
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fastybird/devices-module",
"version": "0.2.29",
"version": "0.2.30",
"description": "Devices module data model plugin",
"keywords": [
"devices",
Expand Down

0 comments on commit 5c44c4a

Please sign in to comment.