diff --git a/custom_components/ynab_custom/config_flow.py b/custom_components/ynab_custom/config_flow.py index 01d5460..ebf10d1 100644 --- a/custom_components/ynab_custom/config_flow.py +++ b/custom_components/ynab_custom/config_flow.py @@ -29,6 +29,7 @@ "CHF": "CHF (Swiss Franc)", "SEK": "kr (Swedish Krona)", "NZD": "NZ$ (New Zealand Dollar)", + "NIS": "₪ (New Israeli Shekel)", } # Polling interval options (5-60 minutes) diff --git a/custom_components/ynab_custom/const.py b/custom_components/ynab_custom/const.py index 36dbca4..2fbeb7d 100644 --- a/custom_components/ynab_custom/const.py +++ b/custom_components/ynab_custom/const.py @@ -29,5 +29,6 @@ def get_currency_symbol(currency_code): "CHF": "CHF", "SEK": "kr", "NZD": "NZ$", + "NIS": "₪", } return currency_map.get(currency_code, "$") # Default to USD if not found diff --git a/custom_components/ynab_custom/sensor.py b/custom_components/ynab_custom/sensor.py index 7192320..11ab0fc 100644 --- a/custom_components/ynab_custom/sensor.py +++ b/custom_components/ynab_custom/sensor.py @@ -30,6 +30,7 @@ def get_currency_symbol(currency_code): "CHF": "CHF", "SEK": "kr", "NZD": "NZ$", + "NIS": "₪", } return currency_map.get(currency_code, "$")