diff --git a/services/operation_services.py b/services/operation_services.py index 9e72a95a4adf826e76508d493b1782878e19ca18..c8f27a2239d4832ee44c51503d6d1d0540d16e13 100644 --- a/services/operation_services.py +++ b/services/operation_services.py @@ -147,6 +147,7 @@ class OperationsService(Component): else None, "conso_tot": power_tot[0], "prod_tot": power_tot[1], + "month": power_tot[3], "conso_rate": cons_rate, "prod_rate": prod_rate, } @@ -708,6 +709,7 @@ class OperationsService(Component): "image": {"type": "string", "nullable": True}, "conso_tot": {"type": "float"}, "prod_tot": {"type": "float"}, + "month": {"type": "date"}, "conso_rate": {"type": "float"}, "prod_rate": {"type": "float"}, "news": {