/ha-check-weather

🌤️ A simple binary sensor for Home Assistant that checks the weather for the next hours and turns on when it fits certain conditions

Primary LanguagePythonMIT LicenseMIT

SWUbanner

HA Check Weather Logo

HA Check Weather

GitHub Release GitHub Downloads hacs GitHub Sponsors Patreon Buy Me A Coffee Twitter

A simple binary sensor for Home Assistant that checks the weather for the next hours and turns on when it fits certain conditions.

This is a very simple binary sensor that checks the weather for the next few hours and turns on when it fits certain conditions.

Ideas on how to use this sensor:

  • 🚴‍♂️ Bike Day – check if the weather is good enough to go out for a ride.
  • 🚶 Walkable Weather – check if the weather is good enough to go out for a walk.
  • ☔️ Will it Rain – check if it will rain today.

You can rename the sensor to anything more meaningful to you.

Sponsorship

Your generosity will help me maintain and develop more projects like this one.

Installation

The quickest way to install this integration is via HACS by clicking the button below:

Add to HACS via My Home Assistant

If it doesn't work, adding this repository to HACS manually by adding this URL:

  1. Visit HACSIntegrations... (in the top right) → Custom repositories
  2. Click Add
  3. Paste https://github.com/denysdovhan/ha-check-weather into the URL field
  4. Chose Integration as a Category
  5. Check Weather will appear in the list of available integrations. Install it normally.

Usage

This integration is configurable via UI. On Devices and Services page, click Add Integration and search for Check Weather.

Specify desired configuration options:

Screenshot 2024-06-21 at 20 45 49

The integration will create a new binary_sensor entity that will turn on when the weather fits the set conditions.

Screenshot 2024-06-21 at 20 46 58

You can safely rename the entity to something more meaningful, like Bike Day or anything else.

Translations

Please, help to add more translations and improve existing ones. Here's a list of supported languages:

Development

Want to contribute to the project?

First, thanks! Check contributing guideline for more information.

License

MIT © Denys Dovhan