Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update list of supported countries for Workday Sensor #29000

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 10 additions & 3 deletions homeassistant/components/workday/binary_sensor.py
Expand Up @@ -13,6 +13,7 @@
_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",
Expand Down Expand Up @@ -42,6 +43,8 @@
"Denmark",
"DK",
"England",
"Estonia",
"EE",
"EuropeanCentralBank",
"ECB",
"TAR",
Expand All @@ -53,8 +56,8 @@
"DE",
"Hungary",
"HU",
"Honduras",
"HUD",
springstan marked this conversation as resolved.
Show resolved Hide resolved
"Iceland",
"IS",
"India",
"IND",
"Ireland",
Expand All @@ -64,6 +67,8 @@
"IT",
"Japan",
"JP",
"Kenya",
"KE",
"Lithuania",
"LT",
"Luxembourg",
Expand All @@ -77,7 +82,9 @@
"Northern Ireland",
"Norway",
"NO",
"Polish",
springstan marked this conversation as resolved.
Show resolved Hide resolved
"Peru",
"PE",
"Poland",
"PL",
"Portugal",
"PT",
Expand Down