Add filters to cover/services.yaml (#95854)

This commit is contained in:
Erik Montnemery 2023-07-08 11:51:02 +02:00 committed by GitHub
parent b5678a12ec
commit 3d064b7d6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 56 additions and 5 deletions

View file

@ -235,6 +235,22 @@ def test_device_selector_schema(schema, valid_selections, invalid_selections) ->
("light.abc123", "blah.blah", FAKE_UUID),
(None,),
),
(
{
"filter": [
{
"supported_features": [
[
"light.LightEntityFeature.EFFECT",
"light.LightEntityFeature.TRANSITION",
]
]
},
]
},
("light.abc123", "blah.blah", FAKE_UUID),
(None,),
),
(
{
"filter": [