This component will set up the following platforms.
Platform | Description |
---|---|
sensor |
Show info from Wetter-Alarm API. |
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.
- Using the tool of choice open the directory (folder) for your HA configuration (where you find
configuration.yaml
). - If you do not have a
custom_components
directory (folder) there, you need to create it. - In the
custom_components
directory (folder) create a new folder calledwetter-alarm
. - Download all the files from the
custom_components/wetter-alarm/
directory (folder) in this repository. - Place the files you downloaded in the new directory (folder) you created.
- 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
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.
If you want to contribute to this please read the Contribution guidelines
Code template was mainly taken from @Ludeeus's integration_blueprint template