delphiki / hass-pronote

Pronote integration for Home Assistant
58 stars 9 forks source link

BUG - punishments ne fonctionne pas avec 'current_period' #64

Open vingerha opened 7 months ago

vingerha commented 7 months ago

v1.13.6; aucun retour de données pour current_period Je propose de les extraire pour l'an et faire des filtres dans les cartes, p.e.


    periods = client.periods
    for period in periods:
        for punishment in period.punishments:
            if period.name == 'Année continue':
                jsondata['punishments'].append({
                    'period': period.name,
vingerha commented 6 months ago

Added PR : https://github.com/delphiki/hass-pronote/pull/66