From 6c864a1725f3e8f01532d1b71be4df788879bc8e Mon Sep 17 00:00:00 2001 From: John Meyers Date: Thu, 26 Mar 2026 09:11:12 -0400 Subject: [PATCH] =?UTF-8?q?Update=20rainmachine=20solar=20radiation=20to?= =?UTF-8?q?=20reflect=20it=20is=20per=20day,=20not=20per=20=E2=80=A6=20(#1?= =?UTF-8?q?66040)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- homeassistant/components/rainmachine/__init__.py | 2 +- homeassistant/components/rainmachine/services.yaml | 4 ++-- homeassistant/components/rainmachine/strings.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/rainmachine/__init__.py b/homeassistant/components/rainmachine/__init__.py index 2727e877bfe..c4fe2b49006 100644 --- a/homeassistant/components/rainmachine/__init__.py +++ b/homeassistant/components/rainmachine/__init__.py @@ -102,7 +102,7 @@ CV_WX_DATA_VALID_TEMP_RANGE = vol.All(vol.Coerce(float), vol.Range(min=-40.0, ma CV_WX_DATA_VALID_RAIN_RANGE = vol.All(vol.Coerce(float), vol.Range(min=0.0, max=1000.0)) CV_WX_DATA_VALID_WIND_SPEED = vol.All(vol.Coerce(float), vol.Range(min=0.0, max=65.0)) CV_WX_DATA_VALID_PRESSURE = vol.All(vol.Coerce(float), vol.Range(min=60.0, max=110.0)) -CV_WX_DATA_VALID_SOLARRAD = vol.All(vol.Coerce(float), vol.Range(min=0.0, max=5.0)) +CV_WX_DATA_VALID_SOLARRAD = vol.All(vol.Coerce(float), vol.Range(min=0.0, max=100.0)) SERVICE_NAME_PAUSE_WATERING = "pause_watering" SERVICE_NAME_PUSH_FLOW_METER_DATA = "push_flow_meter_data" diff --git a/homeassistant/components/rainmachine/services.yaml b/homeassistant/components/rainmachine/services.yaml index 2f799afd028..2c548e3947a 100644 --- a/homeassistant/components/rainmachine/services.yaml +++ b/homeassistant/components/rainmachine/services.yaml @@ -131,9 +131,9 @@ push_weather_data: selector: number: min: 0 - max: 5 + max: 100 step: 0.1 - unit_of_measurement: "MJ/m²/h" + unit_of_measurement: "MJ/m²/d" et: selector: number: diff --git a/homeassistant/components/rainmachine/strings.json b/homeassistant/components/rainmachine/strings.json index 778d8ebb16f..df9df38d4f4 100644 --- a/homeassistant/components/rainmachine/strings.json +++ b/homeassistant/components/rainmachine/strings.json @@ -175,7 +175,7 @@ "name": "Measured rainfall" }, "solarrad": { - "description": "Current solar radiation (MJ/m²/h).", + "description": "Daily solar radiation (MJ/m²/d).", "name": "Solar radiation" }, "temperature": {