diff --git a/homeassistant/config.py b/homeassistant/config.py index 253a6af4e2f..3d1aee6c4f0 100644 --- a/homeassistant/config.py +++ b/homeassistant/config.py @@ -454,10 +454,9 @@ def _identify_config_schema(module): except (AttributeError, KeyError): return (None, None) t_schema = str(schema) - if (t_schema.startswith('=3.11,<4 pytz>=2017.02 pip>=7.1.0 jinja2>=2.9.5 -voluptuous==0.9.3 +voluptuous==0.10.5 typing>=3,<4 aiohttp==2.0.7 async_timeout==1.2.0 diff --git a/requirements_all.txt b/requirements_all.txt index 2cb86b3435c..faf6d89f9a1 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -4,7 +4,7 @@ pyyaml>=3.11,<4 pytz>=2017.02 pip>=7.1.0 jinja2>=2.9.5 -voluptuous==0.9.3 +voluptuous==0.10.5 typing>=3,<4 aiohttp==2.0.7 async_timeout==1.2.0 diff --git a/setup.py b/setup.py index 05f117652d1..65d02c3e8c6 100755 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ REQUIRES = [ 'pytz>=2017.02', 'pip>=7.1.0', 'jinja2>=2.9.5', - 'voluptuous==0.9.3', + 'voluptuous==0.10.5', 'typing>=3,<4', 'aiohttp==2.0.7', 'async_timeout==1.2.0', diff --git a/tests/test_config.py b/tests/test_config.py index 1d1208f8859..c555c879300 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -509,7 +509,7 @@ def test_merge_once_only(merge_log_err): 'mqtt': {}, 'api': {} } config_util.merge_packages_config(config, packages) - assert merge_log_err.call_count == 2 + assert merge_log_err.call_count == 1 assert len(config) == 3 @@ -521,7 +521,7 @@ def test_merge_id_schema(hass): 'script': 'dict', 'input_boolean': 'dict', 'shell_command': 'dict', - 'qwikswitch': '', + 'qwikswitch': 'dict', } for name, expected_type in types.items(): module = config_util.get_component(name)