Stringify enums in selectors (#71441)

This commit is contained in:
Paulus Schoutsen 2022-05-06 11:25:01 -07:00 committed by GitHub
parent 1a00bb9fc4
commit b1a04302b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 18 additions and 15 deletions

View file

@ -1474,6 +1474,7 @@ async def test_blueprint_automation(hass, calls):
"input": {
"trigger_event": "blueprint_event",
"service_to_call": "test.automation",
"a_number": 5,
},
}
}
@ -1499,6 +1500,7 @@ async def test_blueprint_automation_bad_config(hass, caplog):
"input": {
"trigger_event": "blueprint_event",
"service_to_call": {"dict": "not allowed"},
"a_number": 5,
},
}
}