hass-pronote
hass-pronote copied to clipboard
<bug> canceled_lessons_counter issue in timetable sensors
J'ai décrit le soucis dans le forum là: https://forum.hacf.fr/t/article-integration-pronote-cours-devoirs-notes-etc/24682/1613
Ci dessous le contenu de mon sensor timetable_tomorow pour ma fille :
Sensor
updated_at: 2024-09-09T09:12:27.666963+00:00
lessons:
- start_at: '2024-09-10T08:30:00'
end_at: '2024-09-10T09:25:00'
start_time: '08:30'
end_time: '09:25'
lesson: ARTS PLASTIQUES
classroom: 011 ARTS PLASTIQUES
canceled: false
status: null
background_color: '#5C782A'
teacher_name: TIREFORT C.
teacher_names:
- TIREFORT C.
classrooms:
- 011 ARTS PLASTIQUES
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 110
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-10T10:30:00'
end_at: '2024-09-10T11:25:00'
start_time: '10:30'
end_time: '11:25'
lesson: MATHEMATIQUES
classroom: '116'
canceled: false
status: null
background_color: '#6ACAF2'
teacher_name: OBERT G.
teacher_names:
- OBERT G.
classrooms:
- '116'
outing: false
memo: null
group_name: '[5MATHS4]'
group_names:
- '[5MATHS4]'
exempted: false
virtual_classrooms: []
num: 761
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-10T11:25:00'
end_at: '2024-09-10T12:20:00'
start_time: '11:25'
end_time: '12:20'
lesson: ANGLAIS LV1
classroom: '106'
canceled: false
status: null
background_color: '#C93E69'
teacher_name: LINTIGNAT G.
teacher_names:
- LINTIGNAT G.
classrooms:
- '106'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 111
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-10T14:15:00'
end_at: '2024-09-10T15:10:00'
start_time: '14:15'
end_time: '15:10'
lesson: FRANCAIS
classroom: A016
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- A016
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 868
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-10T15:10:00'
end_at: '2024-09-10T16:05:00'
start_time: '15:10'
end_time: '16:05'
lesson: ESPAGNOL LV1
classroom: P20
canceled: false
status: null
background_color: '#FFED00'
teacher_name: MAILLE HERNANDEZ E.
teacher_names:
- MAILLE HERNANDEZ E.
classrooms:
- P20
outing: false
memo: null
group_name: '[56ESP1]'
group_names:
- '[56ESP1]'
exempted: false
virtual_classrooms: []
num: 1029
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-10T16:05:00'
end_at: '2024-09-10T17:00:00'
start_time: '16:05'
end_time: '17:00'
lesson: EDUCATION MUSICALE
classroom: 012 MUSIQUE
canceled: false
status: null
background_color: '#212853'
teacher_name: ELHAJJ N.
teacher_names:
- ELHAJJ N.
classrooms:
- 012 MUSIQUE
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 1408
detention: false
test: false
is_morning: false
is_afternoon: true
canceled_lessons_counter: 1
day_start_at: 2024-09-10T08:30:00
day_end_at: 2024-09-10T17:00:00
lunch_break_start_at: 2024-09-10T12:20:00
lunch_break_end_at: 2024-09-10T14:15:00
friendly_name: pronote_xxxxx_louise_timetable_tomorrow
Je ne comprend pas pourquoi le compteur canceled_lessons_counter est à 1.
Il y a des trous dans l'emploi du temps de cette journée, mais pas d'annulation:
La vue pronote "officielle":
Elle a un trou tous les mardis matins
La vue HA via la carte custom:
On retrouve un truc similaire dans timetable period avec le compteur à 2
Sensor
updated_at: 2024-09-09T09:27:28.680626+00:00
lessons:
- start_at: '2024-09-09T08:30:00'
end_at: '2024-09-09T09:25:00'
start_time: '08:30'
end_time: '09:25'
lesson: MATHEMATIQUES
classroom: '118'
canceled: false
status: null
background_color: '#6ACAF2'
teacher_name: OBERT G.
teacher_names:
- OBERT G.
classrooms:
- '118'
outing: false
memo: null
group_name: '[5MATHS4]'
group_names:
- '[5MATHS4]'
exempted: false
virtual_classrooms: []
num: 756
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-09T09:25:00'
end_at: '2024-09-09T10:17:00'
start_time: '09:25'
end_time: '10:17'
lesson: HISTOIRE-GEOGRAPHIE
classroom: '004'
canceled: false
status: null
background_color: '#E73A1F'
teacher_name: CAULET S.
teacher_names:
- CAULET S.
classrooms:
- '004'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 290
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-09T10:30:00'
end_at: '2024-09-09T12:20:00'
start_time: '10:30'
end_time: '12:20'
lesson: ED.PHYSIQUE & SPORT.
classroom: EPS
canceled: false
status: null
background_color: '#C0C0C0'
teacher_name: BATTUT J.
teacher_names:
- BATTUT J.
classrooms:
- EPS
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 115
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-09T14:15:00'
end_at: '2024-09-09T15:10:00'
start_time: '14:15'
end_time: '15:10'
lesson: SCIENCES VIE & TERRE
classroom: '112'
canceled: false
status: null
background_color: '#F3D0B4'
teacher_name: CALVET A.
teacher_names:
- CALVET A.
classrooms:
- '112'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 576
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-09T15:10:00'
end_at: '2024-09-09T16:05:00'
start_time: '15:10'
end_time: '16:05'
lesson: FRANCAIS
classroom: '001'
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- '001'
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 862
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-09T16:05:00'
end_at: '2024-09-09T17:00:00'
start_time: '16:05'
end_time: '17:00'
lesson: ESPAGNOL LV1
classroom: P20
canceled: false
status: null
background_color: '#FFED00'
teacher_name: MAILLE HERNANDEZ E.
teacher_names:
- MAILLE HERNANDEZ E.
classrooms:
- P20
outing: false
memo: null
group_name: '[56ESP1]'
group_names:
- '[56ESP1]'
exempted: false
virtual_classrooms: []
num: 1034
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-10T08:30:00'
end_at: '2024-09-10T09:25:00'
start_time: '08:30'
end_time: '09:25'
lesson: ARTS PLASTIQUES
classroom: 011 ARTS PLASTIQUES
canceled: false
status: null
background_color: '#5C782A'
teacher_name: TIREFORT C.
teacher_names:
- TIREFORT C.
classrooms:
- 011 ARTS PLASTIQUES
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 110
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-10T10:30:00'
end_at: '2024-09-10T11:25:00'
start_time: '10:30'
end_time: '11:25'
lesson: MATHEMATIQUES
classroom: '116'
canceled: false
status: null
background_color: '#6ACAF2'
teacher_name: OBERT G.
teacher_names:
- OBERT G.
classrooms:
- '116'
outing: false
memo: null
group_name: '[5MATHS4]'
group_names:
- '[5MATHS4]'
exempted: false
virtual_classrooms: []
num: 761
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-10T11:25:00'
end_at: '2024-09-10T12:20:00'
start_time: '11:25'
end_time: '12:20'
lesson: ANGLAIS LV1
classroom: '106'
canceled: false
status: null
background_color: '#C93E69'
teacher_name: LINTIGNAT G.
teacher_names:
- LINTIGNAT G.
classrooms:
- '106'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 111
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-10T14:15:00'
end_at: '2024-09-10T15:10:00'
start_time: '14:15'
end_time: '15:10'
lesson: FRANCAIS
classroom: A016
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- A016
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 868
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-10T15:10:00'
end_at: '2024-09-10T16:05:00'
start_time: '15:10'
end_time: '16:05'
lesson: ESPAGNOL LV1
classroom: P20
canceled: false
status: null
background_color: '#FFED00'
teacher_name: MAILLE HERNANDEZ E.
teacher_names:
- MAILLE HERNANDEZ E.
classrooms:
- P20
outing: false
memo: null
group_name: '[56ESP1]'
group_names:
- '[56ESP1]'
exempted: false
virtual_classrooms: []
num: 1029
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-10T16:05:00'
end_at: '2024-09-10T17:00:00'
start_time: '16:05'
end_time: '17:00'
lesson: EDUCATION MUSICALE
classroom: 012 MUSIQUE
canceled: false
status: null
background_color: '#212853'
teacher_name: ELHAJJ N.
teacher_names:
- ELHAJJ N.
classrooms:
- 012 MUSIQUE
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 1408
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-11T08:30:00'
end_at: '2024-09-11T09:25:00'
start_time: '08:30'
end_time: '09:25'
lesson: PHYSIQUE-CHIMIE
classroom: '110'
canceled: false
status: null
background_color: '#43B061'
teacher_name: TEXIER F.
teacher_names:
- TEXIER F.
classrooms:
- '110'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 569
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-11T09:25:00'
end_at: '2024-09-11T10:17:00'
start_time: '09:25'
end_time: '10:17'
lesson: FRANCAIS
classroom: '003'
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- '003'
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 856
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-11T10:30:00'
end_at: '2024-09-11T11:25:00'
start_time: '10:30'
end_time: '11:25'
lesson: HISTOIRE-GEOGRAPHIE
classroom: '004'
canceled: false
status: null
background_color: '#E73A1F'
teacher_name: CAULET S.
teacher_names:
- CAULET S.
classrooms:
- '004'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 291
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-11T11:25:00'
end_at: '2024-09-11T12:20:00'
start_time: '11:25'
end_time: '12:20'
lesson: ANGLAIS LV1
classroom: '106'
canceled: false
status: null
background_color: '#C93E69'
teacher_name: LINTIGNAT G.
teacher_names:
- LINTIGNAT G.
classrooms:
- '106'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 113
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-12T08:30:00'
end_at: '2024-09-12T09:25:00'
start_time: '08:30'
end_time: '09:25'
lesson: TECHNOLOGIE
classroom: Techno 2
canceled: false
status: null
background_color: '#FFFFFF'
teacher_name: ZIDELMAL F.
teacher_names:
- ZIDELMAL F.
classrooms:
- Techno 2
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 117
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-12T09:25:00'
end_at: '2024-09-12T10:17:00'
start_time: '09:25'
end_time: '10:17'
lesson: MATHEMATIQUES
classroom: '118'
canceled: false
status: null
background_color: '#6ACAF2'
teacher_name: OBERT G.
teacher_names:
- OBERT G.
classrooms:
- '118'
outing: false
memo: null
group_name: '[5MATHS4]'
group_names:
- '[5MATHS4]'
exempted: false
virtual_classrooms: []
num: 766
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-12T10:30:00'
end_at: '2024-09-12T11:25:00'
start_time: '10:30'
end_time: '11:25'
lesson: FRANCAIS
classroom: '001'
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- '001'
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 850
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-12T11:25:00'
end_at: '2024-09-12T12:20:00'
start_time: '11:25'
end_time: '12:20'
lesson: FRANCAIS
classroom: '001'
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- '001'
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 873
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-12T14:15:00'
end_at: '2024-09-12T15:10:00'
start_time: '14:15'
end_time: '15:10'
lesson: ESPAGNOL LV1
classroom: P20
canceled: false
status: null
background_color: '#FFED00'
teacher_name: MAILLE HERNANDEZ E.
teacher_names:
- MAILLE HERNANDEZ E.
classrooms:
- P20
outing: false
memo: null
group_name: '[56ESP1]'
group_names:
- '[56ESP1]'
exempted: false
virtual_classrooms: []
num: 1024
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-13T08:30:00'
end_at: '2024-09-13T10:17:00'
start_time: '08:30'
end_time: '10:17'
lesson: ED.PHYSIQUE & SPORT.
classroom: EPS
canceled: false
status: null
background_color: '#C0C0C0'
teacher_name: BATTUT J.
teacher_names:
- BATTUT J.
classrooms:
- EPS
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 116
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-13T10:30:00'
end_at: '2024-09-13T11:25:00'
start_time: '10:30'
end_time: '11:25'
lesson: MATHEMATIQUES
classroom: '118'
canceled: false
status: null
background_color: '#6ACAF2'
teacher_name: OBERT G.
teacher_names:
- OBERT G.
classrooms:
- '118'
outing: false
memo: null
group_name: '[5MATHS4]'
group_names:
- '[5MATHS4]'
exempted: false
virtual_classrooms: []
num: 771
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-13T13:20:00'
end_at: '2024-09-13T14:15:00'
start_time: '13:20'
end_time: '14:15'
lesson: HISTOIRE-GEOGRAPHIE
classroom: '004'
canceled: false
status: null
background_color: '#E73A1F'
teacher_name: CAULET S.
teacher_names:
- CAULET S.
classrooms:
- '004'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 292
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-13T15:10:00'
end_at: '2024-09-13T16:05:00'
start_time: '15:10'
end_time: '16:05'
lesson: ANGLAIS LV1
classroom: '106'
canceled: false
status: null
background_color: '#C93E69'
teacher_name: LINTIGNAT G.
teacher_names:
- LINTIGNAT G.
classrooms:
- '106'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 112
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-16T08:30:00'
end_at: '2024-09-16T09:25:00'
start_time: '08:30'
end_time: '09:25'
lesson: MATHEMATIQUES
classroom: '118'
canceled: false
status: null
background_color: '#6ACAF2'
teacher_name: OBERT G.
teacher_names:
- OBERT G.
classrooms:
- '118'
outing: false
memo: null
group_name: '[5MATHS4]'
group_names:
- '[5MATHS4]'
exempted: false
virtual_classrooms: []
num: 756
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-16T09:25:00'
end_at: '2024-09-16T10:17:00'
start_time: '09:25'
end_time: '10:17'
lesson: HISTOIRE-GEOGRAPHIE
classroom: '004'
canceled: false
status: null
background_color: '#E73A1F'
teacher_name: CAULET S.
teacher_names:
- CAULET S.
classrooms:
- '004'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 290
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-16T10:30:00'
end_at: '2024-09-16T12:20:00'
start_time: '10:30'
end_time: '12:20'
lesson: ED.PHYSIQUE & SPORT.
classroom: EPS
canceled: false
status: null
background_color: '#C0C0C0'
teacher_name: BATTUT J.
teacher_names:
- BATTUT J.
classrooms:
- EPS
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 115
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-16T14:15:00'
end_at: '2024-09-16T15:10:00'
start_time: '14:15'
end_time: '15:10'
lesson: SCIENCES VIE & TERRE
classroom: '112'
canceled: false
status: null
background_color: '#F3D0B4'
teacher_name: CALVET A.
teacher_names:
- CALVET A.
classrooms:
- '112'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 576
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-16T15:10:00'
end_at: '2024-09-16T16:05:00'
start_time: '15:10'
end_time: '16:05'
lesson: FRANCAIS
classroom: '001'
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- '001'
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 862
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-17T08:30:00'
end_at: '2024-09-17T09:25:00'
start_time: '08:30'
end_time: '09:25'
lesson: ARTS PLASTIQUES
classroom: 011 ARTS PLASTIQUES
canceled: false
status: null
background_color: '#5C782A'
teacher_name: TIREFORT C.
teacher_names:
- TIREFORT C.
classrooms:
- 011 ARTS PLASTIQUES
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 110
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-17T10:30:00'
end_at: '2024-09-17T11:25:00'
start_time: '10:30'
end_time: '11:25'
lesson: MATHEMATIQUES
classroom: '116'
canceled: false
status: null
background_color: '#6ACAF2'
teacher_name: OBERT G.
teacher_names:
- OBERT G.
classrooms:
- '116'
outing: false
memo: null
group_name: '[5MATHS4]'
group_names:
- '[5MATHS4]'
exempted: false
virtual_classrooms: []
num: 761
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-17T11:25:00'
end_at: '2024-09-17T12:20:00'
start_time: '11:25'
end_time: '12:20'
lesson: ANGLAIS LV1
classroom: '106'
canceled: false
status: null
background_color: '#C93E69'
teacher_name: LINTIGNAT G.
teacher_names:
- LINTIGNAT G.
classrooms:
- '106'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 111
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-17T14:15:00'
end_at: '2024-09-17T15:10:00'
start_time: '14:15'
end_time: '15:10'
lesson: FRANCAIS
classroom: A016
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- A016
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 868
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-17T15:10:00'
end_at: '2024-09-17T16:05:00'
start_time: '15:10'
end_time: '16:05'
lesson: ESPAGNOL LV1
classroom: P20
canceled: false
status: null
background_color: '#FFED00'
teacher_name: MAILLE HERNANDEZ E.
teacher_names:
- MAILLE HERNANDEZ E.
classrooms:
- P20
outing: false
memo: null
group_name: '[56ESP1]'
group_names:
- '[56ESP1]'
exempted: false
virtual_classrooms: []
num: 1029
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-17T16:05:00'
end_at: '2024-09-17T17:00:00'
start_time: '16:05'
end_time: '17:00'
lesson: EDUCATION MUSICALE
classroom: 012 MUSIQUE
canceled: false
status: null
background_color: '#212853'
teacher_name: ELHAJJ N.
teacher_names:
- ELHAJJ N.
classrooms:
- 012 MUSIQUE
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 1408
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-18T08:30:00'
end_at: '2024-09-18T09:25:00'
start_time: '08:30'
end_time: '09:25'
lesson: PHYSIQUE-CHIMIE
classroom: '110'
canceled: false
status: null
background_color: '#43B061'
teacher_name: TEXIER F.
teacher_names:
- TEXIER F.
classrooms:
- '110'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 569
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-18T09:25:00'
end_at: '2024-09-18T10:17:00'
start_time: '09:25'
end_time: '10:17'
lesson: FRANCAIS
classroom: '003'
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- '003'
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 856
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-18T10:30:00'
end_at: '2024-09-18T11:25:00'
start_time: '10:30'
end_time: '11:25'
lesson: HISTOIRE-GEOGRAPHIE
classroom: '004'
canceled: false
status: null
background_color: '#E73A1F'
teacher_name: CAULET S.
teacher_names:
- CAULET S.
classrooms:
- '004'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 291
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-18T11:25:00'
end_at: '2024-09-18T12:20:00'
start_time: '11:25'
end_time: '12:20'
lesson: ANGLAIS LV1
classroom: '106'
canceled: false
status: null
background_color: '#C93E69'
teacher_name: LINTIGNAT G.
teacher_names:
- LINTIGNAT G.
classrooms:
- '106'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 113
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-19T08:30:00'
end_at: '2024-09-19T09:25:00'
start_time: '08:30'
end_time: '09:25'
lesson: TECHNOLOGIE
classroom: Techno 2
canceled: false
status: null
background_color: '#FFFFFF'
teacher_name: ZIDELMAL F.
teacher_names:
- ZIDELMAL F.
classrooms:
- Techno 2
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 117
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-19T09:25:00'
end_at: '2024-09-19T10:17:00'
start_time: '09:25'
end_time: '10:17'
lesson: MATHEMATIQUES
classroom: '118'
canceled: false
status: null
background_color: '#6ACAF2'
teacher_name: OBERT G.
teacher_names:
- OBERT G.
classrooms:
- '118'
outing: false
memo: null
group_name: '[5MATHS4]'
group_names:
- '[5MATHS4]'
exempted: false
virtual_classrooms: []
num: 766
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-19T10:30:00'
end_at: '2024-09-19T11:25:00'
start_time: '10:30'
end_time: '11:25'
lesson: FRANCAIS
classroom: '001'
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- '001'
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 850
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-19T14:15:00'
end_at: '2024-09-19T15:10:00'
start_time: '14:15'
end_time: '15:10'
lesson: ESPAGNOL LV1
classroom: P20
canceled: false
status: null
background_color: '#FFED00'
teacher_name: MAILLE HERNANDEZ E.
teacher_names:
- MAILLE HERNANDEZ E.
classrooms:
- P20
outing: false
memo: null
group_name: '[56ESP1]'
group_names:
- '[56ESP1]'
exempted: false
virtual_classrooms: []
num: 1024
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-20T08:30:00'
end_at: '2024-09-20T09:25:00'
start_time: '08:30'
end_time: '09:25'
lesson: SCIENCES VIE & TERRE
classroom: '112'
canceled: false
status: null
background_color: '#F3D0B4'
teacher_name: CALVET A.
teacher_names:
- CALVET A.
classrooms:
- '112'
outing: false
memo: null
group_name: '[506P.1]'
group_names:
- '[506P.1]'
exempted: false
virtual_classrooms: []
num: 687
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-20T09:25:00'
end_at: '2024-09-20T10:17:00'
start_time: '09:25'
end_time: '10:17'
lesson: PHYSIQUE-CHIMIE
classroom: '110'
canceled: false
status: null
background_color: '#43B061'
teacher_name: TEXIER F.
teacher_names:
- TEXIER F.
classrooms:
- '110'
outing: false
memo: null
group_name: '[506P.1]'
group_names:
- '[506P.1]'
exempted: false
virtual_classrooms: []
num: 1016
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-20T10:30:00'
end_at: '2024-09-20T11:25:00'
start_time: '10:30'
end_time: '11:25'
lesson: TECHNOLOGIE
classroom: Techno 2
canceled: false
status: null
background_color: '#FFFFFF'
teacher_name: ZIDELMAL F.
teacher_names:
- ZIDELMAL F.
classrooms:
- Techno 2
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 118
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-20T13:20:00'
end_at: '2024-09-20T14:15:00'
start_time: '13:20'
end_time: '14:15'
lesson: HISTOIRE-GEOGRAPHIE
classroom: '004'
canceled: false
status: null
background_color: '#E73A1F'
teacher_name: CAULET S.
teacher_names:
- CAULET S.
classrooms:
- '004'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 292
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-20T14:15:00'
end_at: '2024-09-20T15:10:00'
start_time: '14:15'
end_time: '15:10'
lesson: VIE DE CLASSE
classroom: Salles Maths
canceled: false
status: null
background_color: '#C5B074'
teacher_name: BATTUT J.
teacher_names:
- BATTUT J.
classrooms:
- Salles Maths
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 950
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-20T15:10:00'
end_at: '2024-09-20T16:05:00'
start_time: '15:10'
end_time: '16:05'
lesson: ANGLAIS LV1
classroom: '106'
canceled: false
status: null
background_color: '#C93E69'
teacher_name: LINTIGNAT G.
teacher_names:
- LINTIGNAT G.
classrooms:
- '106'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 112
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-23T08:30:00'
end_at: '2024-09-23T09:25:00'
start_time: '08:30'
end_time: '09:25'
lesson: MATHEMATIQUES
classroom: '118'
canceled: false
status: null
background_color: '#6ACAF2'
teacher_name: OBERT G.
teacher_names:
- OBERT G.
classrooms:
- '118'
outing: false
memo: null
group_name: '[5MATHS4]'
group_names:
- '[5MATHS4]'
exempted: false
virtual_classrooms: []
num: 756
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-23T09:25:00'
end_at: '2024-09-23T10:17:00'
start_time: '09:25'
end_time: '10:17'
lesson: HISTOIRE-GEOGRAPHIE
classroom: '004'
canceled: false
status: null
background_color: '#E73A1F'
teacher_name: CAULET S.
teacher_names:
- CAULET S.
classrooms:
- '004'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 290
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-23T10:30:00'
end_at: '2024-09-23T12:20:00'
start_time: '10:30'
end_time: '12:20'
lesson: ED.PHYSIQUE & SPORT.
classroom: EPS
canceled: false
status: null
background_color: '#C0C0C0'
teacher_name: BATTUT J.
teacher_names:
- BATTUT J.
classrooms:
- EPS
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 115
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-23T14:15:00'
end_at: '2024-09-23T15:10:00'
start_time: '14:15'
end_time: '15:10'
lesson: SCIENCES VIE & TERRE
classroom: '112'
canceled: false
status: null
background_color: '#F3D0B4'
teacher_name: CALVET A.
teacher_names:
- CALVET A.
classrooms:
- '112'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 576
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-23T15:10:00'
end_at: '2024-09-23T16:05:00'
start_time: '15:10'
end_time: '16:05'
lesson: FRANCAIS
classroom: '001'
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- '001'
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 862
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-23T16:05:00'
end_at: '2024-09-23T17:00:00'
start_time: '16:05'
end_time: '17:00'
lesson: ESPAGNOL LV1
classroom: P20
canceled: false
status: null
background_color: '#FFED00'
teacher_name: MAILLE HERNANDEZ E.
teacher_names:
- MAILLE HERNANDEZ E.
classrooms:
- P20
outing: false
memo: null
group_name: '[56ESP1]'
group_names:
- '[56ESP1]'
exempted: false
virtual_classrooms: []
num: 1034
detention: false
test: false
is_morning: false
is_afternoon: true
canceled_lessons_counter: 2
day_start_at: 2024-09-09T08:30:00
day_end_at: null
friendly_name: pronote_xxxx_louise_timetable_period
Alors que tous mes sensor du type :
- sensor:
- name: Cours annulés Louise - Total
unique_id: sensor.cancelled_lesson_louise_period
icon: "mdi:clock-time-five-outline"
state: >-
{% set nb = namespace(counter=0) %}
{% if state_attr('sensor.pronote_xxxx_louise_timetable_period', 'lessons')[0] is defined %}
{% set items = state_attr('sensor.pronote_xxxxt_louise_timetable_period','lessons') %}
{% for i in range(0, items | count, 1) %}
{%- if items[i].canceled == True -%}
{% set nb.counter = nb.counter + 1 %}
{%- endif -%}
{% endfor %}
{% endif %}
{{nb.counter}}
Eux remontent bien 0...
Mon fiston a aussi des trous dans son emploi du temps, mais rien de similaire dans les sensors de l'intégration.
Il y a dans la structure de la timetable de ma fille quelque chose qui trompe ton code... Mais quoi?
Pour info, problème toujours présent.
Principal effet de bord, je me base sur cette info pour afficher les "!!!" sur le dashboard qui indiquent une modification d'emploi du temps
or il n'y en a pas ces jours ci (touchons du bois...)
le timetable_period lui indique pourtant "canceled_lessons_counter: 4"
Je te met le sensor "pour la science":
Sensor
updated_at: 2024-09-23T15:00:38.657746+00:00
lessons:
- start_at: '2024-09-23T08:30:00'
end_at: '2024-09-23T09:25:00'
start_time: '08:30'
end_time: '09:25'
lesson: MATHEMATIQUES
classroom: '118'
canceled: false
status: null
background_color: '#6ACAF2'
teacher_name: OBERT G.
teacher_names:
- OBERT G.
classrooms:
- '118'
outing: false
memo: null
group_name: '[5MATHS4]'
group_names:
- '[5MATHS4]'
exempted: false
virtual_classrooms: []
num: 960
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-23T09:25:00'
end_at: '2024-09-23T10:17:00'
start_time: '09:25'
end_time: '10:17'
lesson: HISTOIRE-GEOGRAPHIE
classroom: '004'
canceled: false
status: null
background_color: '#E73A1F'
teacher_name: CAULET S.
teacher_names:
- CAULET S.
classrooms:
- '004'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 603
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-23T10:30:00'
end_at: '2024-09-23T12:20:00'
start_time: '10:30'
end_time: '12:20'
lesson: ED.PHYSIQUE & SPORT.
classroom: EPS
canceled: false
status: null
background_color: '#C0C0C0'
teacher_name: BATTUT J.
teacher_names:
- BATTUT J.
classrooms:
- EPS
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 437
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-23T13:20:00'
end_at: '2024-09-23T14:15:00'
start_time: '13:20'
end_time: '14:15'
lesson: ANGLAIS LV1
classroom: '106'
canceled: false
status: null
background_color: '#C93E69'
teacher_name: LINTIGNAT G.
teacher_names:
- LINTIGNAT G.
classrooms:
- '106'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 1397
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-23T14:15:00'
end_at: '2024-09-23T15:07:00'
start_time: '14:15'
end_time: '15:07'
lesson: SCIENCES VIE & TERRE
classroom: '112'
canceled: false
status: null
background_color: '#F3D0B4'
teacher_name: CALVET A.
teacher_names:
- CALVET A.
classrooms:
- '112'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 841
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-23T15:23:00'
end_at: '2024-09-23T16:15:00'
start_time: '15:23'
end_time: '16:15'
lesson: FRANCAIS
classroom: '001'
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- '001'
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 1058
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-23T16:18:00'
end_at: '2024-09-23T17:00:00'
start_time: '16:18'
end_time: '17:00'
lesson: ESPAGNOL LV1
classroom: P20
canceled: false
status: null
background_color: '#FFED00'
teacher_name: MAILLE HERNANDEZ E.
teacher_names:
- MAILLE HERNANDEZ E.
classrooms:
- P20
outing: false
memo: null
group_name: '[56ESP1]'
group_names:
- '[56ESP1]'
exempted: false
virtual_classrooms: []
num: 1227
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-24T09:25:00'
end_at: '2024-09-24T10:17:00'
start_time: '09:25'
end_time: '10:17'
lesson: EDUCATION MUSICALE
classroom: P21
canceled: false
status: null
background_color: '#212853'
teacher_name: ELHAJJ N.
teacher_names:
- ELHAJJ N.
classrooms:
- P21
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 2646
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-24T10:30:00'
end_at: '2024-09-24T11:25:00'
start_time: '10:30'
end_time: '11:25'
lesson: MATHEMATIQUES
classroom: '116'
canceled: false
status: null
background_color: '#6ACAF2'
teacher_name: OBERT G.
teacher_names:
- OBERT G.
classrooms:
- '116'
outing: false
memo: null
group_name: '[5MATHS4]'
group_names:
- '[5MATHS4]'
exempted: false
virtual_classrooms: []
num: 965
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-24T11:25:00'
end_at: '2024-09-24T12:20:00'
start_time: '11:25'
end_time: '12:20'
lesson: ANGLAIS LV1
classroom: '106'
canceled: false
status: null
background_color: '#C93E69'
teacher_name: LINTIGNAT G.
teacher_names:
- LINTIGNAT G.
classrooms:
- '106'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 434
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-24T14:15:00'
end_at: '2024-09-24T15:07:00'
start_time: '14:15'
end_time: '15:07'
lesson: FRANCAIS
classroom: A016
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- A016
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 1063
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-24T15:23:00'
end_at: '2024-09-24T16:15:00'
start_time: '15:23'
end_time: '16:15'
lesson: ESPAGNOL LV1
classroom: P20
canceled: false
status: null
background_color: '#FFED00'
teacher_name: MAILLE HERNANDEZ E.
teacher_names:
- MAILLE HERNANDEZ E.
classrooms:
- P20
outing: false
memo: null
group_name: '[56ESP1]'
group_names:
- '[56ESP1]'
exempted: false
virtual_classrooms: []
num: 1223
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-25T08:30:00'
end_at: '2024-09-25T09:25:00'
start_time: '08:30'
end_time: '09:25'
lesson: PHYSIQUE-CHIMIE
classroom: '110'
canceled: false
status: null
background_color: '#43B061'
teacher_name: TEXIER F.
teacher_names:
- TEXIER F.
classrooms:
- '110'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 834
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-25T09:25:00'
end_at: '2024-09-25T10:17:00'
start_time: '09:25'
end_time: '10:17'
lesson: FRANCAIS
classroom: '003'
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- '003'
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 1053
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-25T10:30:00'
end_at: '2024-09-25T11:25:00'
start_time: '10:30'
end_time: '11:25'
lesson: HISTOIRE-GEOGRAPHIE
classroom: '004'
canceled: false
status: null
background_color: '#E73A1F'
teacher_name: CAULET S.
teacher_names:
- CAULET S.
classrooms:
- '004'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 604
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-25T11:25:00'
end_at: '2024-09-25T12:20:00'
start_time: '11:25'
end_time: '12:20'
lesson: ANGLAIS LV1
classroom: '106'
canceled: false
status: null
background_color: '#C93E69'
teacher_name: LINTIGNAT G.
teacher_names:
- LINTIGNAT G.
classrooms:
- '106'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 435
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-26T08:30:00'
end_at: '2024-09-26T09:25:00'
start_time: '08:30'
end_time: '09:25'
lesson: TECHNOLOGIE
classroom: Techno 2
canceled: false
status: null
background_color: '#FFFFFF'
teacher_name: ZIDELMAL F.
teacher_names:
- ZIDELMAL F.
classrooms:
- Techno 2
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 439
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-26T09:25:00'
end_at: '2024-09-26T10:17:00'
start_time: '09:25'
end_time: '10:17'
lesson: MATHEMATIQUES
classroom: '118'
canceled: false
status: null
background_color: '#6ACAF2'
teacher_name: OBERT G.
teacher_names:
- OBERT G.
classrooms:
- '118'
outing: false
memo: null
group_name: '[5MATHS4]'
group_names:
- '[5MATHS4]'
exempted: false
virtual_classrooms: []
num: 970
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-26T10:30:00'
end_at: '2024-09-26T11:25:00'
start_time: '10:30'
end_time: '11:25'
lesson: FRANCAIS
classroom: '001'
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- '001'
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 1048
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-26T11:25:00'
end_at: '2024-09-26T12:20:00'
start_time: '11:25'
end_time: '12:20'
lesson: FRANCAIS
classroom: '001'
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- '001'
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 1068
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-26T14:15:00'
end_at: '2024-09-26T15:07:00'
start_time: '14:15'
end_time: '15:07'
lesson: ESPAGNOL LV1
classroom: P20
canceled: false
status: null
background_color: '#FFED00'
teacher_name: MAILLE HERNANDEZ E.
teacher_names:
- MAILLE HERNANDEZ E.
classrooms:
- P20
outing: false
memo: null
group_name: '[56ESP1]'
group_names:
- '[56ESP1]'
exempted: false
virtual_classrooms: []
num: 1219
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-27T08:30:00'
end_at: '2024-09-27T10:17:00'
start_time: '08:30'
end_time: '10:17'
lesson: ED.PHYSIQUE & SPORT.
classroom: EPS
canceled: false
status: Remplacement
background_color: '#C0C0C0'
teacher_name: ARNOULD E.
teacher_names:
- ARNOULD E.
classrooms:
- EPS
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 2655
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-27T10:30:00'
end_at: '2024-09-27T11:25:00'
start_time: '10:30'
end_time: '11:25'
lesson: MATHEMATIQUES
classroom: '118'
canceled: false
status: null
background_color: '#6ACAF2'
teacher_name: OBERT G.
teacher_names:
- OBERT G.
classrooms:
- '118'
outing: false
memo: null
group_name: '[5MATHS4]'
group_names:
- '[5MATHS4]'
exempted: false
virtual_classrooms: []
num: 975
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-27T11:25:00'
end_at: '2024-09-27T12:20:00'
start_time: '11:25'
end_time: '12:20'
lesson: ARTS PLASTIQUES
classroom: 011 ARTS PLASTIQUES
canceled: false
status: null
background_color: '#5C782A'
teacher_name: TIREFORT C.
teacher_names:
- TIREFORT C.
classrooms:
- 011 ARTS PLASTIQUES
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 433
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-27T13:20:00'
end_at: '2024-09-27T14:15:00'
start_time: '13:20'
end_time: '14:15'
lesson: HISTOIRE-GEOGRAPHIE
classroom: '004'
canceled: false
status: null
background_color: '#E73A1F'
teacher_name: CAULET S.
teacher_names:
- CAULET S.
classrooms:
- '004'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 605
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-30T08:30:00'
end_at: '2024-09-30T09:25:00'
start_time: '08:30'
end_time: '09:25'
lesson: MATHEMATIQUES
classroom: '118'
canceled: false
status: null
background_color: '#6ACAF2'
teacher_name: OBERT G.
teacher_names:
- OBERT G.
classrooms:
- '118'
outing: false
memo: null
group_name: '[5MATHS4]'
group_names:
- '[5MATHS4]'
exempted: false
virtual_classrooms: []
num: 960
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-30T09:25:00'
end_at: '2024-09-30T10:17:00'
start_time: '09:25'
end_time: '10:17'
lesson: HISTOIRE-GEOGRAPHIE
classroom: '004'
canceled: false
status: null
background_color: '#E73A1F'
teacher_name: CAULET S.
teacher_names:
- CAULET S.
classrooms:
- '004'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 603
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-30T10:30:00'
end_at: '2024-09-30T12:20:00'
start_time: '10:30'
end_time: '12:20'
lesson: ED.PHYSIQUE & SPORT.
classroom: EPS
canceled: false
status: null
background_color: '#C0C0C0'
teacher_name: BATTUT J.
teacher_names:
- BATTUT J.
classrooms:
- EPS
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 437
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-09-30T13:20:00'
end_at: '2024-09-30T14:15:00'
start_time: '13:20'
end_time: '14:15'
lesson: ANGLAIS LV1
classroom: '106'
canceled: false
status: null
background_color: '#C93E69'
teacher_name: LINTIGNAT G.
teacher_names:
- LINTIGNAT G.
classrooms:
- '106'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 1397
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-30T14:15:00'
end_at: '2024-09-30T15:07:00'
start_time: '14:15'
end_time: '15:07'
lesson: SCIENCES VIE & TERRE
classroom: '112'
canceled: false
status: null
background_color: '#F3D0B4'
teacher_name: CALVET A.
teacher_names:
- CALVET A.
classrooms:
- '112'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 841
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-09-30T15:23:00'
end_at: '2024-09-30T16:15:00'
start_time: '15:23'
end_time: '16:15'
lesson: FRANCAIS
classroom: '001'
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- '001'
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 1058
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-10-01T09:25:00'
end_at: '2024-10-01T10:17:00'
start_time: '09:25'
end_time: '10:17'
lesson: EDUCATION MUSICALE
classroom: P21
canceled: false
status: null
background_color: '#212853'
teacher_name: ELHAJJ N.
teacher_names:
- ELHAJJ N.
classrooms:
- P21
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 2647
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-10-01T10:30:00'
end_at: '2024-10-01T11:25:00'
start_time: '10:30'
end_time: '11:25'
lesson: MATHEMATIQUES
classroom: '116'
canceled: false
status: null
background_color: '#6ACAF2'
teacher_name: OBERT G.
teacher_names:
- OBERT G.
classrooms:
- '116'
outing: false
memo: null
group_name: '[5MATHS4]'
group_names:
- '[5MATHS4]'
exempted: false
virtual_classrooms: []
num: 965
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-10-01T11:25:00'
end_at: '2024-10-01T12:20:00'
start_time: '11:25'
end_time: '12:20'
lesson: ANGLAIS LV1
classroom: '106'
canceled: false
status: null
background_color: '#C93E69'
teacher_name: LINTIGNAT G.
teacher_names:
- LINTIGNAT G.
classrooms:
- '106'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 434
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-10-01T14:15:00'
end_at: '2024-10-01T15:07:00'
start_time: '14:15'
end_time: '15:07'
lesson: FRANCAIS
classroom: A016
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- A016
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 1063
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-10-01T15:23:00'
end_at: '2024-10-01T16:15:00'
start_time: '15:23'
end_time: '16:15'
lesson: ESPAGNOL LV1
classroom: P20
canceled: false
status: null
background_color: '#FFED00'
teacher_name: MAILLE HERNANDEZ E.
teacher_names:
- MAILLE HERNANDEZ E.
classrooms:
- P20
outing: false
memo: null
group_name: '[56ESP1]'
group_names:
- '[56ESP1]'
exempted: false
virtual_classrooms: []
num: 1223
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-10-02T08:30:00'
end_at: '2024-10-02T09:25:00'
start_time: '08:30'
end_time: '09:25'
lesson: PHYSIQUE-CHIMIE
classroom: '110'
canceled: false
status: null
background_color: '#43B061'
teacher_name: TEXIER F.
teacher_names:
- TEXIER F.
classrooms:
- '110'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 834
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-10-02T09:25:00'
end_at: '2024-10-02T10:17:00'
start_time: '09:25'
end_time: '10:17'
lesson: FRANCAIS
classroom: '003'
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- '003'
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 1053
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-10-02T10:30:00'
end_at: '2024-10-02T11:25:00'
start_time: '10:30'
end_time: '11:25'
lesson: HISTOIRE-GEOGRAPHIE
classroom: '004'
canceled: false
status: null
background_color: '#E73A1F'
teacher_name: CAULET S.
teacher_names:
- CAULET S.
classrooms:
- '004'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 604
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-10-02T11:25:00'
end_at: '2024-10-02T12:20:00'
start_time: '11:25'
end_time: '12:20'
lesson: ANGLAIS LV1
classroom: '106'
canceled: false
status: null
background_color: '#C93E69'
teacher_name: LINTIGNAT G.
teacher_names:
- LINTIGNAT G.
classrooms:
- '106'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 435
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-10-03T08:30:00'
end_at: '2024-10-03T09:25:00'
start_time: '08:30'
end_time: '09:25'
lesson: TECHNOLOGIE
classroom: Techno 2
canceled: false
status: null
background_color: '#FFFFFF'
teacher_name: ZIDELMAL F.
teacher_names:
- ZIDELMAL F.
classrooms:
- Techno 2
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 439
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-10-03T09:25:00'
end_at: '2024-10-03T10:17:00'
start_time: '09:25'
end_time: '10:17'
lesson: MATHEMATIQUES
classroom: '118'
canceled: false
status: null
background_color: '#6ACAF2'
teacher_name: OBERT G.
teacher_names:
- OBERT G.
classrooms:
- '118'
outing: false
memo: null
group_name: '[5MATHS4]'
group_names:
- '[5MATHS4]'
exempted: false
virtual_classrooms: []
num: 970
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-10-03T10:30:00'
end_at: '2024-10-03T11:25:00'
start_time: '10:30'
end_time: '11:25'
lesson: FRANCAIS
classroom: '001'
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- '001'
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 1048
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-10-03T14:15:00'
end_at: '2024-10-03T15:07:00'
start_time: '14:15'
end_time: '15:07'
lesson: ESPAGNOL LV1
classroom: P20
canceled: false
status: null
background_color: '#FFED00'
teacher_name: MAILLE HERNANDEZ E.
teacher_names:
- MAILLE HERNANDEZ E.
classrooms:
- P20
outing: false
memo: null
group_name: '[56ESP1]'
group_names:
- '[56ESP1]'
exempted: false
virtual_classrooms: []
num: 1219
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-10-04T08:30:00'
end_at: '2024-10-04T09:25:00'
start_time: '08:30'
end_time: '09:25'
lesson: SCIENCES VIE & TERRE
classroom: '112'
canceled: false
status: null
background_color: '#F3D0B4'
teacher_name: CALVET A.
teacher_names:
- CALVET A.
classrooms:
- '112'
outing: false
memo: null
group_name: '[506P.1]'
group_names:
- '[506P.1]'
exempted: false
virtual_classrooms: []
num: 895
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-10-04T09:25:00'
end_at: '2024-10-04T10:17:00'
start_time: '09:25'
end_time: '10:17'
lesson: PHYSIQUE-CHIMIE
classroom: '110'
canceled: false
status: null
background_color: '#43B061'
teacher_name: TEXIER F.
teacher_names:
- TEXIER F.
classrooms:
- '110'
outing: false
memo: null
group_name: '[506P.1]'
group_names:
- '[506P.1]'
exempted: false
virtual_classrooms: []
num: 1212
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-10-04T10:30:00'
end_at: '2024-10-04T11:25:00'
start_time: '10:30'
end_time: '11:25'
lesson: TECHNOLOGIE
classroom: Techno 2
canceled: false
status: null
background_color: '#FFFFFF'
teacher_name: ZIDELMAL F.
teacher_names:
- ZIDELMAL F.
classrooms:
- Techno 2
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 440
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-10-04T11:25:00'
end_at: '2024-10-04T12:20:00'
start_time: '11:25'
end_time: '12:20'
lesson: ARTS PLASTIQUES
classroom: 011 ARTS PLASTIQUES
canceled: false
status: null
background_color: '#5C782A'
teacher_name: TIREFORT C.
teacher_names:
- TIREFORT C.
classrooms:
- 011 ARTS PLASTIQUES
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 433
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-10-04T13:20:00'
end_at: '2024-10-04T14:15:00'
start_time: '13:20'
end_time: '14:15'
lesson: HISTOIRE-GEOGRAPHIE
classroom: '004'
canceled: false
status: null
background_color: '#E73A1F'
teacher_name: CAULET S.
teacher_names:
- CAULET S.
classrooms:
- '004'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 605
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-10-04T14:15:00'
end_at: '2024-10-04T15:07:00'
start_time: '14:15'
end_time: '15:07'
lesson: VIE DE CLASSE
classroom: Salles Maths
canceled: false
status: null
background_color: '#C5B074'
teacher_name: BATTUT J.
teacher_names:
- BATTUT J.
classrooms:
- Salles Maths
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 1149
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-10-07T08:30:00'
end_at: '2024-10-07T09:25:00'
start_time: '08:30'
end_time: '09:25'
lesson: MATHEMATIQUES
classroom: '118'
canceled: false
status: null
background_color: '#6ACAF2'
teacher_name: OBERT G.
teacher_names:
- OBERT G.
classrooms:
- '118'
outing: false
memo: null
group_name: '[5MATHS4]'
group_names:
- '[5MATHS4]'
exempted: false
virtual_classrooms: []
num: 960
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-10-07T09:25:00'
end_at: '2024-10-07T10:17:00'
start_time: '09:25'
end_time: '10:17'
lesson: HISTOIRE-GEOGRAPHIE
classroom: '004'
canceled: false
status: null
background_color: '#E73A1F'
teacher_name: CAULET S.
teacher_names:
- CAULET S.
classrooms:
- '004'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 603
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-10-07T10:30:00'
end_at: '2024-10-07T12:20:00'
start_time: '10:30'
end_time: '12:20'
lesson: ED.PHYSIQUE & SPORT.
classroom: EPS
canceled: false
status: null
background_color: '#C0C0C0'
teacher_name: BATTUT J.
teacher_names:
- BATTUT J.
classrooms:
- EPS
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 437
detention: false
test: false
is_morning: true
is_afternoon: false
- start_at: '2024-10-07T13:20:00'
end_at: '2024-10-07T14:15:00'
start_time: '13:20'
end_time: '14:15'
lesson: ANGLAIS LV1
classroom: '106'
canceled: false
status: null
background_color: '#C93E69'
teacher_name: LINTIGNAT G.
teacher_names:
- LINTIGNAT G.
classrooms:
- '106'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 1397
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-10-07T14:15:00'
end_at: '2024-10-07T15:07:00'
start_time: '14:15'
end_time: '15:07'
lesson: SCIENCES VIE & TERRE
classroom: '112'
canceled: false
status: null
background_color: '#F3D0B4'
teacher_name: CALVET A.
teacher_names:
- CALVET A.
classrooms:
- '112'
outing: false
memo: null
group_name: null
group_names: []
exempted: false
virtual_classrooms: []
num: 841
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-10-07T15:23:00'
end_at: '2024-10-07T16:15:00'
start_time: '15:23'
end_time: '16:15'
lesson: FRANCAIS
classroom: '001'
canceled: false
status: null
background_color: '#ED679B'
teacher_name: KENFACK GUEDIA A.
teacher_names:
- KENFACK GUEDIA A.
classrooms:
- '001'
outing: false
memo: null
group_name: '[5FRANC4]'
group_names:
- '[5FRANC4]'
exempted: false
virtual_classrooms: []
num: 2657
detention: false
test: false
is_morning: false
is_afternoon: true
- start_at: '2024-10-07T16:18:00'
end_at: '2024-10-07T17:00:00'
start_time: '16:18'
end_time: '17:00'
lesson: ESPAGNOL LV1
classroom: P20
canceled: false
status: null
background_color: '#FFED00'
teacher_name: MAILLE HERNANDEZ E.
teacher_names:
- MAILLE HERNANDEZ E.
classrooms:
- P20
outing: false
memo: null
group_name: '[56ESP1]'
group_names:
- '[56ESP1]'
exempted: false
virtual_classrooms: []
num: 1227
detention: false
test: false
is_morning: false
is_afternoon: true
canceled_lessons_counter: 4
day_start_at: 2024-09-23T08:30:00
day_end_at: null
friendly_name: pronote_xxxxxxx_louise_timetable_period
Hello,
A vrai dire, ce n'est pas forcément un bug, mais peut-être qu'il faudrait changer le comportement. En fait, quand je génère la liste des cours dans les attributs du sensor :
- si jamais une lesson est annulée, j'incrémente le compteur
- si jamais une lession est annulée mais qu'un autre cours commence à la même heure (= cours remplacé), je n'ajoute pas le cours annulé à la liste
Donc on se retrouve avec un compteur de cours annulés à 1, mais aucun cours annulé dans la liste. Après réflexion, c'est peut-être un comportement qui devrait être géré uniquement côté cartes, parce que l'info peut en effet être utilise dans les automatisations.
Je vais essayer de voir les impacts que ça peut avoir.
Just un petit Up pour savoir si ce comportement est toujours d'actualité ou si il est prévu de le changer?