Skip to content

Commit

Permalink
short fix of broken Subject names
Browse files Browse the repository at this point in the history
  • Loading branch information
rine77 committed Nov 25, 2024
1 parent 4e22a02 commit 7c516d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/homeassistantedupage/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def __init__(self, coordinator, student_id, student_name, subject_name, grades=N
self._subject_name = clean_subject_name
self._grades = grades or []

self._attr_name = f"{clean_student_name} - {clean_subject_name}"
self._attr_name = f"{student_name} - {subject_name}"
self._unique_id = f"edupage_subject_{clean_student_id}_{clean_subject_name}"

_LOGGER.info("SENSOR unique_id %s", self._unique_id)
Expand Down

0 comments on commit 7c516d1

Please sign in to comment.