From d5c398e46ec977bfbb3d9ce5c822a84f0c8da695 Mon Sep 17 00:00:00 2001 From: steve Date: Thu, 3 Aug 2023 16:22:15 +1000 Subject: [PATCH] fix translation error --- custom_components/apex/__init__.py | 3 +-- custom_components/apex/translations/en.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/custom_components/apex/__init__.py b/custom_components/apex/__init__.py index e25f990..cc23ee8 100644 --- a/custom_components/apex/__init__.py +++ b/custom_components/apex/__init__.py @@ -212,6 +212,5 @@ def device_info(self): "name": f"Apex Controller ({self.coordinator.deviceip})", "hw_version": self.coordinator.data["system"]["hardware"], "sw_version": self.coordinator.data["system"]["software"], - "manufacturer": MANUFACTURER, - "test": "TEST" + "manufacturer": MANUFACTURER } diff --git a/custom_components/apex/translations/en.json b/custom_components/apex/translations/en.json index ab9438e..6811999 100644 --- a/custom_components/apex/translations/en.json +++ b/custom_components/apex/translations/en.json @@ -51,7 +51,7 @@ "name": "DID", "description": "DID of the selected variable or output to modify" }, - "Code": { + "code": { "name": "Code", "description": "Code to modify on the variable/output" }