Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Commit

Permalink
Fix duplicate "activity" key.
Browse files Browse the repository at this point in the history
  • Loading branch information
johanohly committed Jan 29, 2024
1 parent e377101 commit 23d1605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/bedste_lectio/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_next_room(entries: list[dict[str, str]]) -> dict[str, str]:
rooms.append({
"room": entry.get("lokale", "N/A"),
"activity": entry.get("navn") or entry.get("hold", "N/A"),
"activity": entry.get("hold", "N/A"),
"class": entry.get("hold", "N/A"),
"teacher": entry.get("lærer", "N/A"),
"start": date,
})
Expand Down

0 comments on commit 23d1605

Please sign in to comment.