This is a custom component for Home Assistant to integrate Aula.
Use the builtin service to interact directly with Aulas API.
"Ugeplaner/ugenoter/huskelisten" are stored as sensor attributes. 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") }}'
Join our Discord https://discord.gg/SnfRg3DWG6 and feel free to ask in #homeassistant