diff --git a/custom_components/fireflyiii_integration/integrations/fireflyiii.py b/custom_components/fireflyiii_integration/integrations/fireflyiii.py index c9702fa..e2ce254 100644 --- a/custom_components/fireflyiii_integration/integrations/fireflyiii.py +++ b/custom_components/fireflyiii_integration/integrations/fireflyiii.py @@ -624,8 +624,8 @@ async def budgets(self, ids=None, currency=None) -> FireflyiiiObjectBaseList: limit_attributes = budget_limit.get("attributes", {}) try: - start_limit = datetime.fromisoformat(limit_attributes.get("start")) - end_limit = datetime.fromisoformat(limit_attributes.get("end")) + start_limit = datetime.fromisoformat(limit_attributes.get("start","")) + end_limit = datetime.fromisoformat(limit_attributes.get("end","")) except (ValueError, TypeError): start_limit = None end_limit = None