From 16ccf0affdee5bde2f5fa30ec8e35cb8df48c479 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 6 Jul 2020 20:04:35 -0700 Subject: [PATCH] Bump voluptuous-serialize 2.4.0 (#37241) * Bump voluptuous-serialize 2.4.0 * Add constant to demo * gen reqs --- homeassistant/components/demo/config_flow.py | 1 + homeassistant/components/demo/strings.json | 1 + homeassistant/package_constraints.txt | 2 +- requirements.txt | 2 +- requirements_all.txt | 2 +- setup.py | 2 +- 6 files changed, 6 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/demo/config_flow.py b/homeassistant/components/demo/config_flow.py index 1f3975d0241..0899ca5dbb9 100644 --- a/homeassistant/components/demo/config_flow.py +++ b/homeassistant/components/demo/config_flow.py @@ -53,6 +53,7 @@ class OptionsFlowHandler(config_entries.OptionsFlow): step_id="options_1", data_schema=vol.Schema( { + vol.Required("constant"): "Constant Value", vol.Optional( CONF_BOOLEAN, default=self.config_entry.options.get(CONF_BOOLEAN, False), diff --git a/homeassistant/components/demo/strings.json b/homeassistant/components/demo/strings.json index 95497b8bf19..c861ca9e5e9 100644 --- a/homeassistant/components/demo/strings.json +++ b/homeassistant/components/demo/strings.json @@ -7,6 +7,7 @@ }, "options_1": { "data": { + "constant": "Constant", "bool": "Optional boolean", "int": "Numeric input" } diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index a2d2151f05d..826fdb081c7 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -24,7 +24,7 @@ pyyaml==5.3.1 requests==2.24.0 ruamel.yaml==0.15.100 sqlalchemy==1.3.18 -voluptuous-serialize==2.3.0 +voluptuous-serialize==2.4.0 voluptuous==0.11.7 zeroconf==0.27.1 diff --git a/requirements.txt b/requirements.txt index d281c0f870a..0c7fb44f3b5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,4 +17,4 @@ pyyaml==5.3.1 requests==2.24.0 ruamel.yaml==0.15.100 voluptuous==0.11.7 -voluptuous-serialize==2.3.0 +voluptuous-serialize==2.4.0 diff --git a/requirements_all.txt b/requirements_all.txt index cea4e5bfc8b..4b569a106e1 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -18,7 +18,7 @@ pyyaml==5.3.1 requests==2.24.0 ruamel.yaml==0.15.100 voluptuous==0.11.7 -voluptuous-serialize==2.3.0 +voluptuous-serialize==2.4.0 # homeassistant.components.nuimo_controller --only-binary=all nuimo==0.1.0 diff --git a/setup.py b/setup.py index 4e46f632170..c2042ab2459 100755 --- a/setup.py +++ b/setup.py @@ -51,7 +51,7 @@ REQUIRES = [ "requests==2.24.0", "ruamel.yaml==0.15.100", "voluptuous==0.11.7", - "voluptuous-serialize==2.3.0", + "voluptuous-serialize==2.4.0", ] MIN_PY_VERSION = ".".join(map(str, hass_const.REQUIRED_PYTHON_VER))