From 47d5c99606d2b0b01e86f9721abc6cf3c2f27673 Mon Sep 17 00:00:00 2001 From: Breina Date: Thu, 14 Nov 2024 10:58:16 +0100 Subject: [PATCH] Revert "Fix typo" This reverts commit 605bedb9804c4719521e48ffaf3d4f3cc38e127b. --- custom_components/powertag_gateway/entity_base.py | 2 +- custom_components/powertag_gateway/manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/powertag_gateway/entity_base.py b/custom_components/powertag_gateway/entity_base.py index 65729ef..ca669c1 100644 --- a/custom_components/powertag_gateway/entity_base.py +++ b/custom_components/powertag_gateway/entity_base.py @@ -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}" diff --git a/custom_components/powertag_gateway/manifest.json b/custom_components/powertag_gateway/manifest.json index 3da0075..72d4a8a 100644 --- a/custom_components/powertag_gateway/manifest.json +++ b/custom_components/powertag_gateway/manifest.json @@ -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" }