Bump voluptuous-serialize 2.4.0 (#37241)
* Bump voluptuous-serialize 2.4.0 * Add constant to demo * gen reqs
This commit is contained in:
1 parent
e5872cc0e4
commit
16ccf0affd
6 files changed
+6
-4
No files matched your search
@@ -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),
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
},
|
||||
"options_1": {
|
||||
"data": {
|
||||
"constant": "Constant",
|
||||
"bool": "Optional boolean",
|
||||
"int": "Numeric input"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user