Skip to content

Commit

Permalink
Fixing property assign
Browse files Browse the repository at this point in the history
  • Loading branch information
akadlec committed Nov 19, 2021
1 parent 9b68b87 commit bb1ecec
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
Expand Up @@ -16,4 +16,4 @@
Devices module
"""

__version__ = "0.5.8"
__version__ = "0.5.9"
2 changes: 1 addition & 1 deletion devices_module/repositories.py
Expand Up @@ -297,7 +297,7 @@ def __create_item(entity: DeviceEntity) -> DeviceItem:
hardware_mac_address=entity.hardware_mac_address,
firmware_manufacturer=entity.firmware_manufacturer,
firmware_version=entity.firmware_version,
connector_id=entity.connector.connector_id if entity.connector is not None else None,
connector_id=entity.connector.connector.connector_id if entity.connector is not None else None,
connector_data=entity.connector.params \
if entity.connector is not None and entity.connector.params is not None else {},
parent_device=entity.parent.device_id if entity.parent is not None else None,
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@fastybird/devices-module",
"version": "0.5.8",
"version": "0.5.9",
"description": "Devices module data model plugin",
"keywords": [
"devices",
Expand Down

0 comments on commit bb1ecec

Please sign in to comment.