This is a custom component for Home Assistant to integrate Aula. It is very much based on the great work by @JBoye at https://github.com/JBoye/HA-Aula. However this "rewrite" comes with new features like:
-
Installable and updatable via HACS
-
UI config flow
-
School schedules as Home Assistant calendars
-
"Ugeplaner" from "Min Uddannelse" and "Meebook"
We save "ugeplaner" as sensor attributes "ugeplan" and "ugeplan_next". Can be rendered like:
{{ state_attr("sensor.hojelse_skole_emilie", "ugeplan") }}
And visualized in your dashboard with the markdown card:
type: markdown content: '{{ state_attr("sensor.hojelse_skole_emilie", "ugeplan") }}' title: Ugeplan for Emilie
Another example using vertical-stack and collapsable-cards:
type: vertical-stack
cards:
- type: custom:collapsable-cards
title: Ugeplan Emilie
cards:
- type: markdown
content: '{{ state_attr("sensor.hojelse_skole_emilie", "ugeplan") }}'
- type: custom:collapsable-cards
title: Ugeplan Emilie, næste uge
cards:
- type: markdown
content: '{{ state_attr("sensor.hojelse_skole_emilie", "ugeplan_next") }}'
- type: custom:collapsable-cards
title: Ugeplan Rasmus
cards:
- type: markdown
content: '{{ state_attr("sensor.hojelse_skole_rasmus", "ugeplan") }}'
- type: custom:collapsable-cards
title: Ugeplan Rasmus, næste uge
cards:
- type: markdown
content: '{{ state_attr("sensor.hojelse_skole_rasmus", "ugeplan_next") }}'
- Lots of small fixes and optimizations
- Add https://github.com/scaarup/aula as a custom repository
- Search for and install the "Aula" integration.
- Restart Home Assistant.
- Download the latest release.
- Unpack the release and copy the custom_components/aula directory into the custom_components directory of your Home Assistant installation.
- Restart Home Assistant.
- Go to Settings -> Integrations -> Add Integration
- Search for "Aula" and follow the instructions in the config flow.
- The config flow does not currently support a reconfiguration. Meaning when your password expires, the integration must be deleted and added again, in order to update the password.
Join our Discord https://discord.gg/w2vmXavY and feel free to ask in #homeassistant