Adjust entity filters to make includes stronger than excludes (#74080)

* Adjust entity filters to make includes stronger than excludes

Fixes #59080

* adjust test for stronger entity glob includes

* sync with docs
This commit is contained in:
J. Nick Koston 2022-06-28 11:42:51 -05:00 committed by GitHub
parent 040ece76ab
commit a8349a4866
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 312 additions and 87 deletions

View file

@ -169,7 +169,7 @@ async def test_filtered_allowlist(hass, mock_client):
FilterTest("light.excluded_test", False),
FilterTest("light.excluded", False),
FilterTest("sensor.included_test", True),
FilterTest("climate.included_test", False),
FilterTest("climate.included_test", True),
]
await _run_filter_tests(hass, tests, mock_client)