Fix profiler.lru_stats always throwing an exception (#111249)

Remove IntegrationMatcher as its now a slotted class and cannot
be examined with the current methods (we also likely do not need
to optimize it anymore)

```
  File "/usr/src/homeassistant/homeassistant/components/profiler/__init__.py", line 201, in _lru_stats
    for maybe_lru in class_with_lru_attr.__dict__.values():
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'IntegrationMatcher' object has no attribute '__dict__'. Did you mean: '__dir__'?
```
This commit is contained in:
J. Nick Koston 2024-02-24 11:26:01 -10:00 committed by GitHub
parent bccab1bad7
commit 93a76ab519
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,7 +45,6 @@ _KNOWN_LRU_CLASSES = (
"StatesMetaManager",
"StateAttributesManager",
"StatisticsMetaManager",
"IntegrationMatcher",
)
SERVICES = (