Upgrade holidays to 0.9.10 (#22182)

This commit is contained in:
Fabian Affolter authored and Paulus Schoutsen committed 2019-03-20 20:31:15 -07:00
1 parent e044eace20
commit 423d595edf
3 files changed
+19 -17

No files matched your search

@@ -1,9 +1,4 @@
""" """Sensor to indicate whether the current day is a workday."""
Sensor to indicate whether the current day is a workday.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/binary_sensor.workday/
"""
import logging import logging
from datetime import datetime, timedelta from datetime import datetime, timedelta
@@ -14,7 +9,7 @@ from homeassistant.const import CONF_NAME, WEEKDAYS
from homeassistant.components.binary_sensor import BinarySensorDevice from homeassistant.components.binary_sensor import BinarySensorDevice
import homeassistant.helpers.config_validation as cv import homeassistant.helpers.config_validation as cv
REQUIREMENTS = ['holidays==0.9.9'] REQUIREMENTS = ['holidays==0.9.10']
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)
@@ -22,15 +17,22 @@ _LOGGER = logging.getLogger(__name__)
# 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', 'AR', 'Australia', 'AU', 'Austria', 'AT', 'Argentina', 'AR', 'Australia', 'AU', 'Austria', 'AT',
'Brazil', 'BR', 'Belarus', 'BY', 'Belgium', 'BE', 'Brazil', 'BR', 'Belarus', 'BY', 'Belgium', 'BE', 'Bulgaria', 'BG',
'Canada', 'CA', 'Colombia', 'CO', 'Croatia', 'HR', 'Czech', 'CZ', 'Canada', 'CA', 'Colombia', 'CO', 'Croatia', 'HR', 'Czech', 'CZ',
'Denmark', 'DK', 'England', 'EuropeanCentralBank', 'ECB', 'TAR', 'Denmark', 'DK',
'Finland', 'FI', 'France', 'FRA', 'Germany', 'DE', 'Hungary', 'HU', 'England', 'EuropeanCentralBank', 'ECB', 'TAR',
'Honduras', 'HUD', 'Finland', 'FI', 'France', 'FRA',
'India', 'IND', 'Ireland', 'Isle of Man', 'Italy', 'IT', 'Japan', 'JP', 'Germany', 'DE',
'Mexico', 'MX', 'Netherlands', 'NL', 'NewZealand', 'NZ', 'Hungary', 'HU', 'Honduras', 'HUD',
'Northern Ireland', 'Norway', 'NO', 'Polish', 'PL', 'Portugal', 'PT', 'India', 'IND', 'Ireland', 'IE', 'Isle of Man', 'Italy', 'IT',
'PortugalExt', 'PTE', 'Scotland', 'Slovenia', 'SI', 'Slovakia', 'SK', 'Japan', 'JP',
'Lithuania', 'LT', 'Luxembourg', 'LU',
'Mexico', 'MX',
'Netherlands', 'NL', 'NewZealand', 'NZ', 'Northern Ireland',
'Norway', 'NO',
'Polish', 'PL', 'Portugal', 'PT', 'PortugalExt', 'PTE',
'Russia', 'RU',
'Scotland', 'Slovenia', 'SI', 'Slovakia', 'SK',
'South Africa', 'ZA', 'Spain', 'ES', 'Sweden', 'SE', 'Switzerland', 'CH', 'South Africa', 'ZA', 'Spain', 'ES', 'Sweden', 'SE', 'Switzerland', 'CH',
'Ukraine', 'UA', 'UnitedKingdom', 'UK', 'UnitedStates', 'US', 'Wales', 'Ukraine', 'UA', 'UnitedKingdom', 'UK', 'UnitedStates', 'US', 'Wales',
] ]
+1 -1
View File
@@ -545,7 +545,7 @@ hlk-sw16==0.0.7
hole==0.3.0 hole==0.3.0
# homeassistant.components.workday.binary_sensor # homeassistant.components.workday.binary_sensor
holidays==0.9.9 holidays==0.9.10
# homeassistant.components.frontend # homeassistant.components.frontend
home-assistant-frontend==20190320.0 home-assistant-frontend==20190320.0
+1 -1
View File
@@ -123,7 +123,7 @@ hbmqtt==0.9.4
hdate==0.8.7 hdate==0.8.7
# homeassistant.components.workday.binary_sensor # homeassistant.components.workday.binary_sensor
holidays==0.9.9 holidays==0.9.10
# homeassistant.components.frontend # homeassistant.components.frontend
home-assistant-frontend==20190320.0 home-assistant-frontend==20190320.0