diff --git a/hassio/addons/validate.py b/hassio/addons/validate.py index 06f835b32..61b17779c 100644 --- a/hassio/addons/validate.py +++ b/hassio/addons/validate.py @@ -479,9 +479,9 @@ def _single_ui_option( """Validate a single element.""" ui_node = {"name": key} - # If multible + # If multiple if multiple: - ui_node["mutliple"] = True + ui_node["multiple"] = True # Parse extend data from type match = RE_SCHEMA_ELEMENT.match(value) diff --git a/tests/addons/test_ui_schema.py b/tests/addons/test_ui_schema.py index 9672a0d7b..bc73050d2 100644 --- a/tests/addons/test_ui_schema.py +++ b/tests/addons/test_ui_schema.py @@ -36,7 +36,7 @@ def test_group_schema(): "optional": True, "schema": [ {"name": "name", "required": True, "type": "string"}, - {"mutliple": True, "name": "data", "required": True, "type": "string"}, + {"multiple": True, "name": "data", "required": True, "type": "string"}, {"name": "path", "optional": True, "type": "string"}, ], "type": "schema", @@ -65,7 +65,7 @@ def test_group_list(): "optional": True, "schema": [ {"name": "name", "required": True, "type": "string"}, - {"mutliple": True, "name": "data", "optional": True, "type": "string"}, + {"multiple": True, "name": "data", "optional": True, "type": "string"}, {"name": "path", "optional": True, "type": "string"}, ], "type": "schema",