From c9a79cf100fd4cb6f307a2ec0ab10f644d3b974b Mon Sep 17 00:00:00 2001 From: Viktor Andersson <30777521+VIKTORVAV99@users.noreply.github.com> Date: Mon, 2 Feb 2026 13:54:07 +0100 Subject: [PATCH] Update Electricity Maps translations (#162074) Co-authored-by: Josef Zweck --- homeassistant/components/co2signal/helpers.py | 2 +- homeassistant/components/co2signal/strings.json | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/homeassistant/components/co2signal/helpers.py b/homeassistant/components/co2signal/helpers.py index b76e990c8f3..207b412ec33 100644 --- a/homeassistant/components/co2signal/helpers.py +++ b/homeassistant/components/co2signal/helpers.py @@ -21,7 +21,7 @@ async def fetch_latest_carbon_intensity( em: ElectricityMaps, config: Mapping[str, Any], ) -> HomeAssistantCarbonIntensityResponse: - """Fetch the latest carbon intensity based on country code or location coordinates.""" + """Fetch the latest carbon intensity based on zone key or location coordinates.""" request: CoordinatesRequest | ZoneRequest = CoordinatesRequest( lat=config.get(CONF_LATITUDE, hass.config.latitude), lon=config.get(CONF_LONGITUDE, hass.config.longitude), diff --git a/homeassistant/components/co2signal/strings.json b/homeassistant/components/co2signal/strings.json index 5ee06a139bf..3ebfd9ebc18 100644 --- a/homeassistant/components/co2signal/strings.json +++ b/homeassistant/components/co2signal/strings.json @@ -5,7 +5,7 @@ }, "error": { "invalid_auth": "[%key:common::config_flow::error::invalid_auth%]", - "no_data": "No data is available for the location you have selected.", + "no_data": "No data is available for the location or zone you have selected.", "unknown": "[%key:common::config_flow::error::unknown%]" }, "step": { @@ -17,20 +17,20 @@ }, "country": { "data": { - "country_code": "Country code" + "country_code": "Zone key" } }, "reauth_confirm": { "data": { - "api_key": "[%key:common::config_flow::data::access_token%]" + "api_key": "[%key:common::config_flow::data::api_key%]" } }, "user": { "data": { - "api_key": "[%key:common::config_flow::data::access_token%]", + "api_key": "[%key:common::config_flow::data::api_key%]", "location": "[%key:common::config_flow::data::location%]" }, - "description": "Visit the [Electricity Maps page]({register_link}) to request a token." + "description": "Visit the [Electricity Maps app]({register_link}) to request an API key." } } }, @@ -40,7 +40,7 @@ "name": "CO2 intensity", "state_attributes": { "country_code": { - "name": "Country code" + "name": "Zone key" } } }, @@ -58,7 +58,7 @@ "location": { "options": { "specify_coordinates": "Specify coordinates", - "specify_country_code": "Specify country code", + "specify_country_code": "Specify zone key", "use_home_location": "Use home location" } }