Custom integration that displays closest emergency pharmacies to a defined PLZ, address or GPS location.
HACS installation is recommended as it allows you to be notified of any updates or new releases of the component.
- In Home Assistant, go to Settings → Devices & Services → HACS → Integrations.
- Click + Explore & Download Repositories.
- Click the three dots in the top-right and choose Custom Repositories.
- Add the URL of this repository and set the category to Integration.
- Go to Settings → Devices & Services.
- Search for Notdienstapotheke and add it.
- You will be asked to provide the name for the sensor and PLZ/Ort. These values are required. PLZ/Ort value is validated against the Aponet website.
- You can additionally provide date, street, GPS coordinates and/or search radius. These values are not required.
- Copy the notdienstapotheke directory to the
custom_componentsfolder of your Home Assistant installation (located at the same level asconfiguration.yamlfile). Ifcustom_componentsfolder does not exist, create it. - Add a new sensor in
configuration.yamlorsensors.yaml(see below). - Restart Home Assistant from Developer Tools.
This integration can be configured from Home Assistant UI. If you want to configure the Notdienstapotheke
using configuration.yaml instead, you can use the YAML snippet below:
platform: notdienstapotheke
...