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:
springstan 2019-11-26 22:09:00 +01:00 committed by Fabian Affolter
parent 0849d42dc6
commit b72c6c4424

View file

@ -13,6 +13,7 @@ import homeassistant.helpers.config_validation as cv
_LOGGER = logging.getLogger(__name__)
# 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
ALL_COUNTRIES = [
"Argentina",
@ -42,6 +43,8 @@ ALL_COUNTRIES = [
"Denmark",
"DK",
"England",
"Estonia",
"EE",
"EuropeanCentralBank",
"ECB",
"TAR",
@ -54,7 +57,9 @@ ALL_COUNTRIES = [
"Hungary",
"HU",
"Honduras",
"HUD",
"HND",
"Iceland",
"IS",
"India",
"IND",
"Ireland",
@ -64,6 +69,8 @@ ALL_COUNTRIES = [
"IT",
"Japan",
"JP",
"Kenya",
"KE",
"Lithuania",
"LT",
"Luxembourg",
@ -77,6 +84,9 @@ ALL_COUNTRIES = [
"Northern Ireland",
"Norway",
"NO",
"Peru",
"PE",
"Poland",
"Polish",
"PL",
"Portugal",