From 86c07d0393a7e9ce7293cfeaed285dd4f0fc48f5 Mon Sep 17 00:00:00 2001 From: unkn <1+unkn@noreply.localhost> Date: Thu, 20 Aug 2026 18:33:05 +0100 Subject: [PATCH] Update README.md --- README.md | 50 +++++++++++++++++++------------------------------- 1 file changed, 19 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index 4c6ed8a..05c5071 100644 --- a/README.md +++ b/README.md @@ -2,43 +2,31 @@ Store long-term weather records (such as high/low temperatures, maximum wind speed, and rainfall totals) in Home Assistant using standard helpers and automations. -## Prerequisites +### Step One: Add Helper Files +Place weather_numbers.yaml and weather_datetimes.yaml in your main Home Assistant configuration directory (where your configuration.yaml is located). -Before installing the automations, you need to create the required helper entities. Go to **Settings > Devices & Services > Helpers** in Home Assistant and create the following items: +### Step Two: Configure `configuration.yaml` +Add the following include lines to your `configuration.yaml` so Home Assistant loads the required helpers: -### Input Numbers -* `input_number.day_temp_max` -* `input_number.day_temp_min` -* `input_number.day_wind_max` -* `input_number.highest_daily_recorded_rainfall` -* `input_number.highest_weekly_recorded_rainfall` -* `input_number.highest_monthly_recorded_rainfall` -* `input_number.highest_recorded_temp` -* `input_number.lowest_recorded_temp` -* `input_number.highest_recorded_wind_speed` -* `input_number.last_month_rain` -* `input_number.rain_yesterday` +```yaml +input_number: !include weather_numbers.yaml +input_datetime: !include weather_datetimes.yaml +``` + +### Step Three: Create Automations + +For each of the 6 automation files provided in the repository: + +1. Go to **Settings > Automations & Scenes > Create Automation > Create New Automation** in your Home Assistant UI. +2. Click the three dots in the top right corner and select **Edit in YAML**. +3. Replace with the contents of the respective automation file, paste it into the editor, and replace the placeholder sensor tags (e.g., ``, ``, ``, etc.) with your actual weather station entity IDs. +4. Save the automation. + +*Note: In the temperature and wind records automation, ensure your notification service call matches your preferred platform (such as `gotify.send`, `notify.persistent_notification`, etc.).* -### Input Datetimes -* `input_datetime.day_temp_max_time` -* `input_datetime.day_temp_min_time` -* `input_datetime.highest_daily_rainfall_date` -* `input_datetime.highest_weekly_rainfall_date` -* `input_datetime.highest_monthly_rainfall_date` -* `input_datetime.highest_temp_date` -* `input_datetime.lowest_temp_date` -* `input_datetime.highest_wind_speed_date` --- -## Installation - -1. Create all the helper entities listed above. -2. Copy the automation files into your Home Assistant `automations.yaml` or include them via separate automation files. -3. **Important:** Open the imported automations and replace the placeholder sensor entities (e.g., `gw1100a_v2_2_3_###`) with your actual weather station entity IDs. -4. Reload your automations in Home Assistant. - ---- [![Ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/theunknownuniverse)