From f8ebe46ede65ee9878b75302156d98d8d103390f Mon Sep 17 00:00:00 2001 From: Brett Date: Sun, 4 Feb 2024 04:10:23 +0000 Subject: [PATCH] Remove duplicate --- custom_components/teslemetry/binary_sensor.py | 3 --- custom_components/teslemetry/translations/en.json | 9 ++++++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/custom_components/teslemetry/binary_sensor.py b/custom_components/teslemetry/binary_sensor.py index ad6bbef..87e0425 100644 --- a/custom_components/teslemetry/binary_sensor.py +++ b/custom_components/teslemetry/binary_sensor.py @@ -149,9 +149,6 @@ class TeslemetryBinarySensorEntityDescription(BinarySensorEntityDescription): ENERGY_INFO_DESCRIPTIONS: tuple[TeslemetryBinarySensorEntityDescription, ...] = ( - TeslemetryBinarySensorEntityDescription( - key="components_disallow_charge_from_grid_with_solar_installed", - ), TeslemetryBinarySensorEntityDescription( key="components_grid_services_enabled", ), diff --git a/custom_components/teslemetry/translations/en.json b/custom_components/teslemetry/translations/en.json index 95d12ac..d065a8e 100644 --- a/custom_components/teslemetry/translations/en.json +++ b/custom_components/teslemetry/translations/en.json @@ -98,9 +98,6 @@ "grid_services_active":{ "name": "Grid services active" }, - "components_disallow_charge_from_grid_with_solar_installed":{ - "name": "Disallow charge from grid with solar" - }, "components_grid_services_enabled":{ "name": "Grid services enabled" } @@ -450,6 +447,12 @@ }, "vehicle_state_valet_mode": { "name": "Valet mode" + }, + "components_disallow_charge_from_grid_with_solar_installed":{ + "name": "Disallow charge from grid with solar" + }, + "user_settings_storm_mode_enabled":{ + "name": "Storm mode" } }, "update": {