Releases: J-Lindvig/Bibliotek_dk
Fix handling of fault when HA location outside DK
This fixes handling of fault when trying to find municipality based on HA location outside DK
Fix for libraries not allowing online settlement of debt
This should fix a problem with libraries not allowing online settlement of debt and thus not providing an input with an id to read
Fix login and handle reservations on eReolen
This release makes login work again and handles reservations made on eReolen.
Added sample dashboard for showing loans, reservations, etc.
What's Changed
- Changes to fix login and handle reservations on eReolen by @larsalthof in #8
New Contributors
- @larsalthof made their first contribution in #8
Full Changelog: v0.3.6...v0.3.7
Errors in Sønderborg....
Still trouble with the title in Sønderborg. Trying to get rid of the error.....
Removed search for <h3>
Some libraries (probably) wasn't using
for the title of the materials. The API is now changed to look for the class attribute, which morelikely is the same.
Added try/except and screening for WAYF
A few libraries is using WAYF which is NOT supported:
- Assens
- Langeland
- Nordfyn
- Odense
- Svendborg
I have added try/except in many functions to make debugging easier.
Changed attribute name
The Loans and the Loans overdue had the same attribute name.
Loans is now "loans" and Loans overdue is "loans_overdue". Sorry for the inconvenience.
Debug output
Added a DEBUG print out to the mayor functions....
Added user to all sensors
To make cards, f.x. Markdown cards, more useful, i have added the name of the user to all sensors.
Add overdue and debts
Finally, I had one loan overdue with fines and everything, so I was able to determine the datastructure of these pages:
- Loans overdue
- Debts