-
- Downloads
Add support for glob matching to entity filters (#36913)
* Added GLOB capability to entityfilter and every place that uses it. All existing tests are passing * added tests for components affected by glob change * fixed flake8 error * mocking the correct listener * mocking correct bus method in azure test * tests passing in 3.7 and 3.8 * fixed formatting issue from rebase/conflict * Checking against glob patterns in more performant way * perf improvments and reverted unnecessarily adjusted tests * added new benchmark test around filters * no longer using get with default in entityfilter * changed filter name and removed logbook from filter benchmark * simplified benchmark tests from feedback * fixed apache tests and returned include exclude schemas to normal * fixed azure event hub tests to properly go through component logic * fixed azure test and clean up for other tests * renaming test files to match standard * merged mqtt statestream test changes with base * removed dependency on recorder filter schema from history * fixed recorder tests after merge and a bunch of lint errors
Showing
- .coveragerc 0 additions, 2 deletions.coveragerc
- homeassistant/components/history/__init__.py 18 additions, 10 deletionshomeassistant/components/history/__init__.py
- homeassistant/components/homekit/__init__.py 2 additions, 23 deletionshomeassistant/components/homekit/__init__.py
- homeassistant/components/logbook/__init__.py 7 additions, 50 deletionshomeassistant/components/logbook/__init__.py
- homeassistant/components/mqtt_statestream/__init__.py 9 additions, 35 deletionshomeassistant/components/mqtt_statestream/__init__.py
- homeassistant/components/recorder/__init__.py 21 additions, 36 deletionshomeassistant/components/recorder/__init__.py
- homeassistant/helpers/entityfilter.py 131 additions, 22 deletionshomeassistant/helpers/entityfilter.py
- homeassistant/scripts/benchmark/__init__.py 71 additions, 2 deletionshomeassistant/scripts/benchmark/__init__.py
- requirements_test_all.txt 6 additions, 0 deletionsrequirements_test_all.txt
- tests/components/apache_kafka/__init__.py 1 addition, 0 deletionstests/components/apache_kafka/__init__.py
- tests/components/apache_kafka/test_init.py 181 additions, 0 deletionstests/components/apache_kafka/test_init.py
- tests/components/azure_event_hub/__init__.py 1 addition, 0 deletionstests/components/azure_event_hub/__init__.py
- tests/components/azure_event_hub/test_init.py 211 additions, 0 deletionstests/components/azure_event_hub/test_init.py
- tests/components/cloud/test_http_api.py 17 additions, 10 deletionstests/components/cloud/test_http_api.py
- tests/components/google_pubsub/test_init.py 262 additions, 0 deletionstests/components/google_pubsub/test_init.py
- tests/components/google_pubsub/test_pubsub.py 0 additions, 21 deletionstests/components/google_pubsub/test_pubsub.py
- tests/components/homekit/test_homekit.py 52 additions, 11 deletionstests/components/homekit/test_homekit.py
- tests/components/logbook/test_init.py 248 additions, 53 deletionstests/components/logbook/test_init.py
- tests/components/mqtt_statestream/test_init.py 186 additions, 0 deletionstests/components/mqtt_statestream/test_init.py
- tests/components/prometheus/test_init.py 176 additions, 0 deletionstests/components/prometheus/test_init.py
Loading
Please register or sign in to comment