A few cards to help display informations from the Pronote integration for Home Assistant
Add this repository to HACS : https://github.com/delphiki/lovelace-pronote.git
then:
HACS > Lovelace > Pronote Cards
type: custom:pronote-timetable-card
entity: sensor.pronote_XXXX_YYYY_timetable_next_day
display_header: true
display_lunch_break: true
display_classroom: true
display_teacher: true
display_day_hours: true
dim_ended_lessons: true
max_days: null
current_week_only: false
This card can be used with all timetable sensors.
type: custom:pronote-homework-card
entity: sensor.pronote_XXXX_YYYY_homework
display_header: true
display_done_homework: true
reduce_done_homework: true
current_week_only: false
This card can be used with all homework sensors.
type: custom:pronote-grades-card
entity: sensor.pronote_XXXX_YYYY_grades
grade_format: full # 'full' will display grade as "X/Y", 'short' will display "X"
display_header: true
display_date: true
display_comment: true
display_class_average: true
compare_with_class_average: true
compare_with_ratio: null # use a float number, e.g. '0.6' to compare with the grade / out_of ratio
display_coefficient: true
display_class_min: true
display_class_max: true
display_new_grade_notice: true
max_grades: null
type: custom:pronote-averages-card
entity: sensor.pronote_XXXX_YYYY_averages
average_format: full # 'full' will display grade as "X/Y", 'short' will display "X"
display_header: true
compare_with_class_average: true
compare_with_ratio: null # use a float number, e.g. '0.6' to compare with the grade / out_of ratio
display_class_average: true
display_class_min: true
display_class_max: true
type: custom:pronote-evaluations-card
entity: sensor.pronote_XXXX_YYYY_evaluations
display_header: true
display_description: true
display_teacher: true
display_date: true
display_comment: true
display_coefficient: true
max_evaluations: null
child_name: null
type: custom:pronote-absences-card
entity: sensor.pronote_XXXX_YYYY_absences
display_header: true
max_absences: null
child_name: null
type: custom:pronote-delays-card
entity: sensor.pronote_XXXX_YYYY_delays
display_header: true
max_delays: null
child_name: null