Update list of supported countries for Workday Sensor (#29000)
* Updated list of supported countries * Added Honduras and Polish back to the list * Added HND for Honduras to the list
This commit is contained in:
parent
0849d42dc6
commit
b72c6c4424
1 changed files with 11 additions and 1 deletions
|
@ -13,6 +13,7 @@ import homeassistant.helpers.config_validation as cv
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
# List of all countries currently supported by holidays
|
# List of all countries currently supported by holidays
|
||||||
|
# Source: https://github.com/dr-prodigy/python-holidays#available-countries
|
||||||
# There seems to be no way to get the list out at runtime
|
# There seems to be no way to get the list out at runtime
|
||||||
ALL_COUNTRIES = [
|
ALL_COUNTRIES = [
|
||||||
"Argentina",
|
"Argentina",
|
||||||
|
@ -42,6 +43,8 @@ ALL_COUNTRIES = [
|
||||||
"Denmark",
|
"Denmark",
|
||||||
"DK",
|
"DK",
|
||||||
"England",
|
"England",
|
||||||
|
"Estonia",
|
||||||
|
"EE",
|
||||||
"EuropeanCentralBank",
|
"EuropeanCentralBank",
|
||||||
"ECB",
|
"ECB",
|
||||||
"TAR",
|
"TAR",
|
||||||
|
@ -54,7 +57,9 @@ ALL_COUNTRIES = [
|
||||||
"Hungary",
|
"Hungary",
|
||||||
"HU",
|
"HU",
|
||||||
"Honduras",
|
"Honduras",
|
||||||
"HUD",
|
"HND",
|
||||||
|
"Iceland",
|
||||||
|
"IS",
|
||||||
"India",
|
"India",
|
||||||
"IND",
|
"IND",
|
||||||
"Ireland",
|
"Ireland",
|
||||||
|
@ -64,6 +69,8 @@ ALL_COUNTRIES = [
|
||||||
"IT",
|
"IT",
|
||||||
"Japan",
|
"Japan",
|
||||||
"JP",
|
"JP",
|
||||||
|
"Kenya",
|
||||||
|
"KE",
|
||||||
"Lithuania",
|
"Lithuania",
|
||||||
"LT",
|
"LT",
|
||||||
"Luxembourg",
|
"Luxembourg",
|
||||||
|
@ -77,6 +84,9 @@ ALL_COUNTRIES = [
|
||||||
"Northern Ireland",
|
"Northern Ireland",
|
||||||
"Norway",
|
"Norway",
|
||||||
"NO",
|
"NO",
|
||||||
|
"Peru",
|
||||||
|
"PE",
|
||||||
|
"Poland",
|
||||||
"Polish",
|
"Polish",
|
||||||
"PL",
|
"PL",
|
||||||
"Portugal",
|
"Portugal",
|
||||||
|
|
Loading…
Add table
Reference in a new issue