From 5031ffe7676f9ceb72ae9183f9da323bc0eb2920 Mon Sep 17 00:00:00 2001 From: Norbert Rittel Date: Mon, 19 May 2025 20:02:37 +0200 Subject: [PATCH] Fix wording of "Estimated power production" sensors in `forecast_solar` (#145201) --- homeassistant/components/forecast_solar/strings.json | 6 +++--- tests/components/forecast_solar/test_sensor.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/homeassistant/components/forecast_solar/strings.json b/homeassistant/components/forecast_solar/strings.json index 201a3cd415c..278e68db9a1 100644 --- a/homeassistant/components/forecast_solar/strings.json +++ b/homeassistant/components/forecast_solar/strings.json @@ -54,13 +54,13 @@ "name": "Estimated power production - now" }, "power_production_next_hour": { - "name": "Estimated power production - next hour" + "name": "Estimated power production - in 1 hour" }, "power_production_next_12hours": { - "name": "Estimated power production - next 12 hours" + "name": "Estimated power production - in 12 hours" }, "power_production_next_24hours": { - "name": "Estimated power production - next 24 hours" + "name": "Estimated power production - in 24 hours" }, "energy_current_hour": { "name": "Estimated energy production - this hour" diff --git a/tests/components/forecast_solar/test_sensor.py b/tests/components/forecast_solar/test_sensor.py index f78ca894acb..86bf4c6b392 100644 --- a/tests/components/forecast_solar/test_sensor.py +++ b/tests/components/forecast_solar/test_sensor.py @@ -194,17 +194,17 @@ async def test_disabled_by_default( [ ( "power_production_next_12hours", - "Estimated power production - next 12 hours", + "Estimated power production - in 12 hours", "600000", ), ( "power_production_next_24hours", - "Estimated power production - next 24 hours", + "Estimated power production - in 24 hours", "700000", ), ( "power_production_next_hour", - "Estimated power production - next hour", + "Estimated power production - in 1 hour", "400000", ), ],