1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-02 22:52:06 +01:00

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
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)