Skip to content

Commit

Permalink
Revert "Fix typo"
Browse files Browse the repository at this point in the history
This reverts commit 605bedb.
  • Loading branch information
Breina committed Nov 14, 2024
1 parent 605bedb commit 47d5c99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/powertag_gateway/entity_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def __init__(self, client: SchneiderModbus, modbus_index: int,

serial = client.tag_serial_number(modbus_index)

if unique_id_version == UniqueIdVersion.V2:
if unique_id_version == UniqueIdVersion.V1:
self._attr_unique_id = f"{TAG_DOMAIN}{serial}{entity_name}{modbus_index}"
else:
self._attr_unique_id = f"{TAG_DOMAIN}{serial}{entity_name}"
Expand Down
2 changes: 1 addition & 1 deletion custom_components/powertag_gateway/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/Breina/PowerTagGateway/issues",
"requirements": ["pymodbus==3.5.4"],
"version": "1.5.4"
"version": "1.5.0"
}

0 comments on commit 47d5c99

Please sign in to comment.