Skip to content

Home Assistant Sensors for the swiss Wetter-Alarm API

License

Notifications You must be signed in to change notification settings

redlukas/wetter-alarm

Repository files navigation

Wetter-Alarm

GitHub Release GitHub Activity License

pre-commit Black Validate with Hassfest

hacs Project Maintenance

Discord Community Forum

This component will set up the following platforms.

Platform Description
sensor Show info from Wetter-Alarm API.

Overview

Wetter-Alarm is an app that alerts you of severe weather events in Switzerland. This Integration will poll the Wetter-Alarm API and expose the available Alerts to Home Assistant.

Installation

Automated (suggested):

Just click here: Open in HACS.

Manual:

  1. Using the tool of choice open the directory (folder) for your HA configuration (where you find configuration.yaml).
  2. If you do not have a custom_components directory (folder) there, you need to create it.
  3. In the custom_components directory (folder) create a new folder called wetter-alarm.
  4. Download all the files from the custom_components/wetter-alarm/ directory (folder) in this repository.
  5. Place the files you downloaded in the new directory (folder) you created.
  6. Restart Home Assistant

Using your HA configuration directory (folder) as a starting point you should now also have this:

custom_components/wetter-alarm/__init__.py
custom_components/wetter-alarm/config_flow.py
custom_components/wetter-alarm/manifest.json
custom_components/wetter-alarm/sensor.py
custom_components/wetter-alarm/wetter_alarm_client.py
custom_components/wetter-alarm/translations/en.json

Configuration

No matter which way you installed the Integration, you need to restart Home Assistant before configuring the integration.

Go to the Settings -> Devices & Services -> Integrations tab of your Home Assistant instance. Click ADD INTEGRATION and search for "Wetter-Alarm". The Configuration flow will start when you click install.

How to find the ID of your location

Contributions are welcome!

If you want to contribute to this please read the Contribution guidelines

Credits

Code template was mainly taken from @Ludeeus's integration_blueprint template


About

Home Assistant Sensors for the swiss Wetter-Alarm API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages