mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 00:07:10 +00:00
Upgrade holidays to 0.9.8 (#17656)
This commit is contained in:
parent
cf24687024
commit
731753b604
@ -14,15 +14,16 @@ 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.7']
|
REQUIREMENTS = ['holidays==0.9.8']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
# List of all countries currently supported by holidays
|
# List of all countries currently supported by holidays
|
||||||
# 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', 'Belarus', 'BY'
|
'Argentina', 'AR', 'Australia', 'AU', 'Austria', 'AT',
|
||||||
'Belgium', 'BE', 'Canada', 'CA', 'Colombia', 'CO', 'Czech', 'CZ',
|
'Brazil', 'BR', 'Belarus', 'BY', 'Belgium', 'BE',
|
||||||
|
'Canada', 'CA', 'Colombia', 'CO', 'Croatia', 'HR', 'Czech', 'CZ',
|
||||||
'Denmark', 'DK', 'England', 'EuropeanCentralBank', 'ECB', 'TAR',
|
'Denmark', 'DK', 'England', 'EuropeanCentralBank', 'ECB', 'TAR',
|
||||||
'Finland', 'FI', 'France', 'FRA', 'Germany', 'DE', 'Hungary', 'HU',
|
'Finland', 'FI', 'France', 'FRA', 'Germany', 'DE', 'Hungary', 'HU',
|
||||||
'India', 'IND', 'Ireland', 'Isle of Man', 'Italy', 'IT', 'Japan', 'JP',
|
'India', 'IND', 'Ireland', 'Isle of Man', 'Italy', 'IT', 'Japan', 'JP',
|
||||||
@ -30,7 +31,7 @@ ALL_COUNTRIES = [
|
|||||||
'Northern Ireland', 'Norway', 'NO', 'Polish', 'PL', 'Portugal', 'PT',
|
'Northern Ireland', 'Norway', 'NO', 'Polish', 'PL', 'Portugal', 'PT',
|
||||||
'PortugalExt', 'PTE', 'Scotland', 'Slovenia', 'SI', 'Slovakia', 'SK',
|
'PortugalExt', 'PTE', 'Scotland', 'Slovenia', 'SI', 'Slovakia', 'SK',
|
||||||
'South Africa', 'ZA', 'Spain', 'ES', 'Sweden', 'SE', 'Switzerland', 'CH',
|
'South Africa', 'ZA', 'Spain', 'ES', 'Sweden', 'SE', 'Switzerland', 'CH',
|
||||||
'UnitedKingdom', 'UK', 'UnitedStates', 'US', 'Wales',
|
'Ukraine', 'UA', 'UnitedKingdom', 'UK', 'UnitedStates', 'US', 'Wales',
|
||||||
]
|
]
|
||||||
|
|
||||||
ALLOWED_DAYS = WEEKDAYS + ['holiday']
|
ALLOWED_DAYS = WEEKDAYS + ['holiday']
|
||||||
|
@ -463,7 +463,7 @@ hipnotify==1.0.8
|
|||||||
hole==0.3.0
|
hole==0.3.0
|
||||||
|
|
||||||
# homeassistant.components.binary_sensor.workday
|
# homeassistant.components.binary_sensor.workday
|
||||||
holidays==0.9.7
|
holidays==0.9.8
|
||||||
|
|
||||||
# homeassistant.components.frontend
|
# homeassistant.components.frontend
|
||||||
home-assistant-frontend==20181018.0
|
home-assistant-frontend==20181018.0
|
||||||
|
@ -94,7 +94,7 @@ hbmqtt==0.9.4
|
|||||||
hdate==0.6.5
|
hdate==0.6.5
|
||||||
|
|
||||||
# homeassistant.components.binary_sensor.workday
|
# homeassistant.components.binary_sensor.workday
|
||||||
holidays==0.9.7
|
holidays==0.9.8
|
||||||
|
|
||||||
# homeassistant.components.frontend
|
# homeassistant.components.frontend
|
||||||
home-assistant-frontend==20181018.0
|
home-assistant-frontend==20181018.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user