diff --git a/custom_components/nexxtmove/client.py b/custom_components/nexxtmove/client.py index c89073c..e620114 100644 --- a/custom_components/nexxtmove/client.py +++ b/custom_components/nexxtmove/client.py @@ -196,7 +196,7 @@ def fetch_data(self): if charge.get("cleared") is False: non_invoiced_charges.append(charge) cost = charge.get("costVat") - if isinstance(cost, (int, float)): + if isinstance(cost, int | float): non_invoiced_amount += cost key = format_entity_name(f"{self.username} non invoiced")