/ha-aula

Fetches information from Aula about your children

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Current Release Github All Releases hacs_badge

Aula

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/Ugenoter" from "Min Uddannelse" and "Meebook"

  • Messages - if there are unread messages, we turn a binary sensor on and populate it with the message details.

  • "Huskelisten" from "Systematic"

    "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:

    image

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") }}' 

image

  • Lots of small fixes and optimizations

Installation

HACS

  • Ensure that HACS is installed.
  • Search for and install the "Aula" integration.
  • Restart Home Assistant.

Manual installation

  • 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.

Setup

Shortcut:

  • Go to Settings -> Integrations -> Add Integration
  • Search for "Aula" and follow the instructions in the config flow.

Known issues

  • 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.

Support

Join our Discord https://discord.gg/SnfRg3DWG6 and feel free to ask in #homeassistant