2026-08-20 18:42:21 +01:00
2026-08-20 18:17:44 +01:00
2026-08-20 18:18:03 +01:00
2026-08-20 18:42:21 +01:00
2026-08-20 18:18:59 +01:00
2026-08-20 18:19:33 +01:00

Home Assistant Weather Records

Store long-term weather records (such as high/low temperatures, maximum wind speed, and rainfall totals) in Home Assistant using standard helpers and automations.

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).

Step Two: Configure configuration.yaml

Add the following include lines to your configuration.yaml so Home Assistant loads the required helpers:

input_number: !include weather_numbers.yaml
input_datetime: !include weather_datetimes.yaml

Step Three: Create Automations

  1. Use the 6 automation files daily_high_low_temp.yaml day_wind_max.yaml rain_records.yaml set_rain_month.yaml set_rain_yesterday.yaml temp_wind_records.yaml to create 6 new automations.
  2. Go to Settings > Automations & Scenes > Create Automation > Create New Automation in your Home Assistant UI.
  3. Click the three dots in the top right corner and select Edit in YAML.
  4. Replace with the contents of the respective automation file, paste it into the editor.
  5. Replace the placeholder sensor tags (e.g., <OUTDOOR TEMP SENSOR>) with your sensor entities. Can be done in YAML or GUI.
  6. Where notifications are used, ensure that your correct method is selected, this is easier in the GUI.
  7. Save the automation.

Ko-fi

https://unknownuniverse.uk

S
Description
Store long term weather records in Home Assistant using helpers.
https://unknownuniverse.uk
Readme
71 KiB