Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions custom_components/ynab_custom/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions custom_components/ynab_custom/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions custom_components/ynab_custom/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def get_currency_symbol(currency_code):
"CHF": "CHF",
"SEK": "kr",
"NZD": "NZ$",
"NIS": "₪",
}
return currency_map.get(currency_code, "$")

Expand Down