1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Add prefix support to text selector (#96830)

This commit is contained in:
Franck Nijhof
2023-07-18 12:17:31 +02:00
committed by GitHub
parent 4ceba01ab7
commit b9f92b526b
2 changed files with 3 additions and 0 deletions

View File

@@ -581,6 +581,7 @@ def test_object_selector_schema(schema, valid_selections, invalid_selections) ->
({}, ("abc123",), (None,)),
({"multiline": True}, (), ()),
({"multiline": False, "type": "email"}, (), ()),
({"prefix": "before", "suffix": "after"}, (), ()),
),
)
def test_text_selector_schema(schema, valid_selections, invalid_selections) -> None: