From 294f9ac942460edd6a96890266aa5afa080422c3 Mon Sep 17 00:00:00 2001 From: Brett Date: Sun, 4 Feb 2024 01:30:49 +0000 Subject: [PATCH] Fix charging state translations --- custom_components/teslemetry/strings.json | 10 +++++++++- custom_components/teslemetry/translations/en.json | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/custom_components/teslemetry/strings.json b/custom_components/teslemetry/strings.json index 8526f32..b64cc9b 100644 --- a/custom_components/teslemetry/strings.json +++ b/custom_components/teslemetry/strings.json @@ -270,7 +270,15 @@ "name": "Charger voltage" }, "charge_state_charging_state": { - "name": "Charging" + "name": "Charging", + "state": { + "starting": "Starting", + "charging": "Charging", + "disconnected": "Disconnected", + "stopped": "Stopped", + "complete": "Complete", + "no_power": "No power" + } }, "charge_state_minutes_to_full_charge": { "name": "Time to full charge" diff --git a/custom_components/teslemetry/translations/en.json b/custom_components/teslemetry/translations/en.json index f7fa6b2..747bf5c 100644 --- a/custom_components/teslemetry/translations/en.json +++ b/custom_components/teslemetry/translations/en.json @@ -273,7 +273,15 @@ "name": "Charger voltage" }, "charge_state_charging_state": { - "name": "Charging" + "name": "Charging", + "state": { + "starting": "Starting", + "charging": "Charging", + "disconnected": "Disconnected", + "stopped": "Stopped", + "complete": "Complete", + "no_power": "No power" + } }, "charge_state_minutes_to_full_charge": { "name": "Time to full charge"