From 24ded992867591737cfb85c98a99abcd38c82fae Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Mon, 20 Jan 2020 17:11:41 +0100 Subject: [PATCH] Typo (#1444) * Typo * Typo test --- hassio/addons/validate.py | 4 ++-- tests/addons/test_ui_schema.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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",