Closed ioT-enthusiast closed 1 year ago
Thank you for your work! I appreciate your help. I see you accidentally tried to change the long name, but don't worry I'll add a function to be able to select it.
Why do you changed the long name in the get_lesson_json function? Do you get an error if you leave it?
That change should not be included in this pull request. It is just a workaround as my school puts just numbers in the long_name field of the lesson and so I just use the 'name' field for the message of the event (see https://github.com/JonasJoKuJonas/homeassistant-WebUntis/issues/27) . Not related to this location entry in this pull request.
This line adds the Room as location in the event. Helpful to display the room in calendar, atomic revive etc.