AELF API Client (unofficial) is a custom Home Assistant Community Store (HACS) integration that fetches liturgical data from the AELF API. This integration allows you to display masses and other prayers directly in your Home Assistant instance.
- Fetches liturgical informations from the AELF API.
- Generate one Home Assisant device per AELF entity (mass, compline, lauds, readings, none, sext, terce, vespers)
- Home Assistant version 2023.0.0 or later.
- HACS (Home Assistant Community Store) installed in your Home Assistant instance.
- Open HACS in your Home Assistant instance.
- Go to the "Integrations" section.
- Click on the three-dot menu in the top-right corner and select "Custom repositories."
- Add the following repository URL:
https://github.com/thamin-i/hacs-aelf-api-clientand select the category as "Integration." - Search for "AELF API Client (unofficial)" in the HACS Integrations section and click "Install."
- Restart Home Assistant to complete the installation.
- After restarting Home Assistant, go to Settings > Devices & Services > Integrations.
- Click on "Add Integration" and search for "AELF API Client (unofficial)".
- Follow the on-screen instructions to configure the integration.
This integration requires the following Python libraries, which are automatically installed:
aiohttp~=3.11.16voluptuous~=0.15.2
- Domain:
hacs-aelf-api-client - IoT Class: Cloud Polling
- Integration Type: hub
If you encounter any issues:
- Ensure that your Home Assistant version meets the minimum requirement (2023.0.0).
- Verify that the Messes Info website is accessible from your network.
- Check the Home Assistant logs for error messages related to the
hacs-aelf-api-clientintegration.
Contributions are welcome! If you would like to contribute to this project, please open an issue or submit a pull request on the GitHub repository.
This project is licensed under the MIT License. See the LICENSE file for details.
Replace the sensor ID in the examples by your own sensor ID
Use the below markdown to display the daily complines in your dashboard:
{% set compline = state_attr('sensor.complines_for_france_updated_every_1_0_hours', 'compline') %}
## Introduction
<details>
<summary>Introduction</summary>
{{ compline.introduction }}
</details>
## Hymne
<details>
<summary>Hymne</summary>
{{ compline.hymne.texte }}
</details>
## Psaume {{ compline.psaume_1.reference }}
<details>
<summary>Psaume {{ compline.psaume_1.reference }}</summary>
Antiene: {{ compline.antienne_1 }}
{{ compline.psaume_1.texte }}
</details>
## Psaume {{ compline.psaume_2.reference }}
<details>
<summary>Psaume {{ compline.psaume_2.reference }}</summary>
{{ compline.psaume_2.texte }}
Antiene: {{ compline.antienne_1 }}
</details>
## Parole de Dieu
<details>
<summary>Parole de Dieu</summary>
{{ compline.pericope.texte }}
{{ compline.repons }}
</details>
## Cantique de Syméon
<details>
<summary>Cantique de Syméon</summary>
Antiene: {{ compline.antienne_symeon }}
{{ compline.cantique_symeon.texte }}
Antiene: {{ compline.antienne_symeon }}
</details>
## Oraison et bénédiction
<details>
<summary>Oraison et bénédiction</summary>
{{compline.oraison}}
{{compline.benediction}}
</details>
## {{compline.hymne_mariale.titre}}
<details>
<summary>{{compline.hymne_mariale.titre}}</summary>
{{compline.hymne_mariale.texte}}
</details>Use the below markdown to display the daily masses in your dashboard:
{% for mass in state_attr('sensor.mass_for_france_updated_every_1_0_hours', 'mass') %}
## {{ mass.nom }}
{% for lecture in mass.lectures %}
---
### {{ lecture.type.replace("_", " ") }}
<details>
{% if lecture.titre is not none %}
<summary><i>{{ lecture.titre }}</i></summary>
{% else %}
<summary>Psaume</summary>
{% endif %}
{{ lecture.contenu }}
</details>
{% endfor %}
---
---
{% endfor %}Here are some screenshots of the integration in action:


