Skip to content

Commit

Permalink
Ajout de l'attribut nom dans les moyennes de la discipline
Browse files Browse the repository at this point in the history
  • Loading branch information
Giga77 committed Nov 23, 2024
1 parent b0656ff commit 2fd3475
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/ecole_directe/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"documentation": "https://github.com/hacf-fr/hass-ecoledirecte",
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/hacf-fr/hass-ecoledirecte/issues",
"version": "0.3.17"
"version": "0.3.18"
}
1 change: 1 addition & 0 deletions custom_components/ecole_directe/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ def extra_state_attributes(self):

return {
"updated_at": self.coordinator.last_update_success_time,
"nom": discipline["name"],
"moyenneClasse": discipline["moyenneClasse"],
"moyenneMin": discipline["moyenneMin"],
"moyenneMax": discipline["moyenneMax"],
Expand Down

0 comments on commit 2fd3475

Please sign in to comment.