Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High Memory Utilization Until 2023.3.0 #89885

Closed
kleytonn opened this issue Mar 17, 2023 · 49 comments
Closed

High Memory Utilization Until 2023.3.0 #89885

kleytonn opened this issue Mar 17, 2023 · 49 comments
Assignees

Comments

@kleytonn
Copy link

The problem

After upgrade to core-2023.3.0 I have seen a gradual memory utilization by Home Assistant without any visible explanation. I need to manual restart the application do free some memory to avoid problems.

core-2023.3.x sometimes increases up to 2 GiB memory utilization. Before update my setup don't use more than 0.5 GiB.

What version of Home Assistant Core has the issue?

core-2023.3.5

What was the last working version of Home Assistant Core?

core-2023.2.7

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@Phreak87
Copy link

Phreak87 commented Mar 18, 2023

Same here - But i cannot tell since which version ...

i'm running now:
Home Assistant 2023.3.5
Supervisor 2023.03.1
Operating System 9.5

on a Proxmox VE-Server.
MariaDB and InfluxDB running OUTSIDE of HA.
Installed plugins are:
Mosquito Broker (0.8% Ram),
Grafana (3.7% Ram),
MQTT-Explorer (0.3% Ram),
Node-Red (2.3% Ram) ,
Ring-MQTT (1,8% Ram)
and Studio Code Server (0,9% Ram).

Base memory consumption after reboot is about 2.5 GB (Left side, March, 10),
but after a few days it grows up to 7.5Gb (Right side, March 18):
image

after a reboot it starts with normally acceptable amount again and growing up just "a little" while click all tabs in the UI
to see what initial loading values takes ... after this i takes a few days and i'm back on 7.5 GB - On this point i have no
crashes of HA - but i know its too much and do restart to be really clean again:

image

Don't know exactly how to track the other sys-containers running in this virtual docker environment for memory consumption.
if you can give me a hint how to track i can give values and stats.

@SergioRius
Copy link

SergioRius commented Mar 24, 2023

Same here
Version: 2023.3.4 Core On a Debian LXC under Proxmox.

20230324_151733_High memory and cpu usage
20230324_152225_High memory and cpu usage
20230324_152537_Normal usage

This seems to occur every few days, having to restart home assistant, and this last time, the whole container, as it was unresponsive.
The memory usage graph has a serrated profile and seems to take two days to get to 2Gb from a reboot. That seems consistent with @Phreak87 experience.

Seems a memory leak to me.

Edit: I've duplicated both memory and disk size, but it had worked without it the last two years.

@Phreak87
Copy link

In my case this could be (maybe, just a idea) a hacs plugin - but i dont know how to test mem consumption for a plugin ... This Would be then not a ha-issue

@kleytonn
Copy link
Author

I think that is not the case. I'm using the same plugins for a year and just now, with core-2023.3.0 and Python 3.11 support, it happened.

@bdraco
Copy link
Member

bdraco commented Mar 24, 2023

Can you check if something is leaking new python objects?

Call this service:
https://www.home-assistant.io/integrations/profiler/#service-profilerstart_log_objects

Wait about 6 hours and check to see if new objects are still appearing in the log

@bdraco bdraco self-assigned this Mar 24, 2023
@Phreak87
Copy link

Can you please describe more detailed how to call this service?

@bdraco
Copy link
Member

bdraco commented Mar 24, 2023

You can call it from the developer tools after installing the profiler integration
/developer-tools/service

Screenshot 2023-03-24 at 9 02 12 AM

bdraco added a commit that referenced this issue Mar 24, 2023
These do not grow but we do not need them in memory
after startup.

Noticed while investigating #89885
@cs42
Copy link

cs42 commented Mar 29, 2023

I have seen a high memory usage in HA 2023.3.6 when using python 3.11, see image below. The first marking is when I installed 2023.3.x using python 3.11, the second is a restart of home assistant and the third marker is a switch to python 3.10 without changing any other configuration.
image

@mickecamino
Copy link

I have this leak also, please see here for more documentation including tests with HASSIO: henricm/ha-ferroamp#316

@bdraco
Copy link
Member

bdraco commented Mar 31, 2023

This is unlikely to get solved without the request data above

@mickecamino
Copy link

I have installed and activated the profiler mentioned above, it will run for 12 hours and I will report back the result.

@cs42
Copy link

cs42 commented Apr 1, 2023

This is unlikely to get solved without the request data above

I'd like to start the memory profiler, but documentation says, it's not supported on python 3.11 yet.

@bdraco
Copy link
Member

bdraco commented Apr 1, 2023

This is unlikely to get solved without the request data above

I'd like to start the memory profiler, but documentation says, it's not supported on python 3.11 yet.

The start_log_objects service does work on 3.11

@mickecamino
Copy link

mickecamino commented Apr 1, 2023

The profiler is full of these lines:
2023-03-31 22:47:27.387 CRITICAL (SyncWorker_4) [homeassistant.components.profiler] Memory Growth: [('dict', 71230, 27)]
2023-03-31 22:47:57.410 CRITICAL (SyncWorker_2) [homeassistant.components.profiler] Memory Growth: [('dict', 71258, 28)]
2023-03-31 22:48:27.392 CRITICAL (SyncWorker_6) [homeassistant.components.profiler] Memory Growth: [('dict', 71294, 36)]
2023-03-31 22:48:57.385 CRITICAL (SyncWorker_8) [homeassistant.components.profiler] Memory Growth: [('dict', 71321, 27)]
2023-03-31 22:49:27.397 CRITICAL (SyncWorker_0) [homeassistant.components.profiler] Memory Growth: [('dict', 71349, 28)]
2023-03-31 22:49:57.433 CRITICAL (SyncWorker_9) [homeassistant.components.profiler] Memory Growth: [('dict', 71378, 29)]
2023-03-31 22:50:27.408 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] Memory Growth: [('dict', 71413, 35)]
2023-03-31 22:50:57.383 CRITICAL (SyncWorker_5) [homeassistant.components.profiler] Memory Growth: [('dict', 71440, 27)]
2023-03-31 22:51:27.428 CRITICAL (SyncWorker_1) [homeassistant.components.profiler] Memory Growth: [('dict', 71468, 28)]
2023-03-31 22:51:57.387 CRITICAL (SyncWorker_7) [homeassistant.components.profiler] Memory Growth: [('dict', 71509, 41)]
2023-03-31 22:52:27.400 CRITICAL (SyncWorker_4) [homeassistant.components.profiler] Memory Growth: [('dict', 71537, 28)]
2023-03-31 22:52:57.428 CRITICAL (SyncWorker_2) [homeassistant.components.profiler] Memory Growth: [('dict', 71568, 31)]
2023-03-31 22:53:27.472 CRITICAL (SyncWorker_6) [homeassistant.components.profiler] Memory Growth: [('dict', 71596, 28)]
2023-03-31 22:53:57.422 CRITICAL (SyncWorker_8) [homeassistant.components.profiler] Memory Growth: [('dict', 71623, 27)]
2023-03-31 22:54:27.430 CRITICAL (SyncWorker_0) [homeassistant.components.profiler] Memory Growth: [('dict', 71683, 60)]
2023-03-31 22:54:57.472 CRITICAL (SyncWorker_9) [homeassistant.components.profiler] Memory Growth: [('dict', 71715, 32)]`

first lines:

2023-03-31 21:12:57.147 CRITICAL (SyncWorker_4) [homeassistant.components.profiler] Memory Growth: [('dict', 65538, 25)]
2023-03-31 21:13:27.155 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] Memory Growth: [('dict', 65571, 33)]
2023-03-31 21:13:57.146 CRITICAL (SyncWorker_6) [homeassistant.components.profiler] Memory Growth: [('dict', 65601, 30)]

Last lines:
2023-04-01 07:59:58.537 CRITICAL (SyncWorker_8) [homeassistant.components.profiler] Memory Growth: [('dict', 104729, 43)]
2023-04-01 08:00:28.579 CRITICAL (SyncWorker_0) [homeassistant.components.profiler] Memory Growth: [('dict', 104744, 15), ('HassJob', 471, 2)]
2023-04-01 08:00:58.555 CRITICAL (SyncWorker_9) [homeassistant.components.profiler] Memory Growth: [('dict', 104782, 38), ('function', 62350, 1)]
2023-04-01 08:01:28.623 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] Memory Growth: [('dict', 104808, 26)]
2023-04-01 08:01:58.592 CRITICAL (SyncWorker_5) [homeassistant.components.profiler] Memory Growth: [('dict', 104830, 22)]
2023-04-01 08:02:28.609 CRITICAL (SyncWorker_1) [homeassistant.components.profiler] Memory Growth: [('dict', 104869, 39), ('cell', 30771, 2), ('function', 62351, 1), ('State', 446, 1)]
2023-04-01 08:02:58.546 CRITICAL (SyncWorker_7) [homeassistant.components.profiler] Memory Growth: [('dict', 104892, 23)]
2023-04-01 08:03:28.630 CRITICAL (SyncWorker_4) [homeassistant.components.profiler] Memory Growth: [('dict', 104930, 38), ('State', 447, 1)]
2023-04-01 08:03:58.556 CRITICAL (SyncWorker_2) [homeassistant.components.profiler] Memory Growth: [('dict', 104951, 21)]
2023-04-01 08:04:28.584 CRITICAL (SyncWorker_6) [homeassistant.components.profiler] Memory Growth: [('dict', 104977, 26), ('State', 448, 1)]
2023-04-01 08:04:58.580 CRITICAL (SyncWorker_8) [homeassistant.components.profiler] Memory Growth: [('dict', 105007, 30)]
2023-04-01 08:05:28.615 CRITICAL (SyncWorker_0) [homeassistant.components.profiler] Memory Growth: [('dict', 105037, 30)]
2023-04-01 08:05:58.559 CRITICAL (SyncWorker_9) [homeassistant.components.profiler] Memory Growth: [('dict', 105070, 33)]
2023-04-01 08:06:28.610 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] Memory Growth: [('dict', 105097, 27)]

@bdraco
Copy link
Member

bdraco commented Apr 1, 2023

Looks like something is leaking anonymous dictionaries.

You can use dump log objects to see what they are

@mickecamino
Copy link

Sorry for a stupid question :-) What should I dump?
My log file was huge so I had to rename it so that HA would create a new one.

@cs42
Copy link

cs42 commented Apr 1, 2023

I just did some comparison using python 3.11 and 3.10 using start_log_objects

  1. Python 3.11:
2023-04-01 08:19:52.324 CRITICAL (SyncWorker_0) [homeassistant.components.profiler] Memory Growth: [('tuple', 115980, 115980), ('function', 100721, 100721), ('dict', 78893, 78893), ('list', 69885, 69885), ('cell', 55476, 55476), ('ReferenceType', 30806, 30806), ('set', 21505, 21505), ('type', 12917, 12917), ('builtin_function_or_method', 12722, 12722), ('Point', 12303, 12303), ('getset_descriptor', 9294, 9294), ('method', 7930, 7930), ('property', 7866, 7866), ('Language', 7847, 7847), ('DateOrDatetime', 5251, 5251), ('Schema', 4759, 4759), ('frozenset', 4746, 4746), ('OrderedDict', 4592, 4592), ('module', 4434, 4434), ('ModuleSpec', 4431, 4431), ('SourceFileLoader', 4259, 4259), ('AIOGitHubAPIRepositoryTreeContent', 4200, 4200), ('Event', 3889, 3889), ('Element', 3843, 3843), ('uint8_t', 3089, 3089), ('member_descriptor', 2978, 2978), ('wrapper_descriptor', 2937, 2937), ('method_descriptor', 2397, 2397), ('uint16_t', 2273, 2273), ('Argument', 2165, 2165), ('Context', 2071, 2071), ('StructField', 2063, 2063), ('classmethod', 2000, 2000), ('_GenericAlias', 1968, 1968), ('_abc_data', 1905, 1905), ('HassJob', 1893, 1893), ('Optional', 1814, 1814), ('ABCMeta', 1663, 1663), ('Parameter', 1659, 1659), ('NodeListClass', 1651, 1651), ('staticmethod', 1608, 1608), ('ZCLAttributeDef', 1583, 1583), ('ReadOnlyDict', 1527, 1527), ('_UnionGenericAlias', 1333, 1333), ('RepositoryData', 1260, 1260), ('RepositoryContent', 1260, 1260), ('RepositoryPath', 1260, 1260), ('Validate', 1260, 1260), ('RepositoryReleases', 1260, 1260), ('HacsManifest', 1260, 1260), ('Field', 1241, 1241), ('State', 1166, 1166), ('ForwardRef', 1141, 1141), ('RegistryEntry', 1086, 1086), ('Required', 1083, 1083), ('cython_function_or_method', 1016, 1016), ('_tuplegetter', 1011, 1011), ('EnumType', 997, 997), ('All', 976, 976), ('Pattern', 960, 960), ('StateVariable', 956, 956), ('ValueRange', 956, 956), ('EventTask', 953, 953), ('InstanceState', 938, 938), ('Struct', 931, 931), ('HassLogger', 893, 893), ('PosixPath', 889, 889), ('HacsIntegrationRepository', 883, 883), ('BlueprintButtonAction', 851, 851), ('States', 843, 843), ('Param', 824, 824), ('DDLEventsDispatch', 809, 809), ('TagMap', 803, 803), ('Command', 732, 732), ('deque', 727, 727), ('_ColumnMetrics', 724, 724), ('itemgetter', 694, 694), ('FileFinder', 673, 673), ('Attribute', 628, 628), ('ZCLCommandDef', 626, 626), ('Integration', 624, 624), ('Column', 614, 614), ('quoted_name', 582, 582), ('coroutine', 536, 536), ('DebugActions', 521, 521), ('PointerType', 512, 512), ('Country', 489, 489), ('Action', 471, 471), ('ArgumentList', 468, 468), ('ActionArgumentInfo', 457, 457), ('ListSubclass', 450, 450), ('mappingproxy', 436, 436), ('CommandHeader', 417, 417), ('NamedTypes', 410, 410), ('TypeVar', 407, 407), ('_DataclassParams', 387, 387), ('ResourceRoute', 377, 377), ('MovedAttribute', 352, 352), ('Service', 349, 349), ('MiniProduction', 338, 338)]
2023-04-01 08:19:59.229 CRITICAL (SyncWorker_0) [homeassistant.components.profiler] Memory Growth: [('Point', 20505, 8202), ('AIOGitHubAPIRepositoryTreeContent', 5654, 1454), ('list', 70243, 358), ('dict', 79239, 346), ('GitHubBaseUserModel', 335, 174), ('GitHubReleaseModel', 236, 137), ('TimerHandle', 248, 61), ('set', 21545, 40), ('AIOGitHubAPIRepository', 59, 39), ('AIOGitHubAPIRepositoryTraffic', 59, 39), ('Context', 2109, 38), ('GitHubReleaseAssetModel', 99, 37), ('tuple', 116004, 24), ('GitHubReactionModel', 35, 21), ('State', 1186, 20), ('ReadOnlyDict', 1546, 19), ('Event', 3907, 18), ('SaveUpdateState', 14, 14), ('frozenset', 4759, 13), ('Room', 20, 8), ('BindParameter', 249, 6), ('defaultdict', 318, 5), ('ClientConnectionError', 10, 5), ('PopulateDict', 32, 4), ('Insert', 19, 4), ('Pattern', 964, 4), ('Preprocess', 3, 3), ('portable_instancemethod', 68, 3), ('CacheKey', 32, 3), ('ClientTimeout', 8, 3), ('Lock', 250, 3), ('History', 3, 2), ('ProcessAll', 2, 2), ('ProcessState', 2, 2), ('attrgetter', 327, 2), ('SignalDict', 34, 2), ('itemgetter', 696, 2), ('Struct', 933, 2), ('HassJob', 1895, 2), ('BinaryExpression', 144, 2), ('MySQLCompiler_mysqldb', 31, 2), ('prefix_anon_map', 43, 2), ('CursorResultMetaData', 28, 2), ('ResultColumnsEntry', 89, 2), ('BooleanClauseList', 37, 2), ('InsertDMLState', 10, 2), ('_InsertManyValues', 10, 2), ('SimpleResultMetaData', 10, 2), ('Path', 13, 2), ('ImageData', 5, 2), ('ImageDimensions', 5, 2), ('Image', 5, 2), ('States', 845, 2), ('CIMultiDictProxy', 118, 1), ('RawResponseMessage', 1, 1), ('TaskStepMethWrapper', 1, 1), ('generator', 19, 1), ('UOWTransaction', 1, 1), ('SaveUpdateAll', 1, 1), ('DeleteAll', 1, 1), ('SessionTransaction', 2, 1), ('dict_itemiterator', 1, 1), ('groupby', 1, 1), ('immutabledict', 284, 1), ('MySQLExecutionContext_mysqldb', 1, 1), ('Cursor', 1, 1), ('partial', 219, 1), ('LRUCache', 14, 1), ('hamt', 78, 1), ('hamt_bitmap_node', 78, 1), ('SessionEventsDispatch', 9, 1), ('WeakSequence', 18, 1), ('Session', 14, 1), ('ReadOnlyProperties', 8, 1), ('Delete', 9, 1), ('Update', 8, 1), ('Template', 329, 1), ('Request', 17, 1), ('MultiDictProxy', 36, 1), ('MultiDict', 24, 1), ('LogEntry', 9, 1), ('ServiceInfo', 29, 1), ('SSLSocket', 18, 1), ('_SSLSocket', 65, 1), ('WeakInstanceDict', 8, 1), ('HTTPSConnection', 8, 1), ('TemplateStateFromEntityId', 24, 1), ('ReceiveMessage', 1, 1), ('HTTPSHandler', 1, 1), ('OpenerDirector', 1, 1), ('UnknownHandler', 1, 1), ('HTTPHandler', 1, 1), ('HTTPDefaultErrorHandler', 1, 1), ('HTTPRedirectHandler', 1, 1), ('FTPHandler', 1, 1), ('FileHandler', 1, 1), ('HTTPErrorProcessor', 1, 1), ('DataHandler', 1, 1)]
2023-04-01 08:20:04.201 CRITICAL (SyncWorker_1) [homeassistant.components.profiler] Memory Growth: [('AIOGitHubAPIRepositoryTreeContent', 10316, 4662), ('Point', 24606, 4101), ('dict', 79635, 396), ('list', 70549, 306), ('GitHubBaseUserModel', 636, 301), ('GitHubReleaseAssetModel', 280, 181), ('GitHubReleaseModel', 356, 120), ('Context', 2197, 88), ('TimerHandle', 319, 71), ('AIOGitHubAPIRepository', 81, 22), ('AIOGitHubAPIRepositoryTraffic', 81, 22), ('State', 1206, 20), ('ReadOnlyDict', 1566, 20), ('Event', 3922, 15), ('BindParameter', 261, 12), ('frozenset', 4770, 11), ('GitHubReactionModel', 46, 11), ('UUID', 24, 9), ('ServiceInfo', 37, 8), ('CastInfo', 18, 8), ('LambdaOptions', 36, 7), ('partial', 225, 6), ('LinkedLambdaElement', 23, 6), ('WeakKeyDictionary', 142, 4), ('Room', 24, 4), ('memoryview', 48, 3), ('_UnionGenericAlias', 1336, 3), ('traceback', 102, 2), ('Struct', 935, 2), ('hamt', 80, 2), ('hamt_bitmap_node', 80, 2), ('HostStatus', 7, 2), ('TraceElement', 7, 2), ('CastMessage', 1, 1), ('managedbuffer', 46, 1), ('URL', 55, 1), ('RawRequestMessage', 18, 1), ('suppress', 4, 1), ('SSLWantReadError', 1, 1), ('frame', 177, 1), ('RLock', 68, 1), ('lock', 198, 1), ('Condition', 100, 1), ('HassJob', 1896, 1), ('_GeneratorContextManager', 6, 1), ('ConnectionEventsDispatch', 5, 1), ('StatementLambdaElement', 13, 1), ('Template', 330, 1), ('Path', 14, 1), ('ImageData', 6, 1), ('ImageDimensions', 6, 1), ('Image', 6, 1), ('LimitedSizeDict', 3, 1), ('AutomationTrace', 3, 1), ('StopReason', 2, 1), ('ReceiveMessage', 2, 1), ('PidfdChildWatcher', 1, 1), ('RootTransaction', 2, 1), ('_ConnectionFairy', 2, 1), ('JoinedConnectionEventsDispatch', 2, 1), ('_WorkItem', 2, 1)]
2023-04-01 08:20:09.255 CRITICAL (SyncWorker_6) [homeassistant.components.profiler] Memory Growth: [('Point', 28707, 4101), ('dict', 80899, 1264), ('AIOGitHubAPIRepositoryTreeContent', 10673, 357), ('list', 70597, 48), ('Device', 49, 39), ('GitHubBaseUserModel', 659, 23), ('GitHubReleaseModel', 370, 14), ('State', 1216, 10), ('ReadOnlyDict', 1576, 10), ('Event', 3931, 9), ('GitHubReleaseAssetModel', 289, 9), ('OrderedDict', 4600, 8), ('CaseInsensitiveDict', 99, 7), ('RLock', 73, 5), ('Room', 28, 4), ('RequestsCookieJar', 7, 4), ('Lock', 253, 3), ('DefaultCookiePolicy', 7, 3), ('HTTPResponse', 13, 3), ('AIOGitHubAPIRepository', 84, 3), ('AIOGitHubAPIRepositoryTraffic', 84, 3), ('PreparedRequest', 3, 3), ('BufferedReader', 4, 2), ('TypeError', 5, 2), ('Url', 2, 2), ('SocketIO', 2, 2), ('Condition', 101, 1), ('_UnionGenericAlias', 1337, 1), ('managedbuffer', 47, 1), ('Request', 18, 1), ('Response', 14, 1), ('Path', 15, 1), ('ImageData', 7, 1), ('ImageDimensions', 7, 1), ('Image', 7, 1), ('HTTPConnection', 4, 1), ('GitHubReactionModel', 47, 1), ('_WorkItem', 3, 1), ('HTTPHeaderDict', 1, 1)]
2023-04-01 08:20:14.200 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] Memory Growth: [('Point', 32808, 4101), ('list', 71349, 752), ('dict', 81358, 459), ('tuple', 116261, 257), ('frozenset', 4951, 181), ('set', 21719, 174), ('BinaryExpression', 248, 104), ('BindParameter', 355, 94), ('DNSQuestion', 61, 60), ('_anonymous_label', 130, 49), ('Select', 121, 39), ('itemgetter', 727, 31), ('OrderedSet', 91, 31), ('ResultColumnsEntry', 119, 30), ('_ColumnsPlusNames', 107, 28), ('_ORMColumnEntity', 89, 25), ('PyWrapper', 57, 20), ('BooleanClauseList', 53, 16), ('AnalyzedFunction', 43, 15), ('Label', 76, 13), ('prefix_anon_map', 54, 11), ('LambdaOptions', 47, 11), ('_ColumnMetrics', 734, 10), ('LinkedLambdaElement', 31, 8), ('MySQLCompiler_mysqldb', 38, 7), ('CursorResultMetaData', 35, 7), ('default_compile_options', 27, 7), ('Event', 3937, 6), ('CacheKey', 38, 6), ('ColumnSet', 10, 5), ('ReadOnlyColumnCollection', 65, 5), ('Column', 619, 5), ('ColumnCollection', 19, 5), ('max', 11, 5), ('Grouping', 19, 5), ('ClauseList', 16, 5), ('State', 1221, 5), ('ReadOnlyDict', 1581, 5), ('_truncated_label', 49, 5), ('AnalyzedCode', 29, 5), ('ORMSelectCompileState', 23, 5), ('FromLinter', 23, 5), ('_ORMJoin', 10, 5), ('Subquery', 9, 5), ('ColumnClause', 9, 5), ('attrgetter', 331, 4), ('DDLEventsDispatch', 813, 4), ('Comparator', 217, 4), ('DNSPointer', 31, 4), ('Room', 32, 4), ('quoted_name', 585, 3), ('StatementLambdaElement', 16, 3), ('TaskStepMethWrapper', 3, 2), ('WeakSet', 58, 2), ('defaultdict', 320, 2), ('_FunctionGenerator', 16, 2), ('_ListenerCollection', 75, 2), ('ForeignKey', 13, 2), ('PropRegistry', 10, 2), ('_CompileLabel', 18, 2), ('Insert', 21, 2), ('InsertDMLState', 12, 2), ('_InsertManyValues', 12, 2), ('SimpleResultMetaData', 12, 2), ('HTTPMessage', 11, 1), ('Condition', 102, 1), ('_WorkItem', 4, 1), ('__CDataFromBuf', 1, 1), ('lock', 199, 1), ('_GenericAlias', 1969, 1), ('LRUCache', 15, 1), ('cython_function_or_method', 1017, 1), ('immutabledict', 285, 1), ('Integer', 134, 1), ('QueryEventsDispatch', 8, 1), ('portable_instancemethod', 69, 1), ('WeakSequence', 19, 1), ('AnnotatedTable', 9, 1), ('CachingEntityRegistry', 3, 1), ('_ERDict', 3, 1), ('_MapperEntity', 4, 1), ('__pyx_scope_struct__tuplegetter', 4, 1), ('ReadOnlyProperties', 9, 1), ('Delete', 10, 1), ('Update', 9, 1), ('_OffsetLimitParam', 7, 1), ('Path', 16, 1), ('_RawColumnEntity', 3, 1), ('ImageData', 8, 1), ('ImageDimensions', 8, 1), ('Image', 8, 1)]
2023-04-01 08:20:19.204 CRITICAL (SyncWorker_6) [homeassistant.components.profiler] Memory Growth: [('State', 1239, 18), ('ReadOnlyDict', 1599, 18), ('Event', 3952, 15), ('frozenset', 4964, 13), ('BindParameter', 365, 10), ('MySQLCompiler_mysqldb', 40, 2), ('prefix_anon_map', 56, 2), ('CursorResultMetaData', 37, 2), ('ResultColumnsEntry', 121, 2), ('CacheKey', 40, 2), ('TaskStepMethWrapper', 4, 1), ('_RequestContextManager', 1, 1), ('Morsel', 3, 1), ('_TransportPlaceholder', 2, 1), ('attrgetter', 332, 1), ('itemgetter', 728, 1), ('PopulateDict', 33, 1), ('portable_instancemethod', 70, 1), ('Select', 122, 1), ('FromLinter', 24, 1), ('_ColumnsPlusNames', 108, 1), ('Insert', 22, 1), ('InsertDMLState', 13, 1), ('_InsertManyValues', 13, 1), ('SimpleResultMetaData', 13, 1), ('ColumnClause', 10, 1), ('Template', 331, 1), ('TemplateStateFromEntityId', 25, 1), ('ReceiveMessage', 3, 1), ('SelectState', 1, 1)]
2023-04-01 08:20:24.144 CRITICAL (SyncWorker_1) [homeassistant.components.profiler] Memory Growth: [('Point', 36909, 4101), ('Event', 3958, 6), ('State', 1245, 6), ('ReadOnlyDict', 1605, 6), ('Room', 36, 4), ('Path', 17, 1), ('_SSLProtocolTransport', 48, 1), ('SSLProtocol', 45, 1), ('ReceiveMessage', 4, 1), ('ImageData', 9, 1), ('ImageDimensions', 9, 1), ('Image', 9, 1)]
2023-04-01 08:20:29.272 CRITICAL (SyncWorker_6) [homeassistant.components.profiler] Memory Growth: [('Point', 41010, 4101), ('tuple', 116352, 91), ('dict', 81381, 23), ('ReadOnlyDict', 1622, 17), ('State', 1261, 16), ('Event', 3970, 12), ('module', 4442, 8), ('ModuleSpec', 4439, 8), ('SourceFileLoader', 4267, 8), ('cell', 55480, 4), ('Room', 40, 4), ('sdiskusage', 1, 1), ('FileIO', 9, 1), ('frozenset', 4965, 1), ('_FilterableJob', 143, 1), ('HassJob', 1897, 1), ('IntegrationPlatform', 8, 1), ('Path', 18, 1), ('ServiceInfo', 38, 1), ('_SSLProtocolTransport', 49, 1), ('SSLProtocol', 46, 1), ('ImageData', 10, 1), ('ImageDimensions', 10, 1), ('Image', 10, 1), ('SignificantlyChangedChecker', 1, 1)]
2023-04-01 08:20:34.304 CRITICAL (SyncWorker_0) [homeassistant.components.profiler] Memory Growth: [('Point', 45111, 4101), ('ReadOnlyDict', 1636, 14), ('State', 1274, 13), ('Event', 3976, 6), ('ServiceInfo', 43, 5), ('Lock', 257, 4), ('Room', 44, 4), ('TemplateState', 13, 2), ('MemoryBIO', 96, 2), ('Path', 19, 1), ('SSLObject', 48, 1), ('ImageData', 11, 1), ('ImageDimensions', 11, 1), ('Image', 11, 1)]
2023-04-01 08:20:39.355 CRITICAL (SyncWorker_1) [homeassistant.components.profiler] Memory Growth: [('cell', 55497, 17), ('function', 100726, 5), ('State', 1277, 3), ('ReadOnlyDict', 1639, 3), ('managedbuffer', 48, 1), ('CastInfo', 19, 1)]
2023-04-01 08:20:44.639 CRITICAL (SyncWorker_4) [homeassistant.components.profiler] Memory Growth: [('function', 100797, 71), ('cell', 55531, 34), ('frozenset', 4973, 8), ('tuple', 116355, 3), ('RenderInfo', 34, 3), ('Event', 3978, 2), ('State', 1279, 2), ('ReadOnlyDict', 1641, 2), ('TypeError', 6, 1)]
2023-04-01 08:20:49.305 CRITICAL (SyncWorker_1) [homeassistant.components.profiler] Memory Growth: [('Point', 49212, 4101), ('dict', 81469, 88), ('HassJob', 1911, 14), ('partial', 235, 10), ('_FilterableJob', 153, 10), ('State', 1289, 10), ('ReadOnlyDict', 1651, 10), ('Room', 48, 4), ('WSMessage', 11, 2), ('PosixPath', 891, 2), ('Event', 3979, 1), ('Queue', 8, 1), ('Template', 332, 1), ('ActiveConnection', 4, 1), ('WebSocketReader', 8, 1), ('WebSocketHandler', 4, 1), ('WebSocketAdapter', 4, 1), ('FlowControlDataQueue', 8, 1), ('WebSocketResponse', 4, 1), ('WebSocketWriter', 8, 1), ('AuthPhase', 4, 1), ('Path', 20, 1), ('TypeError', 7, 1), ('ImageData', 12, 1), ('ImageDimensions', 12, 1), ('Image', 12, 1), ('ChainMap', 1, 1), ('HTTPNotFound', 1, 1), ('FileNotFoundError', 1, 1)]
2023-04-01 08:20:54.180 CRITICAL (SyncWorker_2) [homeassistant.components.profiler] Memory Growth: [('Event', 3981, 2), ('State', 1291, 2), ('ReadOnlyDict', 1653, 2), ('MemoryBIO', 98, 2), ('WSMessage', 12, 1), ('_FilterableJob', 154, 1), ('HassJob', 1912, 1), ('_SSLProtocolTransport', 50, 1), ('_SSLSocket', 66, 1), ('SSLProtocol', 47, 1), ('SSLObject', 49, 1), ('ReceiveMessage', 5, 1)]
2023-04-01 08:20:59.189 CRITICAL (SyncWorker_4) [homeassistant.components.profiler] Memory Growth: [('dict', 81528, 59), ('frozenset', 4987, 14), ('BindParameter', 377, 12), ('cell', 55541, 10), ('LambdaOptions', 54, 7), ('LinkedLambdaElement', 37, 6), ('SignalDict', 36, 2), ('ReadOnlyDict', 1655, 2), ('result', 1, 1), ('Event', 3982, 1), ('_GeneratorContextManager', 7, 1), ('immutabledict', 286, 1), ('SessionEventsDispatch', 10, 1), ('State', 1292, 1), ('Session', 15, 1), ('CacheKey', 41, 1), ('StatementLambdaElement', 17, 1), ('ServiceInfo', 44, 1), ('_SSLSocket', 67, 1), ('WeakInstanceDict', 9, 1)]
2023-04-01 08:21:04.806 CRITICAL (SyncWorker_6) [homeassistant.components.profiler] Memory Growth: [('Row', 13669, 13669), ('tuple', 116638, 283), ('cell', 55784, 243), ('dict', 81757, 229), ('frozenset', 5087, 100), ('BindParameter', 446, 69), ('set', 21780, 61), ('builtin_function_or_method', 12781, 59), ('function', 100836, 39), ('partial', 270, 35), ('BinaryExpression', 274, 26), ('LambdaOptions', 76, 22), ('_anonymous_label', 151, 21), ('GenericAlias', 353, 18), ('LinkedLambdaElement', 55, 18), ('Label', 90, 14), ('itemgetter', 740, 12), ('Select', 134, 12), ('ResultColumnsEntry', 133, 12), ('_ColumnsPlusNames', 120, 12), ('Condition', 113, 11), ('Event', 3992, 10), ('HassJob', 1922, 10), ('Queue', 18, 10), ('_WorkItem', 14, 10), ('HistoryLiveStream', 10, 10), ('_GeneratorContextManager', 16, 9), ('RLock', 81, 8), ('WeakKeyDictionary', 150, 8), ('AnalyzedFunction', 51, 8), ('PyWrapper', 64, 7), ('_ORMColumnEntity', 96, 7), ('State', 1298, 6), ('ReadOnlyDict', 1661, 6), ('SimpleResultMetaData', 19, 6), ('CaseInsensitiveDict', 105, 6), ('BooleanClauseList', 58, 5), ('_RawColumnEntity', 8, 5), ('Text', 34, 4), ('prefix_anon_map', 60, 4), ('CacheKey', 45, 4), ('StatementLambdaElement', 21, 4), ('defaultdict', 323, 3), ('tuple_iterator', 8, 3), ('LazyState', 3, 3), ('generator', 21, 2), ('ConnectionEventsDispatch', 7, 2), ('UnaryExpression', 8, 2), ('AnalyzedCode', 31, 2), ('MySQLCompiler_mysqldb', 42, 2), ('ORMSelectCompileState', 25, 2), ('FromLinter', 26, 2), ('CursorResultMetaData', 39, 2), ('_OffsetLimitParam', 9, 2), ('default_compile_options', 29, 2), ('CIMultiDictProxy', 120, 2), ('SessionTransaction', 4, 2), ('_ConnectionFairy', 4, 2), ('JoinedConnectionEventsDispatch', 4, 2), ('RootTransaction', 4, 2), ('Comparator', 218, 1), ('ReceiveMessage', 6, 1), ('MapData', 2, 1), ('set_iterator', 1, 1)]
2023-04-01 08:21:09.510 CRITICAL (SyncWorker_4) [homeassistant.components.profiler] Memory Growth: [('CIMultiDictProxy', 138, 18), ('CaseInsensitiveDict', 110, 5), ('memoryview', 49, 1), ('managedbuffer', 49, 1)]
2023-04-01 08:21:14.364 CRITICAL (SyncWorker_7) [homeassistant.components.profiler] Memory Growth: [('Point', 53313, 4101), ('set', 21793, 13), ('CIMultiDictProxy', 144, 6), ('Room', 52, 4), ('CaseInsensitiveDict', 113, 3), ('DNSOutgoing', 2, 2), ('list_iterator', 10, 2), ('State', 1299, 1), ('ReadOnlyDict', 1662, 1), ('Path', 21, 1), ('ImageData', 13, 1), ('ImageDimensions', 13, 1), ('Image', 13, 1)]
2023-04-01 08:21:19.409 CRITICAL (SyncWorker_1) [homeassistant.components.profiler] Memory Growth: [('ReceiveMessage', 7, 1)]
2023-04-01 08:21:24.350 CRITICAL (SyncWorker_5) [homeassistant.components.profiler] Memory Growth: [('CaseInsensitiveDict', 115, 2), ('managedbuffer', 50, 1), ('memoryview', 50, 1), ('count', 13, 1), ('_SSLProtocolTransport', 51, 1), ('SSLProtocol', 48, 1), ('ReceiveMessage', 8, 1)]
2023-04-01 08:21:29.432 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] Memory Growth: [('list', 71487, 138), ('SignalDict', 38, 2), ('UUID', 25, 1), ('SessionEventsDispatch', 11, 1), ('Session', 16, 1), ('DeviceStatus', 11, 1), ('WeakInstanceDict', 10, 1)]
2023-04-01 08:21:34.418 CRITICAL (SyncWorker_4) [homeassistant.components.profiler] Memory Growth: [('State', 1308, 9), ('ReadOnlyDict', 1671, 9), ('Event', 3997, 5), ('MemoryBIO', 100, 2), ('CIMultiDictProxy', 145, 1), ('BinaryExpression', 275, 1), ('Delete', 11, 1), ('BooleanClauseList', 59, 1), ('SSLObject', 50, 1)]
2023-04-01 08:21:39.519 CRITICAL (SyncWorker_5) [homeassistant.components.profiler] Memory Growth: [('Point', 57414, 4101), ('Room', 56, 4), ('Path', 22, 1), ('ImageData', 14, 1), ('ImageDimensions', 14, 1), ('Image', 14, 1)]
2023-04-01 08:21:44.460 CRITICAL (SyncWorker_0) [homeassistant.components.profiler] Memory Growth: [('DNSPointer', 38, 7), ('MemoryBIO', 102, 2), ('State', 1309, 1), ('ReadOnlyDict', 1672, 1), ('_SSLProtocolTransport', 52, 1), ('_SSLSocket', 68, 1), ('SSLProtocol', 49, 1), ('SSLObject', 51, 1)]
2023-04-01 08:21:49.461 CRITICAL (SyncWorker_1) [homeassistant.components.profiler] Memory Growth: [('TaskStepMethWrapper', 5, 1), ('State', 1310, 1), ('ReadOnlyDict', 1673, 1)]
2023-04-01 08:21:54.558 CRITICAL (SyncWorker_4) [homeassistant.components.profiler] Memory Growth: [('MemoryBIO', 104, 2), ('memoryview', 51, 1), ('managedbuffer', 51, 1), ('_SSLProtocolTransport', 53, 1), ('_SSLSocket', 69, 1), ('SSLProtocol', 50, 1), ('SSLObject', 52, 1), ('ReceiveMessage', 9, 1)]
2023-04-01 08:21:59.348 CRITICAL (SyncWorker_5) [homeassistant.components.profiler] Memory Growth: [('SignalDict', 40, 2), ('SessionEventsDispatch', 12, 1), ('Session', 17, 1), ('_SSLSocket', 70, 1), ('WeakInstanceDict', 11, 1)]
2023-04-01 08:22:04.535 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] Memory Growth: [('State', 1312, 2), ('ReadOnlyDict', 1675, 2), ('memoryview', 52, 1), ('managedbuffer', 52, 1), ('Timer', 4, 1), ('ReceiveMessage', 10, 1), ('VacuumStatus', 2, 1), ('DNDStatus', 2, 1), ('croniter', 2, 1)]
2023-04-01 08:22:09.933 CRITICAL (SyncWorker_7) [homeassistant.components.profiler] Memory Growth: [('function', 100864, 28), ('Cookie', 30, 14), ('CaseInsensitiveDict', 117, 2), ('CIMultiDictProxy', 146, 1), ('managedbuffer', 53, 1), ('memoryview', 53, 1), ('_GatheringFuture', 3, 1)]
2023-04-01 08:22:14.353 CRITICAL (SyncWorker_6) [homeassistant.components.profiler] Memory Growth: [('MemoryBIO', 110, 6), ('_SSLProtocolTransport', 57, 4), ('SSLProtocol', 54, 4), ('SSLObject', 55, 3), ('memoryview', 55, 2), ('managedbuffer', 55, 2), ('_SSLSocket', 72, 2)]
2023-04-01 08:22:19.441 CRITICAL (SyncWorker_1) [homeassistant.components.profiler] Memory Growth: [('State', 1313, 1), ('ReadOnlyDict', 1676, 1), ('ReceiveMessage', 11, 1)]
2023-04-01 08:22:24.399 CRITICAL (SyncWorker_1) [homeassistant.components.profiler] Memory Growth: [('MemoryBIO', 112, 2), ('memoryview', 56, 1), ('managedbuffer', 56, 1), ('_SSLProtocolTransport', 58, 1), ('_SSLSocket', 73, 1), ('SSLProtocol', 55, 1), ('SSLObject', 56, 1), ('ReceiveMessage', 12, 1)]
2023-04-01 08:22:29.576 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] Memory Growth: [('_SSLSocket', 75, 2), ('MemoryBIO', 114, 2), ('ClientConnectionError', 12, 2), ('memoryview', 57, 1), ('managedbuffer', 57, 1), ('_SSLProtocolTransport', 59, 1), ('SSLProtocol', 56, 1), ('SSLObject', 57, 1)]
2023-04-01 08:22:34.468 CRITICAL (SyncWorker_0) [homeassistant.components.profiler] Memory Growth: [('MemoryBIO', 116, 2), ('SSLObject', 58, 1)]
2023-04-01 08:22:39.580 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] Memory Growth: [('memoryview', 59, 2), ('managedbuffer', 59, 2), ('WSMessage', 13, 1), ('TypeError', 8, 1)]
2023-04-01 08:22:44.532 CRITICAL (SyncWorker_2) [homeassistant.components.profiler] Memory Growth: [('CIMultiDictProxy', 147, 1), ('suppress', 5, 1)]
2023-04-01 08:22:49.462 CRITICAL (SyncWorker_1) [homeassistant.components.profiler] Memory Growth: [('State', 1314, 1), ('ReadOnlyDict', 1677, 1)]
2023-04-01 08:22:54.455 CRITICAL (SyncWorker_5) [homeassistant.components.profiler] Memory Growth: [('CIMultiDictProxy', 149, 2), ('RawRequestMessage', 20, 2), ('ReceiveMessage', 13, 1)]
2023-04-01 08:22:59.687 CRITICAL (SyncWorker_4) [homeassistant.components.profiler] Memory Growth: []
2023-04-01 08:23:04.542 CRITICAL (SyncWorker_0) [homeassistant.components.profiler] Memory Growth: [('ReceiveMessage', 14, 1)]
2023-04-01 08:23:09.525 CRITICAL (SyncWorker_4) [homeassistant.components.profiler] Memory Growth: [('CIMultiDictProxy', 164, 15)]
2023-04-01 08:23:14.439 CRITICAL (SyncWorker_6) [homeassistant.components.profiler] Memory Growth: [('CIMultiDictProxy', 188, 24), ('CaseInsensitiveDict', 137, 20), ('CIMultiDict', 212, 16)]
2023-04-01 08:23:19.538 CRITICAL (SyncWorker_1) [homeassistant.components.profiler] Memory Growth: [('CaseInsensitiveDict', 139, 2), ('ReceiveMessage', 15, 1)]
2023-04-01 08:23:24.410 CRITICAL (SyncWorker_0) [homeassistant.components.profiler] Memory Growth: [('CIMultiDict', 219, 7), ('DNSPointer', 42, 4), ('ReceiveMessage', 16, 1)]
2023-04-01 08:23:29.225 CRITICAL (SyncWorker_6) [homeassistant.components.profiler] Memory Growth: [('TraceElement', 37, 30), ('Script', 69, 8), ('AutomationTrace', 6, 3), ('LogEntry', 11, 2), ('LimitedSizeDict', 5, 2), ('attrgetter', 333, 1), ('PopulateDict', 34, 1), ('portable_instancemethod', 71, 1), ('_DialectArgDict', 11, 1), ('MySQLCompiler_mysqldb', 43, 1), ('prefix_anon_map', 61, 1), ('_GlobalTaskContext', 1, 1), ('_DialectArgView', 1, 1), ('HmipConnectionError', 1, 1), ('UpdateDMLState', 1, 1), ('BytesPayload', 1, 1), ('SocketClosedAPIError', 1, 1)]
2023-04-01 08:23:34.197 CRITICAL (SyncWorker_1) [homeassistant.components.profiler] Memory Growth: [('LogEntry', 12, 1)]
  1. Python 3.10:
2023-04-01 08:25:17.432 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] Memory Growth: [('dict', 147241, 147241), ('tuple', 115914, 115914), ('function', 99298, 99298), ('list', 65585, 65585), ('cell', 55210, 55210), ('ReferenceType', 29823, 29823), ('set', 21177, 21177), ('Point', 20505, 20505), ('type', 12865, 12865), ('builtin_function_or_method', 12757, 12757), ('AIOGitHubAPIRepositoryTreeContent', 10673, 10673), ('getset_descriptor', 9299, 9299), ('Language', 7847, 7847), ('method', 7661, 7661), ('property', 7483, 7483), ('DateOrDatetime', 5251, 5251), ('frozenset', 4976, 4976), ('Schema', 4759, 4759), ('OrderedDict', 4594, 4594), ('module', 4407, 4407), ('ModuleSpec', 4404, 4404), ('SourceFileLoader', 4234, 4234), ('Event', 3942, 3942), ('Element', 3843, 3843), ('uint8_t', 3089, 3089), ('wrapper_descriptor', 3038, 3038), ('member_descriptor', 2853, 2853), ('method_descriptor', 2419, 2419), ('uint16_t', 2273, 2273), ('Argument', 2165, 2165), ('StructField', 2063, 2063), ('Context', 2032, 2032), ('classmethod', 2032, 2032), ('_GenericAlias', 1931, 1931), ('HassJob', 1876, 1876), ('Optional', 1857, 1857), ('_abc_data', 1845, 1845), ('Parameter', 1659, 1659), ('NodeListClass', 1651, 1651), ('staticmethod', 1639, 1639), ('ABCMeta', 1605, 1605), ('ZCLAttributeDef', 1583, 1583), ('ReadOnlyDict', 1560, 1560), ('_UnionGenericAlias', 1300, 1300), ('cython_function_or_method', 1261, 1261), ('RepositoryData', 1260, 1260), ('RepositoryContent', 1260, 1260), ('Validate', 1260, 1260), ('RepositoryReleases', 1260, 1260), ('RepositoryPath', 1260, 1260), ('HacsManifest', 1260, 1260), ('Field', 1241, 1241), ('State', 1199, 1199), ('ForwardRef', 1135, 1135), ('PosixPath', 1124, 1124), ('RegistryEntry', 1086, 1086), ('Required', 1083, 1083), ('_tuplegetter', 996, 996), ('All', 976, 976), ('Pattern', 970, 970), ('StateVariable', 956, 956), ('ValueRange', 956, 956), ('EventTask', 949, 949), ('HassLogger', 919, 919), ('HacsIntegrationRepository', 883, 883), ('InstanceState', 851, 851), ('BlueprintButtonAction', 851, 851), ('Struct', 837, 837), ('EnumMeta', 832, 832), ('Param', 824, 824), ('DDLEventsDispatch', 813, 813), ('TagMap', 803, 803), ('States', 771, 771), ('itemgetter', 740, 740), ('_ColumnMetrics', 734, 734), ('Command', 732, 732), ('deque', 697, 697), ('FileFinder', 667, 667), ('GitHubBaseUserModel', 659, 659), ('Attribute', 628, 628), ('ZCLCommandDef', 626, 626), ('Integration', 624, 624), ('Column', 619, 619), ('quoted_name', 585, 585), ('PointerType', 512, 512), ('Country', 489, 489), ('Action', 471, 471), ('ArgumentList', 468, 468), ('ActionArgumentInfo', 457, 457), ('ListSubclass', 450, 450), ('mappingproxy', 437, 437), ('CommandHeader', 417, 417), ('NamedTypes', 410, 410), ('BindParameter', 408, 408), ('TypeVar', 404, 404), ('_DataclassParams', 387, 387), ('ResourceRoute', 377, 377), ('GitHubReleaseModel', 370, 370), ('MovedAttribute', 352, 352), ('Service', 349, 349)]
2023-04-01 08:25:25.617 CRITICAL (SyncWorker_2) [homeassistant.components.profiler] Memory Growth: [('Point', 24606, 4101), ('function', 99461, 163), ('tuple', 116026, 112), ('cell', 55282, 72), ('list', 65652, 67), ('DNSQuestion', 60, 57), ('set', 21231, 54), ('Context', 2071, 39), ('Device', 49, 39), ('TimerHandle', 285, 29), ('State', 1214, 15), ('Event', 3956, 14), ('ReadOnlyDict', 1574, 14), ('Struct', 845, 8), ('DNSPointer', 26, 4), ('Room', 24, 4), ('Lock', 252, 3), ('HassJob', 1878, 2), ('CIMultiDictProxy', 108, 2), ('_UnionGenericAlias', 1301, 1), ('CaseInsensitiveDict', 99, 1), ('Path', 14, 1), ('LogEntry', 11, 1), ('_ConnectionRecord', 6, 1), ('Connection', 12, 1), ('ProxyType', 6, 1), ('HTTPConnection', 4, 1), ('HTTPResponse', 10, 1), ('HTTPMessage', 9, 1), ('ReceiveMessage', 4, 1), ('States', 772, 1), ('ImageData', 6, 1), ('ImageDimensions', 6, 1), ('Image', 6, 1)]
2023-04-01 08:25:30.639 CRITICAL (SyncWorker_9) [homeassistant.components.profiler] Memory Growth: [('Point', 28707, 4101), ('Context', 2094, 23), ('set', 21245, 14), ('State', 1228, 14), ('ReadOnlyDict', 1588, 14), ('Event', 3967, 11), ('DNSQuestion', 71, 11), ('Room', 28, 4), ('dict', 147243, 2), ('frozenset', 4977, 1), ('builtin_method', 84, 1), ('MySQLCompiler_mysqldb', 42, 1), ('CursorResultMetaData', 39, 1), ('Select', 134, 1), ('CacheKey', 42, 1), ('prefix_anon_map', 60, 1), ('FromLinter', 26, 1), ('ResultColumnsEntry', 133, 1), ('_ColumnsPlusNames', 120, 1), ('ColumnClause', 10, 1), ('Path', 15, 1), ('HTTPMessage', 10, 1), ('ImageData', 7, 1), ('ImageDimensions', 7, 1), ('Image', 7, 1), ('SelectState', 1, 1)]
2023-04-01 08:25:35.523 CRITICAL (SyncWorker_8) [homeassistant.components.profiler] Memory Growth: [('Point', 32808, 4101), ('module', 4415, 8), ('ModuleSpec', 4412, 8), ('SourceFileLoader', 4242, 8), ('State', 1234, 6), ('ReadOnlyDict', 1594, 6), ('Event', 3972, 5), ('Room', 32, 4), ('Lock', 253, 1), ('_FilterableJob', 141, 1), ('HassJob', 1879, 1), ('IntegrationPlatform', 8, 1), ('Path', 16, 1), ('ImageData', 8, 1), ('ImageDimensions', 8, 1), ('Image', 8, 1), ('SignificantlyChangedChecker', 1, 1)]
2023-04-01 08:25:40.749 CRITICAL (SyncWorker_10) [homeassistant.components.profiler] Memory Growth: [('Point', 36909, 4101), ('Context', 2122, 28), ('ReadOnlyDict', 1619, 25), ('State', 1258, 24), ('Event', 3993, 21), ('hamt', 83, 8), ('hamt_bitmap_node', 85, 8), ('Task', 54, 6), ('TaskStepMethWrapper', 7, 6), ('Handle', 67, 5), ('UUID', 28, 4), ('Room', 36, 4), ('MultizoneInfo', 3, 3), ('SignalDict', 34, 2), ('Lock', 255, 2), ('TemplateState', 13, 2), ('frozenset', 4978, 1), ('SessionEventsDispatch', 9, 1), ('Session', 14, 1), ('Path', 17, 1), ('DeviceStatus', 11, 1), ('ServiceInfo', 38, 1), ('SSLSocket', 17, 1), ('WeakInstanceDict', 8, 1), ('HTTPSConnection', 7, 1), ('ImageData', 9, 1), ('ImageDimensions', 9, 1), ('Image', 9, 1), ('MultizoneStatus', 1, 1), ('HTTPSHandler', 1, 1), ('OpenerDirector', 1, 1), ('UnknownHandler', 1, 1), ('HTTPHandler', 1, 1), ('HTTPDefaultErrorHandler', 1, 1), ('HTTPRedirectHandler', 1, 1), ('FTPHandler', 1, 1), ('FileHandler', 1, 1), ('HTTPErrorProcessor', 1, 1), ('DataHandler', 1, 1)]
2023-04-01 08:25:45.471 CRITICAL (SyncWorker_2) [homeassistant.components.profiler] Memory Growth: [('Point', 41010, 4101), ('ReadOnlyDict', 1628, 9), ('State', 1266, 8), ('DNSService', 18, 5), ('DNSText', 18, 5), ('ServiceInfo', 43, 5), ('Event', 3997, 4), ('Room', 40, 4), ('Lock', 257, 2), ('AsyncLock', 5, 2), ('ResourceGuard', 4, 2), ('SimpleCookie', 22, 1), ('CIMultiDictProxy', 109, 1), ('Path', 18, 1), ('Morsel', 3, 1), ('ConnectionState', 6, 1), ('ImageData', 10, 1), ('ImageDimensions', 10, 1), ('Image', 10, 1), ('AsyncHTTPConnection', 2, 1), ('AsyncHTTP11Connection', 2, 1), ('ReceiveBuffer', 2, 1), ('Origin', 2, 1), ('AsyncIOStream', 2, 1), ('TLSStream', 2, 1), ('SocketStream', 2, 1), ('StreamProtocol', 2, 1), ('EventResultOrError', 1, 1), ('_RequestContextManager', 1, 1)]
2023-04-01 08:25:50.717 CRITICAL (SyncWorker_6) [homeassistant.components.profiler] Memory Growth: [('coroutine', 186, 22), ('frozenset', 4990, 12), ('Future', 60, 12), ('BindParameter', 420, 12), ('FutureIter', 45, 9), ('builtin_function_or_method', 12765, 8), ('LambdaOptions', 62, 7), ('LinkedLambdaElement', 43, 6), ('partial', 226, 5), ('WeakKeyDictionary', 143, 4), ('Task', 57, 3), ('State', 1268, 2), ('ReadOnlyDict', 1630, 2), ('RLock', 64, 1), ('Condition', 104, 1), ('generator', 10, 1), ('immutabledict', 286, 1), ('CacheKey', 43, 1), ('StatementLambdaElement', 19, 1), ('DNSPointer', 27, 1), ('_GeneratorContextManager', 5, 1), ('Connection', 13, 1), ('_GatheringFuture', 2, 1), ('_WorkItem', 3, 1), ('SessionTransaction', 2, 1), ('MySQLExecutionContext_mysqldb', 1, 1), ('Cursor', 1, 1)]
2023-04-01 08:25:55.418 CRITICAL (SyncWorker_8) [homeassistant.components.profiler] Memory Growth: [('Point', 45111, 4101), ('ReadOnlyDict', 1635, 5), ('State', 1272, 4), ('Room', 44, 4), ('RenderInfo', 34, 3), ('Event', 3999, 2), ('TypeError', 6, 2), ('cell', 55283, 1), ('Path', 19, 1), ('ReceiveMessage', 5, 1), ('ImageData', 11, 1), ('ImageDimensions', 11, 1), ('Image', 11, 1)]
2023-04-01 08:25:59.866 CRITICAL (SyncWorker_0) [homeassistant.components.profiler] Memory Growth: [('Point', 49212, 4101), ('State', 1281, 9), ('ReadOnlyDict', 1644, 9), ('Room', 48, 4), ('CaseInsensitiveDict', 100, 1), ('OrderedDict', 4595, 1), ('tuple_iterator', 6, 1), ('Path', 20, 1), ('ImageData', 12, 1), ('ImageDimensions', 12, 1), ('Image', 12, 1)]
2023-04-01 08:26:05.835 CRITICAL (SyncWorker_2) [homeassistant.components.profiler] Memory Growth: [('frozenset', 5012, 22), ('CIMultiDictProxy', 121, 12), ('BindParameter', 432, 12), ('CaseInsensitiveDict', 111, 11), ('generator', 17, 7), ('LambdaOptions', 69, 7), ('partial', 232, 6), ('LinkedLambdaElement', 49, 6), ('WeakKeyDictionary', 147, 4), ('_GeneratorContextManager', 8, 3), ('State', 1284, 3), ('ReadOnlyDict', 1647, 3), ('RLock', 66, 2), ('Struct', 847, 2), ('HTTPHeaderDict', 1, 1), ('HTTPResponse', 11, 1), ('Response', 7, 1), ('RequestsCookieJar', 5, 1), ('DefaultCookiePolicy', 6, 1), ('__CDataFromBuf', 1, 1), ('Condition', 105, 1), ('immutabledict', 287, 1), ('ConnectionEventsDispatch', 5, 1), ('CacheKey', 44, 1), ('StatementLambdaElement', 20, 1), ('Connection', 14, 1), ('ReceiveMessage', 6, 1), ('SessionTransaction', 3, 1), ('_WorkItem', 4, 1), ('_ConnectionFairy', 2, 1), ('JoinedConnectionEventsDispatch', 2, 1), ('RootTransaction', 2, 1), ('MySQLExecutionContext_mysqldb', 2, 1), ('Cursor', 2, 1)]
2023-04-01 08:26:10.732 CRITICAL (SyncWorker_5) [homeassistant.components.profiler] Memory Growth: [('State', 1292, 8), ('ReadOnlyDict', 1655, 8), ('Event', 4003, 4), ('SignalDict', 36, 2), ('list_iterator', 9, 1), ('SessionEventsDispatch', 10, 1), ('Session', 15, 1), ('ServiceInfo', 44, 1), ('WeakInstanceDict', 9, 1), ('set_iterator', 1, 1)]
2023-04-01 08:26:15.634 CRITICAL (SyncWorker_9) [homeassistant.components.profiler] Memory Growth: [('CIMultiDictProxy', 126, 5), ('CaseInsensitiveDict', 114, 3), ('CastMessage', 2, 2), ('memoryview', 4, 2), ('WSMessage', 11, 2), ('State', 1293, 1), ('ReadOnlyDict', 1656, 1)]
2023-04-01 08:26:20.756 CRITICAL (SyncWorker_10) [homeassistant.components.profiler] Memory Growth: [('Context', 2161, 39), ('tuple', 116055, 29), ('CIMultiDictProxy', 144, 18), ('coroutine', 202, 16), ('CIMultiDict', 165, 16), ('dict', 147255, 12), ('builtin_function_or_method', 12776, 11), ('ReferenceType', 29830, 7), ('frame', 336, 5), ('Task', 62, 5), ('CaseInsensitiveDict', 119, 5), ('Future', 62, 2), ('FutureIter', 46, 1), ('TypeError', 7, 1), ('ReceiveMessage', 7, 1)]
2023-04-01 08:26:25.638 CRITICAL (SyncWorker_0) [homeassistant.components.profiler] Memory Growth: [('State', 1294, 1), ('ReadOnlyDict', 1657, 1), ('ReceiveMessage', 8, 1)]
2023-04-01 08:26:30.411 CRITICAL (SyncWorker_2) [homeassistant.components.profiler] Memory Growth: [('set', 21254, 9), ('DNSPointer', 31, 4), ('set_iterator', 2, 1)]
2023-04-01 08:26:35.515 CRITICAL (SyncWorker_7) [homeassistant.components.profiler] Memory Growth: [('Point', 53313, 4101), ('Room', 52, 4), ('Path', 21, 1), ('ImageData', 13, 1), ('ImageDimensions', 13, 1), ('Image', 13, 1)]
2023-04-01 08:26:40.808 CRITICAL (SyncWorker_9) [homeassistant.components.profiler] Memory Growth: [('State', 1303, 9), ('ReadOnlyDict', 1666, 9), ('Request', 11, 1), ('TemplateState', 14, 1)]
2023-04-01 08:26:45.707 CRITICAL (SyncWorker_10) [homeassistant.components.profiler] Memory Growth: [('Event', 4005, 2)]
2023-04-01 08:26:50.565 CRITICAL (SyncWorker_0) [homeassistant.components.profiler] Memory Growth: [('tuple', 116057, 2), ('Event', 4007, 2), ('State', 1305, 2), ('ReadOnlyDict', 1668, 2)]
2023-04-01 08:26:55.405 CRITICAL (SyncWorker_7) [homeassistant.components.profiler] Memory Growth: [('Point', 57414, 4101), ('Room', 56, 4), ('State', 1306, 1), ('ReadOnlyDict', 1669, 1), ('Path', 22, 1), ('ReceiveMessage', 9, 1), ('ImageData', 14, 1), ('ImageDimensions', 14, 1), ('Image', 14, 1)]
2023-04-01 08:27:00.456 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] Memory Growth: [('State', 1309, 3), ('ReadOnlyDict', 1672, 3), ('CIMultiDict', 168, 3), ('Event', 4009, 2)]
2023-04-01 08:27:05.723 CRITICAL (SyncWorker_4) [homeassistant.components.profiler] Memory Growth: [('Point', 61515, 4101), ('Room', 60, 4), ('Path', 23, 1), ('ReceiveMessage', 10, 1), ('ImageData', 15, 1), ('ImageDimensions', 15, 1), ('Image', 15, 1)]
2023-04-01 08:27:10.793 CRITICAL (SyncWorker_4) [homeassistant.components.profiler] Memory Growth: [('SignalDict', 38, 2), ('SessionEventsDispatch', 11, 1), ('Session', 16, 1), ('WeakInstanceDict', 10, 1)]
2023-04-01 08:27:15.357 CRITICAL (SyncWorker_5) [homeassistant.components.profiler] Memory Growth: [('Point', 65616, 4101), ('Room', 64, 4), ('CIMultiDict', 169, 1), ('Path', 24, 1), ('ImageData', 16, 1), ('ImageDimensions', 16, 1), ('Image', 16, 1)]
2023-04-01 08:27:20.710 CRITICAL (SyncWorker_8) [homeassistant.components.profiler] Memory Growth: [('Context', 2199, 38), ('tuple', 116062, 5), ('OrderedDict', 4597, 2), ('CaseInsensitiveDict', 121, 2), ('BufferedReader', 4, 1), ('managedbuffer', 3, 1), ('Future', 63, 1), ('Timeout', 22, 1), ('TypeError', 8, 1), ('ReceiveMessage', 11, 1), ('PreparedRequest', 2, 1), ('Url', 2, 1), ('SocketIO', 2, 1)]
2023-04-01 08:27:24.862 CRITICAL (SyncWorker_6) [homeassistant.components.profiler] Memory Growth: [('suppress', 4, 1), ('dict_itemiterator', 1, 1), ('State', 1310, 1), ('ReadOnlyDict', 1673, 1), ('ReceiveMessage', 12, 1)]
2023-04-01 08:27:30.623 CRITICAL (SyncWorker_5) [homeassistant.components.profiler] Memory Growth: [('CIMultiDictProxy', 152, 8), ('CaseInsensitiveDict', 125, 4), ('_GenericAlias', 1932, 1), ('Struct', 848, 1)]
2023-04-01 08:27:35.652 CRITICAL (SyncWorker_10) [homeassistant.components.profiler] Memory Growth: []
2023-04-01 08:27:40.529 CRITICAL (SyncWorker_6) [homeassistant.components.profiler] Memory Growth: [('CIMultiDict', 177, 8), ('State', 1311, 1), ('ReadOnlyDict', 1674, 1)]
2023-04-01 08:27:45.619 CRITICAL (SyncWorker_9) [homeassistant.components.profiler] Memory Growth: [('SplitResult', 41, 1)]

2023-04-01 08:27:50.623 CRITICAL (SyncWorker_8) [homeassistant.components.profiler] Memory Growth: [('tuple', 116064, 2), ('CaseInsensitiveDict', 127, 2), ('Timer', 4, 1), ('VacuumStatus', 2, 1), ('DNDStatus', 2, 1), ('croniter', 2, 1)]
2023-04-01 08:27:55.712 CRITICAL (SyncWorker_10) [homeassistant.components.profiler] Memory Growth: [('ReceiveMessage', 13, 1)]
2023-04-01 08:28:00.801 CRITICAL (SyncWorker_4) [homeassistant.components.profiler] Memory Growth: []
2023-04-01 08:28:05.901 CRITICAL (SyncWorker_10) [homeassistant.components.profiler] Memory Growth: [('dict', 147296, 41), ('partial', 239, 7), ('tuple', 116067, 3), ('result', 1, 1), ('Response', 8, 1), ('SimpleCookie', 23, 1), ('Condition', 106, 1), ('ReceiveMessage', 14, 1), ('_WorkItem', 5, 1)]
2023-04-01 08:28:10.805 CRITICAL (SyncWorker_2) [homeassistant.components.profiler] Memory Growth: [('tuple', 116078, 11)]
2023-04-01 08:28:15.300 CRITICAL (SyncWorker_7) [homeassistant.components.profiler] Memory Growth: []
2023-04-01 08:28:20.681 CRITICAL (SyncWorker_6) [homeassistant.components.profiler] Memory Growth: [('CIMultiDict', 190, 13), ('CIMultiDictProxy', 164, 12), ('ReceiveMessage', 15, 1)]
2023-04-01 08:28:25.076 CRITICAL (SyncWorker_5) [homeassistant.components.profiler] Memory Growth: [('ReceiveMessage', 16, 1)]
2023-04-01 08:28:30.568 CRITICAL (SyncWorker_4) [homeassistant.components.profiler] Memory Growth: [('State', 1313, 2), ('ReadOnlyDict', 1676, 2)]
2023-04-01 08:28:35.163 CRITICAL (SyncWorker_7) [homeassistant.components.profiler] Memory Growth: [('tuple', 116109, 31), ('State', 1314, 1), ('ReadOnlyDict', 1677, 1)]
2023-04-01 08:28:40.632 CRITICAL (SyncWorker_10) [homeassistant.components.profiler] Memory Growth: [('tuple', 116121, 12), ('function', 99465, 4), ('SignalDict', 40, 2), ('SessionEventsDispatch', 12, 1), ('State', 1315, 1), ('ReadOnlyDict', 1678, 1), ('Session', 17, 1), ('WeakInstanceDict', 11, 1)]
2023-04-01 08:28:45.355 CRITICAL (SyncWorker_9) [homeassistant.components.profiler] Memory Growth: [('Event', 4012, 3), ('State', 1316, 1), ('ReadOnlyDict', 1679, 1)]
2023-04-01 08:28:50.640 CRITICAL (SyncWorker_5) [homeassistant.components.profiler] Memory Growth: [('list', 66110, 458), ('dict', 147332, 36), ('CaseInsensitiveDict', 129, 2)]
2023-04-01 08:28:55.628 CRITICAL (SyncWorker_9) [homeassistant.components.profiler] Memory Growth: [('ReceiveMessage', 17, 1)]
2023-04-01 08:29:00.142 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] Memory Growth: []
2023-04-01 08:29:05.670 CRITICAL (SyncWorker_1) [homeassistant.components.profiler] Memory Growth: [('CIMultiDictProxy', 166, 2), ('RawRequestMessage', 12, 2), ('URL', 29, 1), ('ReceiveMessage', 18, 1)]
2023-04-01 08:29:10.150 CRITICAL (SyncWorker_5) [homeassistant.components.profiler] Memory Growth: []

Looks similar to me.

@bdraco
Copy link
Member

bdraco commented Apr 1, 2023

Sorry for a stupid question :-) What should I dump?

My log file was huge so I had to rename it so that HA would create a new one.

It's good news that it's showing the leak. It's bad news that is not a named object because it's much harder to figure out where is coming from since it's an anonymous dict.

In your case you want to dump 'dict'

Unfortunately there are tens of thousands of them so it may not be able to dump them successfully

The idea is to run a dump. Than run another dump and compare. Figure out which ones are new and than we might be able to figure out where they are coming from based on what's in them

@mickecamino
Copy link

mickecamino commented Apr 2, 2023

In your case you want to dump 'dict'

Unfortunately there are tens of thousands of them so it may not be able to dump them successfully

I figured that out when I tried to dump dict, and my HA came to a screeching halt when it was writing a huge amount of info into the log file. It wrote more than 150 MB in a couple of seconds. My second try resulted in a 98 MB log file, but comparing them was unfortunately a no go.

@bdraco
Copy link
Member

bdraco commented Apr 2, 2023

I built a new service that will show the source / contents of the dicts in #90650

Once that merges that should hopefully give you a better shot at being able to get some useful data that doesn't need to be manually compared with 10000s of entries.

@bdraco
Copy link
Member

bdraco commented Apr 3, 2023

@mickecamino If you install https://github.com/home-assistant/core/releases/tag/2023.4.0b5 via the beta channel and run the

Call the profiler.start_log_object_sources, wait for it to get to only the leaking dicts, and you should get a better idea whats is in the leaking dict and/or where they are getting created.

@mickecamino
Copy link

I just got home, and I am running it now. Will post log in about an hour or so.

@mickecamino
Copy link

One hour run:
gridfreq line truncated for visibility. But no object growth (yet)
Home Assistant Core


New objects overflowed by {'dict': 66, 'Context': 42, 'State': 16, 'ReadOnlyDict': 16}
8:06:46 PM – (CRITICAL) Profiler - message first occurred at 7:21:43 PM and shows up 90 times
New object dict (56749/56775) at ["[{'gridfreq': {'val': '50.014'}, 'iace': {'L1': '0.000', 'L2': '0.000', 
8:06:46 PM – (CRITICAL) Profiler - message first occurred at 7:21:42 PM and shows up 450 times
No new object growth found
7:41:14 PM – (CRITICAL) Profiler

@bdraco
Copy link
Member

bdraco commented Apr 3, 2023

I'm assuming you had 2023.3.x before. It would be quite ironic if the service I just built to track leaks can't find it because it was already fixed in 2023.4.x

@mickecamino
Copy link

Ahhh, OK.
I was running 2022.12.0b0 on the test server.
I have stopped the profiler, restarted HA and will keep an eye on the memory usage.
Now running:
Home Assistant 2023.4.0b5
Frontend 20230401.0 - latest

@mickecamino
Copy link

I started Start logging growth of objects in memory and now it is showing Memory Growth on a couple of lines in the log.
`

Memory Growth: []
Memory Growth: [('RLock', 36, 1), ('Condition', 36, 1), ('MQTTMessage', 1, 1), ('MQTTMessageInfo', 1, 1)]
Memory Growth: [('dict', 53307, 28), ('ReferenceType', 16441, 28)]
Memory Growth: [('dict', 53335, 28), ('CIMultiDictProxy', 94, 12), ('CIMultiDict', 95, 12), ('tuple', 65113, 3), ('State', 287, 1)]
Memory Growth: [('dict', 53363, 28)]

`

@bdraco
Copy link
Member

bdraco commented Apr 3, 2023

Are you looking at the raw log or the UI?

@mickecamino
Copy link

mickecamino commented Apr 3, 2023

The latest was from the UI. I can zip the two log-files and upload it here if you want to look at them,
The home-assistant.log.1 is from running the new object logger, home-assistant.log is from Start logging growth of objects

EDIT: The log files are HUGE, more than 2GB

@bdraco
Copy link
Member

bdraco commented Apr 3, 2023

The latest was from the UI. I can zip the two log-files and upload it here if you want to look at them, The home-assistant.log.1 is from running the new object logger, home-assistant.log is from Start logging growth of objects

EDIT: The log files are HUGE, more than 2GB

My dropbox is [email protected] or gdrive is [email protected]

@mickecamino
Copy link

mickecamino commented Apr 3, 2023

I have shared the log files with you on Dropbox

@bdraco
Copy link
Member

bdraco commented Apr 3, 2023

I've got the logs. Feel free to delete to free up space

@bdraco
Copy link
Member

bdraco commented Apr 3, 2023

"[{'gridfreq': {'val': '50.027'}, 'iace': {'L1': '0.000', 'L2': '0.000', 'L3': '0.000'}, 'ul': {'L1': '231.756', 'L2': '233.162', 'L3': '235.835'}, 'il': {'L1': '0.823', 'L2': '0.814', 'L3': '0.826'}, 'ild': {'L1': '1.124', 'L2': '1.114', 'L3': '1.128'}, 'ilq': {'L1': '0.023', 'L2': '0.029', 'L3': '0.025'}, 'iext': {'L1': '6.062', 'L2': '3.263', 'L3': '1.633'}, 'iextd': {'L1': '-0.591', 'L2': '2.259', 'L3': '1.817'}, 'iextq': {'L1': '7.940', 'L2': '3.813', 'L3': '0.945'}, 'iloadd': {'L1': '-1.715', 'L2': '1.145', 'L3': '0.689'}, 'iloadq': {'L1': '7.917', 'L2': '3.784', 'L3': '0.920'}, 'sext': {'val': '2550.831'}, 'pext': {'L1': '1301.177', 'L2': '628.651', 'L3': '157.589'}, 'pextreactive': {'L1': '-96.851', 'L2': '372.442', 'L3': '303.004'}, 'pinv': {'L1': '3.769', 'L2': '4.781', 'L3': '4.169'}, 'pinvreactive': {'L1': '184.197', 'L2': '183.666', 'L3': '188.106'}, 'pload': {'L1': '1297.408', 'L2': '623.870', 'L3': '153.420'}, 'ploadreactive': {'L1': '-281.048', 'L2': '188.777', 'L3': '114.898'}, 'ppv': {'val': '0.000'}, 'udc': {'pos': '380.307', 'neg': '-379.714'}, 'wextprodq': {'L1': '219385837227', 'L2': '284512412870', 'L3': '452104172060'}, 'wextconsq': {'L1': '1081408090827', 'L2': '848878654972', 'L3': '112272878405'}, 'winvprodq': {'L1': '578873462992', 'L2': '541626443620', 'L3': '522141700932'}, 'winvconsq': {'L1': '2578704745', 'L2': '4081095084', 'L3': '7928302284'}, 'wloadprodq': {'L1': '4776585', 'L2': '92509499', 'L3': '288999584'}, 'wloadconsq': {'L1': '1564669724137', 'L2': '1210110875503', 'L3': '188301444667'}, 'wextprodq_3p': {'val': '955998450236'}, 'wextconsq_3p': {'val': '2110770975712'}, 'winvprodq_3p': {'val': '1816349775315'}, 'winvconsq_3p': {'val': '8425515710'}, 'wloadprodq_3p': {'val': '141646443'}, 'wloadconsq_3p': {'val': '2962838431524'}, 'wpv': {'val': '1924350420286'}, 'state': {'val': '4101'}, 'ts': {'val': '2023-04-03T18:41:58UTC'}}, {'gridfreq': {'val': '50.030'}, 'iace': {'L1': '0.000', 'L2': '0.000', 'L3': '0.000'}, 'ul': {'L1': '231.759', 'L2': '233.333', 'L3': '235.679'}, 'il': {'L1': '0.824', 'L2': '0.815', 'L3': '0.825'}, 'ild': {'L1': '1.124', 'L2': '1.115', 'L3': '1.127'}, 'ilq': {'L1': '0.025', 'L2': '0.031', 'L3': '0.027'}, 'iext': {'L1': '5.966', 'L2': '3.263', 'L3': '1.633'}, 'iextd': {'L1': '-0.612', 'L2': '2.261', 'L3': '1.817'}, 'iextq': {'L1': '7.788', 'L2': '3.812', 'L3': '0.944'}, 'iloadd': {'L1': '-1.736', 'L2': '1.146', 'L3': '0.690'}, 'iloadq': {'L1': '7.763', 'L2': '3.781', 'L3': '0.917'}, 'sext': {'val': '2528.904'}, 'pext': {'L1': '1276.285', 'L2': '628.947', 'L3': '157.318'}, 'pextreactive': {'L1': '-100.294', 'L2': '373.045', 'L3': '302.803'}, 'pinv': {'L1': '4.097', 'L2': '5.115', 'L3': '4.500'}, 'pinvreactive': {'L1': '184.199', 'L2': '183.965', 'L3': '187.815'}, 'pload': {'L1': '1272.188', 'L2': '623.832', 'L3': '152.818'}, 'ploadreactive': {'L1': '-284.493', 'L2': '189.080', 'L3': '114.989'}, 'ppv': {'val': '0.000'}, 'udc': {'pos': '380.278', 'neg': '-379.791'}, 'wextprodq': {'L1': '219385837227', 'L2': '284512412870', 'L3': '452104172060'}, 'wextconsq': {'L1': '1081408090827', 'L2': '848878654972', 'L3': '112272878405'}, 'winvprodq': {'L1': '578873462992', 'L2': '541626443620', 'L3': '522141700932'}, 'winvconsq': {'L1': '2578708841', 'L2': '4081100198', 'L3': '7928306783'}, 'wloadprodq': {'L1': '4776585', 'L2': '92509499', 'L3': '288999584'}

Whatever is creating these objects is causing the leak.

Its some type of power sensor

@bdraco
Copy link
Member

bdraco commented Apr 3, 2023

It looks like its coming from https://github.com/henricm/ha-ferroamp

@mickecamino
Copy link

That is correct, I have an open issue there: henricm/ha-ferroamp#316

@bdraco
Copy link
Member

bdraco commented Apr 3, 2023

That is correct, I have an open issue there: henricm/ha-ferroamp#316

This isn't a bug in HA. Its a bug in the custom component. Its holding on to those dict objects so they never get garbage collected

henricm/ha-ferroamp#316 (comment)

@mickecamino
Copy link

All that data is coming from MQTT into ha-ferroamp. The original poster does not run ha-ferroamp, but is running MQTT.
Just a thought.

@bdraco
Copy link
Member

bdraco commented Apr 3, 2023

All that data is coming from MQTT into ha-ferroamp. The original poster does not run ha-ferroamp, but is running MQTT. Just a thought.

Its not the same problem (unless they are also using ha-ferroamp)

@mickecamino
Copy link

OK, I have updated the issue at ha-ferroamp.
Thank you for your support.
Check with the original poster so that he/she will run the profiler to spot their issues (if it is not fixed already in the latest beta)

@jjk0giap
Copy link

jjk0giap commented Apr 7, 2023

I also have high memory utilization started from 2023.3, but no ha-ferroamp installed. New profile logger with source filled memory in few minutes. Some lines before crash:

2023-04-06 14:00:25.892 CRITICAL (SyncWorker_7) [homeassistant.components.profiler] New object dict (0/94556) at ["Failed to serialize <class 'list'>", "{'measurement': 'state', 'tags': {'domain': 'persistent_notification', 'entity_id': 'profile_object_source_logging'}, 'time': datetime.datetime(2023, 4, 6, 11, 59, 39, 130698, tzinfo=datetime.timezone.utc), 'fields': {'state': 'notifying', 'message_str': 'Object source logging has started. See [the logs](/config/logs) to track the growth of new objects.', 'title_str': 'Object source logging started', 'friendly_name_str': 'Object source logging started'}}"]: {'measurement': 'state', 'tags': {'domain': 'persistent_notification', 'entity_id': 'profile_object_source_logging'}, 'time': datetime.datetime(2023, 4, 6, 11, 59, 39, 130698, tzinfo=datetime.timezone.utc), 'fields': {'state': 'notifying', 'message_str': 'Object source logging has started. See [the logs](/config/logs) to track the growth of new objects.', 'title_str': 'Object source logging started', 'friendly_name_str': 'Object source logging started'}}
2023-04-06 14:00:36.971 CRITICAL (SyncWorker_7) [homeassistant.components.profiler] New object Packet (0/167) at ["Failed to serialize <class 'list'>", "Packet(type=25, data=b'\\r3\\xca\\x13\\xfe\\x15$$\\x8e>')"]: Packet(type=25, data=b'\r3\xca\x13\xfe\x15$$\x8e>')
2023-04-06 14:00:46.907 CRITICAL (SyncWorker_7) [homeassistant.components.profiler] New object SensorStateResponse (0/6) at ["Failed to serialize <class 'list'>", 'key: 4262709811\nstate: 0.27761948\n']: key: 4262709811
2023-04-06 14:00:57.086 CRITICAL (SyncWorker_7) [homeassistant.components.profiler] New object NullMessageListener (0/31) at ["Failed to serialize <class 'list'>", '<google.protobuf.internal.message_listener.NullMessageListener object at 0x7f1bb0524c70>']: <google.protobuf.internal.message_listener.NullMessageListener object at 0x7f1bb0524c70>
2023-04-06 14:01:07.341 CRITICAL (SyncWorker_7) [homeassistant.components.profiler] New object _Listener (0/85) at ["Failed to serialize <class 'list'>", '<google.protobuf.internal.python_message._Listener object at 0x7f1bb0524c40>']: <google.protobuf.internal.python_message._Listener object at 0x7f1bb0524c40>
2023-04-06 14:01:08.983 CRITICAL (SyncWorker_7) [homeassistant.components.profiler] New objects overflowed by {'ProxyType': 85, 'dict': 94555, 'SensorState': 13, 'tuple': 105473, 'Context': 666332, 'State': 3588, 'ReadOnlyDict': 4872, 'list': 59248, 'Event': 1315, 'cell': 67059, 'dict_items': 8, 'set': 11660, 'ScalarInvalid': 6, 'traceback': 17, 'frame': 1324033, 'chain': 6, 'Packet': 166, 'SensorStateResponse': 5, 'NullMessageListener': 30, '_Listener': 84, 'socket': 43, 'BindParameter': 926, 'frozenset': 4537, 'method': 338234, 'WSMessage': 12, 'Coerce': 215, 'Range': 64, 'All': 654, 'In': 142, 'Object': 6, 'Schema': 3857, 'function': 104082, 'Required': 913, 'TimerHandle': 504, 'coroutine': 1324028, 'Task': 330993, 'ReferenceType': 352556, 'builtin_function_or_method': 671764, 'HassJob': 2796, 'CancelOnDisconnectRequestHandler': 8, 'deque': 1036, 'HttpRequestParser': 6, 'HomeAssistantAccessLogger': 8, 'Future': 330982, 'SSLProtocol': 9, '_SSLProtocolTransport': 9, '_SelectorSocketTransport': 16, 'TransportSocket': 23, 'KeyedRef': 142, 'Client': 91, 'Device': 5, 'Port': 3, 'Insert': 38, 'portable_instancemethod': 94, 'PopulateDict': 57, 'CacheKey': 106, 'Part': 29, 'GenericAlias': 386, 'SplitResult': 36, 'Timeout': 13, 'coroutine_wrapper': 2, 'JsonPayload': 1, 'CIMultiDict': 291, 'URL': 20, 'TimeoutHandle': 6, 'TimerContext': 9, 'SimpleCookie': 20, 'ClientRequest': 2, 'ConnectionKey': 6, 'Connection': 7, 'HttpResponseParser': 6, 'CIMultiDictProxy': 276, 'RequestInfo': 7, 'HassClientResponse': 7, 'FutureIter': 330969, '_GatheringFuture': 2, 'generator': 15, 'MySensorsJSONEncoder': 1, 'builtin_method': 69, 'ManagerMsg': 3, 'lock': 162, 'ConnectionResetError': 1, 'RawRequestMessage': 8, 'StreamReader': 5, 'StreamWriter': 7, 'HomeAssistantRequest': 7, 'UrlMappingMatchInfo': 7, 'Response': 2, 'PayloadAccessError': 1, 'ResponseHandler': 6, 'Handle': 30, 'SelectorKey': 27, 'ReadInputRegistersResponse': 1, 'States': 2, 'InstanceState': 10, 'SessionTransaction': 1, 'WeakKeyDictionary': 138, '_ConnectionFairy': 1, 'ConnectionEventsDispatch': 3, 'JoinedConnectionEventsDispatch': 1, 'RootTransaction': 1, 'BytesIO': 5, 'OutputContainer': 5, 'PyIOFile': 5, 'StreamContainer': 6, 'VideoCodecContext': 9, 'VideoFormat': 6, 'VideoFormatComponent': 18, 'Stream': 14, 'Condition': 73, 'RLock': 50, '_WorkItem': 3, 'Segment': 667, 'ReadHoldingRegistersRequest': 1, 'BasicAuth': 1, 'wrapper_descriptor': 3658, 'method_descriptor': 3233, 'classmethod_descriptor': 98, 'getset_descriptor': 9702, 'member_descriptor': 4098, 'staticmethod': 1542, 'SimpleNamespace': 1, 'module': 4069, 'type': 10180, 'ModuleSpec': 4065, 'property': 6404, 'classmethod': 1848, 'FileFinder': 542, 'ABCMeta': 1220, '_abc_data': 1505, 'TextIOWrapper': 6, 'IncrementalDecoder': 2, 'IncrementalEncoder': 4, 'SourceFileLoader': 3803, 'CodecInfo': 6, 'BufferedReader': 3, 'FileIO': 6, 'BufferedWriter': 5, '_Environ': 2, 'DistutilsMetaFinder': 1, 'Repr': 1, 'Quitter': 2, '_Printer': 3, '_Helper': 1, '_Feature': 10, '_NamespaceLoader': 10, '_NamespacePath': 10, '_tuplegetter': 897, 'EnumMeta': 470, '_NamedIntConstant': 74, 'RegexFlag': 22, '_lru_cache_wrapper': 164, 'Pattern': 999, 'method-wrapper': 54, 'WeakSet': 6, '_MainThread': 1, 'count': 16, '_SpecialForm': 12, '_LiteralSpecialForm': 1, '_ProtocolMeta': 116, 'TypeVar': 422, '_SpecialGenericAlias': 38, '_CallableType': 1, '_TupleType': 1, 'NamedTupleMeta': 1, '_TypedDictMeta': 177, 'Load': 1, 'Store': 40, 'Del': 1, 'And': 90, 'Or': 5, 'Add': 1, 'Sub': 1, 'Mult': 1, 'MatMult': 1, 'Div': 1, 'Mod': 1, 'Pow': 1, 'LShift': 1, 'RShift': 1, 'BitOr': 1, 'BitXor': 1, 'BitAnd': 1, 'FloorDiv': 1, 'Invert': 1, 'Not': 1, 'UAdd': 1, 'USub': 1, 'Eq': 1, 'NotEq': 1, 'Lt': 1, 'LtE': 1, 'Gt': 1, 'GtE': 1, 'Is': 1, 'IsNot': 1, 'NotIn': 3, '_ABC': 5, 'DynamicClassAttribute': 2, 'ExtensionFileLoader': 211, '_Precedence': 17, '_ParameterKind': 5, '_AnyMeta': 1, 'defaultdict': 218, 'partial': 436, '_ExtensionsSpecialForm': 2, '_UnpackSpecialForm': 1, '_CallableGenericAlias': 319, '_NamedTupleMeta': 1, 'Platform': 32, 'UnitOfApparentPower': 1, 'UnitOfPower': 3, 'UnitOfEnergy': 5, 'UnitOfElectricCurrent': 2, 'UnitOfElectricPotential': 2, 'UnitOfTemperature': 3, 'UnitOfTime': 9, 'UnitOfLength': 8, 'UnitOfFrequency': 4, 'UnitOfPressure': 9, 'UnitOfSoundPressure': 2, 'UnitOfVolume': 7, 'UnitOfVolumeFlowRate': 2, 'UnitOfMass': 7, 'UnitOfIrradiance': 2, 'UnitOfVolumetricFlux': 4, 'UnitOfPrecipitationDepth': 3, 'UnitOfSpeed': 5, 'UnitOfInformation': 21, 'UnitOfDataRate': 11, 'EntityCategory': 5, '_Sentinel': 2, 'Formatter': 7, 'WeakValueDictionary': 14, '_StderrHandler': 1, 'RootLogger': 1, 'PercentStyle': 6, 'Manager': 2, '_WindowsFlavour': 1, '_PosixFlavour': 1, '_NormalAccessor': 1, 'attrgetter': 356, '_HAS_DEFAULT_FACTORY_CLASS': 1, '_MISSING_TYPE': 1, '_KW_ONLY_TYPE': 1, 'mappingproxy': 543, '_FIELD_BASE': 3, 'AwesomeVersionStrategy': 7, '_DataclassParams': 384, 'Field': 1447, 'Undefined': 1, 'AwesomeVersionStrategyDescription': 6, 'SignalDict': 18, 'Logger': 59, 'PlaceHolder': 94, 'AddressFamily': 33, 'SocketKind': 7, 'MsgFlag': 16, 'AddressInfo': 8, 'Signals': 32, 'Handlers': 2, 'Sigmasks': 3, '_SSLMethod': 6, 'Options': 20, 'AlertDescription': 27, 'SSLErrorNumber': 9, 'VerifyFlags': 7, 'VerifyMode': 3, 'TLSVersion': 7, '_TLSContentType': 6, '_TLSAlertType': 34, '_TLSMessageType': 22, 'Purpose': 2, '_ASN1Object': 2, '_RunningLoop': 1, '_SendfileMode': 3, '_UnionGenericAlias': 1321, 'JSONEncoder': 2, 'JSONDecoder': 2, 'Scanner': 3, '_GenericAlias': 1774, 'CType': 209, 'Lib': 3, 'SHA1': 6, 'SHA224': 3, 'SHA256': 11, 'SHA384': 8, 'SHA512': 8, 'SHA3_224': 2, 'SHA3_256': 2, 'SHA3_384': 2, 'SHA3_512': 2, 'MD5': 1, '_Reasons': 12, 'PBES': 2, 'Encoding': 13, 'PrivateFormat': 5, 'PublicFormat': 6, 'ParameterFormat': 1, '_MaxLength': 2, '_Auto': 1, '_DigestLength': 1, '_ModuleWithDeprecations': 3, 'memoryview': 1, 'managedbuffer': 1, '_SSHFormatRSA': 1, '_SSHFormatDSA': 1, '_SSHFormatEd25519': 1, '_SSHFormatECDSA': 3, 'SECP256R1': 1, 'SECP384R1': 1, 'SECP521R1': 1, 'PyJWS': 1, 'SSHCertificateType': 2, 'NoneAlgorithm': 2, 'HMACAlgorithm': 6, 'RSAAlgorithm': 6, 'ECAlgorithm': 10, 'RSAPSSAlgorithm': 6, 'OKPAlgorithm': 2, '_localized_day': 2, '_localized_month': 2, 'TextCalendar': 1, 'PyJWT': 1, 'HTTPStatus': 62, 'Charset': 2, 'Random': 3, 'Compat32': 1, '_QByteMap': 1, '_DeprecatedValue': 11, '_State': 8, 'cached_property': 30, 'IPv4Network': 39, 'IPv4Address': 70, 'UCD': 1, '_TypingMeta': 2, 'IPv6Network': 40, 'IPv6Address': 66, 'slice': 96, '_Unquoter': 3, 'uname_result': 1, 'ParamSpec': 13, 'UUID': 6, 'UnionType': 111, 'SafeUUID': 3, 'ForwardRef': 1134, '_local': 6, '_Nothing': 1, 'Attribute': 398, 'itemgetter': 579, '_InstanceOfValidatorAttributes': 1, '_MatchesReValidatorAttributes': 1, '_ProvidesValidatorAttributes': 1, '_OptionalValidatorAttributes': 1, '_InValidatorAttributes': 1, '_IsCallableValidatorAttributes': 1, '_DeepIterableAttributes': 1, '_OptionalValidator': 2, '_IsCallableValidator': 5, 'VersionInfo': 1, '_DeepMappingAttributes': 1, '_NumberValidatorAttributes': 1, '_MaxLengthValidatorAttributes': 1, '_MinLengthValidatorAttributes': 1, '_SubclassOfValidatorAttributes': 1, '_NotValidatorAttributes': 1, 'VersionInfoAttributes': 1, '_DeepIterable': 1, '_InstanceOfValidator': 13, '_SubclassOfValidator': 1, '_NoThreads': 1, 'ProxyInfoAttributes': 1, 'ETagAttributes': 1, 'HttpVersion': 2, 'EmptyStreamReader': 1, 'ParseState': 4, 'ChunkState': 5, 'Struct': 895, 'WSMsgType': 9, 'WSCloseCode': 13, 'WSParserState': 4, 'Order': 23, 'PayloadRegistry': 1, 'reify': 41, 'ContentDispositionAttributes': 1, 'RequestInfoAttributes': 1, 'ConnectionKeyAttributes': 1, 'Factory': 29, '_AndValidatorAttributes': 1, 'MimeTypeAttributes': 1, 'TraceRequestStartParamsAttributes': 1, 'TraceRequestChunkSentParamsAttributes': 1, 'TraceRequestEndParamsAttributes': 1, 'TraceRequestExceptionParamsAttributes': 1, 'TraceRequestRedirectParamsAttributes': 1, 'TraceConnectionQueuedStartParamsAttributes': 1, 'TraceConnectionQueuedEndParamsAttributes': 1, 'TraceConnectionCreateStartParamsAttributes': 1, 'TraceConnectionCreateEndParamsAttributes': 1, 'TraceConnectionReuseconnParamsAttributes': 1, 'ClientTimeout': 2, 'TraceDnsResolveHostStartParamsAttributes': 1, 'TraceDnsResolveHostEndParamsAttributes': 1, 'TraceDnsCacheHitParamsAttributes': 1, 'TraceDnsCacheMissParamsAttributes': 1, 'TraceRequestHeadersSentParamsAttributes': 1, 'ClientTimeoutAttributes': 1, 'ContentCoding': 3, 'FileFieldAttributes': 1, '_ErrInfoAttributes': 1, 'array': 5, 'UnitSystem': 2, 'Any': 201, 'ConfigSource': 4, 'HassJobType': 3, 'CoreState': 6, 'EventOrigin': 2, 'FlowResultType': 8, 'UndefinedType': 2, 'DeviceEntryDisabler': 3, 'DeviceEntryType': 1, 'DeviceEntryAttributes': 1, 'DeletedDeviceEntryAttributes': 1, 'RegistryEntryDisabler': 5, 'RegistryEntryHider': 2, 'SystemRandom': 3, 'TraceResponseChunkReceivedParamsAttributes': 1, 'RegistryEntryAttributes': 1, 'PermissionLookupAttributes': 1, '_OwnerPermissions': 1, 'Optional': 1491, 'GroupAttributes': 1, 'UserAttributes': 1, 'RefreshTokenAttributes': 1, '_InValidator': 4, '_PyJWSWithLoadCache': 1, '_PyJWTWithVerify': 1, 'PlistFormat': 2, 'VendorImporter': 1, 'abstractproperty': 3, 'ExceptionTrap': 1, 'InfinityType': 3, 'NegativeInfinityType': 3, 'Interpolation': 12, 'BasicInterpolation': 1, 'EIClass': 2, 'EIData': 2, 'EMachine': 5, 'NewType': 7, 'CredentialsAttributes': 1, 'EmptyProvider': 1, 'ResourceManager': 1, 'MemoizedZipManifests': 1, 'WorkingSet': 1, 'DistInfoDistribution': 1262, 'PathMetadata': 1264, 'EggInfoDistribution': 2, 'Dialect': 18, 'FoldedCase': 10, 'Registry': 18, 'MissingType': 1, 'NodeType': 69, '_PassArg': 3, 'LRUCache': 19, 'PyCSimpleType': 28, 'StgDict': 124, 'LibraryLoader': 2, 'PyDLL': 1, 'CFunctionType': 5, '_swapped_meta': 1, 'PyCPointerType': 33, 'PyCFuncPtrType': 11, 'TemplateEnvironment': 3, 'AreaEntryAttributes': 1, 'ExactSequence': 8, 'LoopControlExtension': 3, 'Remove': 144, 'Exclusive': 60, 'IssueSeverity': 3, 'YAMLObjectMetaclass': 1, 'Namespace': 2, 'SunListenerAttributes': 1, 'EntityPlatformState': 3, 'NumberSelectorMode': 2, 'SelectSelectorMode': 2, 'TextSelectorType': 13, 'RouteDefAttributes': 1, 'WebSocketReadyAttributes': 1, 'LogEntryType': 2, 'Version': 7, 'SignatureAlgorithm': 4, '_ASN1Type': 12, 'ReasonFlags': 10, 'StaticDefAttributes': 1, 'TLSFeatureType': 2, 'PyCStructType': 37, 'CField': 187, 'CallableProxyType': 13, 'CDLL': 3, 'PyCArrayType': 13, 'PosixPath': 7993, 'SSLContext': 8, 'RuntimeConfig': 1, 'HassEventLoopPolicy': 1, '_UnixSelectorEventLoop': 1, 'EpollSelector': 1, '_SelectorMapping': 1, 'hamt': 65, 'hamt_bitmap_node': 78, 'InterruptibleThreadPoolExecutor': 1, 'Semaphore': 29, 'HomeAssistant': 1, 'EventBus': 1, 'ServiceRegistry': 2, 'StateMachine': 1, 'Config': 1, '_ConfigStore': 1, 'Lock': 304, 'Components': 1, 'Helpers': 1, 'TimeoutManager': 1, '_Local': 2, 'SimpleQueue': 6, 'ConfigEntryState': 7, 'ConfigEntryChange': 3, 'ConfigEntryDisabler': 1, 'AnsiFore': 1, 'AnsiBack': 1, 'AnsiStyle': 1, 'AnsiCursor': 1, 'HomeAssistantQueueHandler': 1, 'QueueListener': 1, 'Thread': 23, 'RotatingFileHandler': 1, 'StreamHandler': 4, 'ColoredFormatter': 1, 'PidfdChildWatcher': 1, 'ConfigEntries': 1, 'ConfigEntriesFlowManager': 1, 'OptionsFlowManager': 1, 'ConfigEntry': 47, '_FilterableJob': 153, 'EntityRegistryDisabledHandler': 1, 'AreaRegistry': 1, 'AreaRegistryStore': 1, 'DeviceRegistry': 1, 'DeviceRegistryStore': 1, 'EntityRegistry': 1, 'EntityRegistryStore': 1, 'IssueRegistry': 1, 'IssueRegistryStore': 1, '_RecursiveWildcardSelector': 1, '_WildcardSelector': 1, '_TerminatingSelector': 1, 'HassLoader': 1, 'OrderedDict': 323, 'AreaEntry': 21, 'Debouncer': 77, 'DeviceRegistryItems': 2, 'DeviceEntry': 100, 'DeletedDeviceEntry': 25, 'IssueEntry': 2, 'EntityRegistryItems': 1, 'RegistryEntry': 1133, '_EntityOptions': 1135, 'Integration': 613, 'RequirementsManager': 1, 'Service': 278, 'AuthManager': 1, 'AuthManagerFlowManager': 1, 'EntityValues': 2, 'AuthStore': 1, 'HassAuthProvider': 1, 'TotpAuthModule': 1, 'NodeDictClass': 2454, 'RecorderData': 1, 'LogErrorHandler': 1, 'DedupStore': 1, 'LoggerDomainConfig': 1, 'LoggerSettings': 1, 'LogPersistance': 3, 'LogSettingsType': 2, 'DeviceAutomationDetails': 3, 'DeviceAutomationType': 3, 'HassLogger': 636, 'SourceType': 4, 'DeviceTrackerPlatformAttributes': 1, 'Length': 20, 'RequestDataValidator': 18, 'Manifest': 1, 'NodeListClass': 256, 'Panel': 22, 'StorageCollectionWebsocket': 16, 'LovelaceStorage': 3, 'HomeAssistantHTTP': 1, 'PermissionLookup': 1, 'Group': 8, 'User': 6, 'Credentials': 3, 'RefreshToken': 48, 'Network': 1, '_FuncPtr': 73, 'ApiConfig': 1, 'MfaFlowManager': 1, 'DiagnosticsData': 1, 'IntegrationPlatform': 9, 'DiagnosticsType': 1, 'DiagnosticsSubType': 1, 'RepairsFlowManager': 1, 'ResourceStorageCollection': 1, 'HomeAssistantApplication': 1, 'IDManager': 15, 'UrlDispatcher': 2, 'FrozenList': 5, 'Signal': 10, 'CleanupContext': 2, 'DashboardsCollection': 1, 'IpBanManager': 1, 'CorsConfig': 1, 'DynamicResource': 57, 'PlainResource': 57, '_CorsConfigImpl': 1, 'ResourceOptions': 12, 'ResourcesUrlDispatcherRouterAdapter': 1, 'ResourceRoute': 263, '_ResourceConfig': 112, 'RepairsFlowResourceView': 1, 'RepairsFlowIndexView': 1, 'LoginFlowResourceView': 1, 'LoginFlowIndexView': 1, 'AuthProvidersView': 1, 'WellKnownOAuthInfoView': 1, 'OAuth2AuthorizeCallbackView': 1, 'LinkUserView': 1, 'RevokeTokenView': 1, 'TokenView': 1, 'APIErrorLog': 1, 'APITemplateView': 1, 'APIComponentsView': 1, 'APIDomainServicesView': 1, 'APIServicesView': 1, 'APIEventView': 1, 'APIEventListenersView': 1, 'APIEntityStateView': 1, 'APIStatesView': 1, 'APIConfigView': 1, 'APIEventStream': 1, 'APIStatusView': 1, 'SensorDeviceClass': 48, 'SensorStateClass': 7, 'RGBColor': 149, 'ColorMode': 10, 'XYPointAttributes': 1, 'GamutTypeAttributes': 1, 'LightEntityFeature': 11, 'Clamp': 6, 'Inclusive': 44, 'EditAutomationConfigView': 1, 'ConfigManagerEntryIndexView': 1, 'ConfigManagerEntryResourceView': 1, 'ConfigManagerEntryResourceReloadView': 1, 'ConfigManagerFlowIndexView': 1, 'ConfigManagerFlowResourceView': 1, 'ConfigManagerAvailableFlowView': 1, 'OptionManagerFlowIndexView': 1, 'OptionManagerFlowResourceView': 1, 'CheckConfigView': 1, 'EditScriptConfigView': 1, 'EditSceneConfigView': 1, 'DownloadDiagnosticsView': 1, 'FileUploadView': 1, 'Base': 268, 'GPS': 32, 'Interop': 5, 'IFD': 5, 'LightSource': 21, 'TagInfo': 146, 'VoidType': 1, 'PointerType': 2, 'ArrayType': 1, 'PrimitiveType': 1, 'Resampling': 6, 'Transpose': 7, 'Transform': 5, 'Dither': 4, 'Quantize': 4, 'ImageStorageCollection': 1, 'Palette': 148, 'WebsocketAPIView': 1, 'ImageUploadView': 1, 'ImageServeView': 1, 'UTC': 1, '_CountryTimezoneDict': 1, '_CountryNameDict': 1, 'LazyList': 2, 'LazySet': 2, 'Depression': 3, 'SunDirection': 2, 'list_iterator': 5, '_SixMetaPathImporter': 4, 'MovedAttribute': 352, 'MovedModule': 184, '_MovedItems': 4, 'Module_six_moves_urllib_parse': 4, 'Module_six_moves_urllib_error': 4, 'Module_six_moves_urllib_request': 4, 'Module_six_moves_urllib_response': 4, 'Module_six_moves_urllib_robotparser': 4, 'Module_six_moves_urllib': 4, 'methodcaller': 15, '_RetryMeta': 2, 'Retry': 5, 'NullHandler': 13, 'LookupDict': 1, 'SupervisorEntityModel': 5, 'AddonState': 5, 'APIEndpointSettings': 11, '_ModuleRegistry': 1, 'cython_function_or_method': 2458, '_LiteralGenericAlias': 41, 'immutabledict': 384, '_IntFlagMeta': 3, 'greenlet': 1, '_memoized_property': 165, 'symbol': 40, 'EventsDispatch': 1, 'ResetStyle': 3, '_ConnDialect': 1, 'hybridproperty': 3, 'dispatcher': 12, '_non_memoized_property': 71, 'PoolEventsDispatch': 2, '_ClsLevelDispatch': 104, '_AsyncConnDialect': 1, 'CacheConst': 1, 'CacheTraverseTarget': 5, '_CacheKeyTraversal': 1, 'InternalTraversal': 39, '_OpLimit': 2, '_CopyInternalsTraversal': 1, '_GetChildrenTraversal': 1, '_NoArg': 1, '_NoneName': 1, '_MetaOptions': 8, 'hybridmethod': 9, 'BinaryElementImpl': 1, 'ByOfImpl': 1, 'ColumnArgumentOrKeyImpl': 1, 'ColumnArgumentImpl': 1, 'ColumnsClauseImpl': 1, 'CompoundElementImpl': 1, 'ConstExprImpl': 1, 'DDLConstraintColumnImpl': 1, 'DDLExpressionImpl': 1, 'DDLReferredColumnImpl': 1, 'DMLColumnImpl': 1, 'DMLSelectImpl': 1, 'DMLTableImpl': 1, 'ExecutableOptionImpl': 1, 'ExpressionElementImpl': 1, 'FromClauseImpl': 1, 'GroupByImpl': 1, 'HasCTEImpl': 1, 'HasCacheKeyImpl': 1, 'InElementImpl': 1, 'IsCTEImpl': 1, 'JoinTargetImpl': 1, 'LabeledColumnExprImpl': 1, 'LimitOffsetImpl': 1, 'LiteralValueImpl': 1, 'OnClauseImpl': 1, 'OrderByImpl': 1, 'ReturnsRowsImpl': 1, 'SelectStatementImpl': 1, 'StatementOptionImpl': 1, 'StatementImpl': 1, 'StrAsPlainColumnImpl': 1, 'StrictFromClauseImpl': 1, 'TruncatedLabelImpl': 1, 'WhereHavingImpl': 1, 'AnonymizedFromClauseImpl': 1, '_NoValueInList': 1, 'memoized_attribute': 73, 'Null': 1, 'False_': 1, 'True_': 1, '_OverRange': 2, 'Integer': 61, 'String': 62, 'NullType': 4, 'Boolean': 44, 'Numeric': 4, 'MatchType': 1, 'TableValueType': 1, 'DateTime': 10, 'Time': 3, 'BigInteger': 10, 'Unicode': 5, 'SelectLabelStyle': 4, 'Float': 4, 'Uuid': 1, 'Date': 2, 'Interval': 1, 'LargeBinary': 13, 'Enum': 147, 'quoted_name': 616, '_CompoundSelectKeyword': 6, 'SchemaConst': 3, '_FunctionGenerator': 20, 'Linting': 4, 'CompilerState': 3, '_CTEOpts': 1, 'DDLEventsDispatch': 857, 'CacheStats': 5, 'ExecuteStyle': 3, 'BindTyping': 3, 'DialectEventsDispatch': 1, 'echo_property': 1, 'PluginLoader': 2, '_NoRow': 1, 'NoCursorDQLFetchStrategy': 1, 'NoCursorDMLFetchStrategy': 1, 'CursorFetchStrategy': 1, '_NoResultMetaData': 1, 'ObjectKind': 5, 'ObjectScope': 3, 'IsolationLevelCharacteristic': 1, 'LoaderCallableStatus': 5, 'EventConstants': 4, 'RelationshipDirection': 3, 'NotExtension': 1, '_AttributeOptions': 15, 'RootRegistry': 1, 'rw_hybridproperty': 1, 'History': 1, 'InstrumentationFactory': 1, '_TraceAdaptRole': 11, '_NoObject': 1, '_ExpiredObject': 1, '_StateChangeStates': 3, 'SessionTransactionState': 5, '_AnnotatedAlias': 1, 'SessionTransactionOrigin': 4, 'DCTransformDeclarative': 1, 'DeclarativeAttributeIntercept': 14, 'InstrumentationEventsDispatch': 2, 'InstanceEventsDispatch': 13, 'MapperEventsDispatch': 13, 'SessionEventsDispatch': 6, 'HoldInstanceEventsDispatch': 1, 'HoldMapperEventsDispatch': 1, 'slots_dispatcher': 1, 'AttributeEventsDispatch': 93, 'QueryEventsDispatch': 5, 'TableClause': 1, 'ColumnSet': 37, 'MetaData': 3, 'DedupeColumnCollection': 112, 'FacadeDict': 3, 'Table': 40, 'PrimaryKeyConstraint': 40, '_EmptyListener': 236, 'ReadOnlyColumnCollection': 93, 'Alias': 23, '_ColumnMetrics': 892, 'Column': 743, 'VARCHAR2': 273, 'NUMBER': 85, 'LONG': 4, 'DATE': 11, 'RAW': 2, 'CHAR': 19, 'custom_op': 19, 'default_load_options': 1, 'Text': 59, 'ARRAY': 15, 'OID': 45, 'NAME': 11, 'SmallInteger': 16, 'REGCLASS': 8, '_ListenerCollection': 95, 'INT2VECTOR': 2, 'OIDVECTOR': 2, 'PG_NODE_TREE': 3, 'SupportedDialect': 3, 'registry': 1, 'PGReadOnlyConnectionCharacteristic': 1, 'PGDeferrableConnectionCharacteristic': 1, 'JSON': 3, 'JSONB': 1, 'DATETIME': 1, 'FAST_PYSQLITE_DATETIME': 1, 'DOUBLE': 1, 'DOUBLE_PRECISION': 2, '_ModuleMarker': 11, '_ModNS': 11, '_MultipleClassMarker': 48, '_DialectArgDict': 26, 'Index': 24, 'conv': 17, 'ForeignKeyConstraint': 7, 'ForeignKey': 24, 'Mapper': 12, 'WeakSequence': 24, 'ColumnCollection': 48, '_ColumnMapping': 12, 'InstrumentedAttribute': 94, 'ColumnProperty': 87, 'Comparator': 350, 'OrderedSet': 220, 'Identity': 13, 'ClassManager': 12, 'LONGTEXT': 4, 'MappedColumn': 14, 'CallableColumnDefault': 5, 'ScalarElementColumnDefault': 1, 'TypeCoerce': 13, 'BinaryExpression': 765, 'AliasedClass': 1, 'DetectKeySwitch': 5, 'JSONLiteral': 2, 'Cast': 37, 'AnnotatedColumn': 170, 'TypeClause': 16, '_anonymous_label': 400, 'JSONStrIndexType': 10, 'ScalarObjectAttributeImpl': 5, 'AttributeEventToken': 276, 'ColumnLoader': 87, 'ScalarAttributeImpl': 87, 'AwesomeVersion': 30, 'Relationship': 5, 'CascadeOptions': 5, 'LazyLoader': 5, 'AliasedInsp': 1, 'ORMAdapter': 1, '_RelationshipArgs': 5, 'JoinCondition': 5, 'ManyToOneDP': 5, 'WeakPopulateDict': 1, '_RelationshipArg': 30, 'max': 20, 'min': 3, 'Function': 12, 'Grouping': 59, 'ClauseList': 41, 'Label': 227, '_ColumnTypesForDialect': 3, 'CommitTask': 1, 'KeepAliveTask': 1, 'WaitTask': 1, 'AdjustLRUSizeTask': 1, 'Over': 2, 'UnaryExpression': 13, 'Analytics': 1, 'TCPConnector': 2, 'ThreadedResolver': 2, '_DNSCacheTable': 2, 'ClientSession': 3, 'CookieJar': 3, 'AnalyticsData': 1, 'EntityComponent': 38, 'EntityPlatform': 172, 'Person': 2, 'RestoreStateData': 1, 'StoredState': 407, 'RestoredExtraData': 305, 'CachingStaticResource': 5, 'IndexView': 1, 'UrlManager': 2, 'AppRunner': 2, 'Recorder': 1, 'RecorderRunsManager': 1, 'StatesManager': 1, 'EventDataManager': 1, 'EventTypeManager': 1, 'StatesMetaManager': 1, 'StateAttributesManager': 1, 'StatisticsMetaManager': 1, 'CollectionChangeSet': 7, 'PersonStorageCollection': 1, 'YamlCollection': 9, 'PersonStore': 1, 'ManifestJSONView': 1, 'Server': 5, 'HomeAssistantTCPSite': 1, 'KeyMethod': 7, 'RangeCaster': 6, 'Engine': 1, 'Backend': 1, 'GetCipherByName': 55, 'Binding': 2, 'Algorithms': 1, 'Zips': 1, 'PKCS1v15': 4, 'OAEP': 2, 'MGF1': 5, 'UNSIGNED': 1, '_TzSingleton': 1, 'tzutc': 1, '_TzOffsetFactory': 1, '_TzStrFactory': 1, 'GettzFunc': 1, 'weekday': 14, 'parser': 1, '_tzparser': 1, 'parserinfo': 1, 'isoparser': 1, 'CachedProperty': 190, 'HistoryRecorder': 1, 'FunctionRegistry': 1, 'DocumentedShape': 3, 'ClientMethodAlias': 1, 'AutoPopulatedParam': 16, 'AppendParamDocumentation': 4, 'HideParamFromOperations': 1, 'DeprecatedServiceDocumenter': 1, 'ParameterAlias': 3, 'CLIArguments': 1, 'Env': 1, 'MultiplexerChannelIdAttributes': 1, '_CountingAttr': 1, 'MultiplexerMessageAttributes': 1, '_UtilDeprecationModule': 1, 'JSONObjectWithFieldsMeta': 48, '_JWAHS': 3, '_JWARS': 3, '_JWAPS': 3, '_JWAEC': 3, 'PSS': 3, '_TypedField': 74, 'Header': 2, '_FieldsDeprecationModule': 1, '_ThreadingDescriptor': 6, '_MessagesDeprecationModule': 1, '_ClientDeprecationModule': 1, 'ChallengeHandlerAttributes': 1, 'SniTunTokenAttributes': 1, 'CertificateAttributes': 1, 'MimeType': 22, 'Resource': 7, 'Gender': 2, 'MultiDictProxy': 22, 'AudioOutput': 2, 'STTResponseAttributes': 1, 'MultiDict': 22, 'IdentifierType': 2, 'Status': 8, 'RFC3339Field': 3, 'DatabaseEngine': 1, 'TDComparator': 3, 'Select': 315, '_truncated_label': 95, 'DatabaseOptimizer': 1, 'CollectionAggregate': 4, 'PolicyPermissions': 1, '_TranslationCache': 1, '_RandomNameSequence': 1, 'Environment': 1, 'Template': 334, 'scoped_session': 1, 'ThreadLocalRegistry': 1, 'Lexer': 1, 'ChainMap': 1, 'sessionmaker': 1, '_Rule': 16, 'OptionalLStrip': 2, 'Failure': 2, 'SchemaValidationStatus': 1, 'PGCompiler': 99, 'AnalyzedCode': 69, 'prefix_anon_map': 142, 'ORMSelectCompileState': 47, 'FromLinter': 52, 'CursorResultMetaData': 74, 'ResultColumnsEntry': 263, 'default_compile_options': 82, '_ColumnsPlusNames': 202, '_CompileLabel': 17, '_ORMColumnEntity': 153, 'SelectState': 5, 'Join': 11, 'DBInterruptibleThreadPoolExecutor': 1, 'HassIO': 1, 'Session': 9, 'AnalyzedFunction': 110, '_OffsetLimitParam': 7, 'StatementLambdaElement': 56, 'PyWrapper': 194, 'LambdaOptions': 117, 'WebhookView': 1, 'USBDiscovery': 1, 'ModuleWrapper': 6, 'NameRelation': 5, 'IDNA2003Codec': 2, 'IDNA2008Codec': 4, 'Name': 14, 'RdataClass': 6, 'Signature': 294, 'Parameter': 2749, 'RdataType': 80, 'OptionType': 29, 'Flag': 23, 'EDNSFlag': 1, 'Opcode': 5, 'EntropyPool': 1, 'Rcode': 20, 'EDECode': 25, 'MessageSection': 4, 'Match': 1, 'ScapyColoredFormatter': 1, 'ColorTable': 1, 'ScapyFreqFilter': 1, 'Conf': 1, 'DeviceTrackerRegisteredWatcher': 1, 'DeviceTrackerWatcher': 1, 'HassIOView': 1, 'Interceptor': 8, 'LayersList': 1, 'CommandsList': 1, 'Num2Layer': 2, 'ProgPath': 1, 'Resolve': 2, 'Emphasize': 1, 'NetCache': 1, 'IPVersion': 3, 'InterfaceChoice': 2, 'ServiceStateChange': 6, 'NoTheme': 1, 'DNSQuestionType': 2, 'HaAsyncZeroconf': 1, 'MimeTypes': 1, 'HaZeroconf': 1, 'AsyncEngine': 1, 'DNSCache': 1, 'QuestionHistory': 1, 'QueryHandler': 1, 'RecordManager': 1, 'MulticastOutgoingQueue': 2, '_SelectorDatagramTransport': 7, 'AsyncListener': 3, '_WrappedTransport': 8, 'HaAsyncServiceBrowser': 1, 'QueryScheduler': 2, 'ZeroconfDiscovery': 1, 'HomeKitDiscoveredIntegration': 59, 'ErrorHandler': 4, 'NotificationSubType': 3, 'SsdpSource': 7, 'UpnpActionErrorCode': 9, 'SsdpChange': 3, 'Codec': 2, '_ConcatenateGenericAlias': 2, 'EntityFilter': 4, 'QueuePool': 1, 'PGDialect_psycopg2': 1, 'PGIdentifierPreparer_psycopg2': 1, 'Subquery': 29, 'ColumnClause': 28, 'BooleanClauseList': 162, 'GattCharacteristicsFlags': 10, 'Queue': 12, 'PGTypeCompiler': 1, 'Case': 3, 'AsBoolean': 2, 'array_agg': 2, '_PsycopgARRAY': 3, '_PsycopgINT2VECTOR': 1, 'JoinedDDLEventsDispatch': 5, 'aggregate_order_by': 2, 'MessageType': 9, 'MessageFlag': 4, 'BusType': 2, 'NameFlag': 4, 'RequestNameReply': 4, 'ReleaseNameReply': 3, 'PropertyAccess': 3, 'ArgDirection': 2, 'ErrorType': 59, 'HeaderField': 9, '_AuthResponse': 5, 'SignatureTree': 20, 'SignatureType': 66, '__pyx_scope_struct__unpack_parser_factory': 18, 'ModuleNotFoundError': 1, 'AdvertisementDataType': 15, '_Property': 7, '__pyx_scope_struct_1_decorator': 4, '__pyx_scope_struct__method': 4, '_Method': 4, 'Property': 95, 'Method': 4, 'Arg': 2, 'BluetoothScanningMode': 2, 'BluetoothChange': 1, 'AddressType': 3, 'SupportedSettings': 18, 'ADType': 44, 'ErrorCodes': 35, 'Commands': 71, 'Events': 38, 'OrPattern': 2, 'AsyncTextIndirectIOWrapper': 3, 'AsyncIndirectBufferedIOBase': 3, 'DeviceInfo': 8, 'SocketIO': 2, 'FlowDispatcher': 1, 'DNSPointer': 36, 'DNSService': 16, 'DNSText': 20, 'HVACMode': 7, 'HVACAction': 6, 'ClimateEntityFeature': 8, 'IntentCategory': 2, 'IntentResponseType': 4, 'IntentResponseErrorCode': 4, 'IntentResponseTargetType': 6, 'SpeechType': 2, 'CardType': 2, 'CodeFormat': 2, 'AlarmControlPanelEntityFeature': 7, 'BinarySensorDeviceClass': 28, 'ButtonDeviceClass': 2, 'MediaPlayerState': 11, 'MediaClass': 20, 'MediaType': 21, 'RepeatMode': 3, 'MediaPlayerEntityFeature': 39, 'MediaPlayerEnqueue': 4, 'MediaPlayerDeviceClass': 3, '_NoValueType': 1, '_CopyMode': 3, 'Infinity': 1, 'NegativeInfinity': 1, '_typedict': 5, '_unspecified': 1, 'PytestTester': 9, 'iinfo': 3, 'MGridClass': 1, 'OGridClass': 1, 'RClass': 1, 'CClass': 1, 'IndexExpression': 2, '_FileOpeners': 1, 'RandomState': 1, 'MT19937': 1, 'SeedSequence': 1, 'errstate': 1, '_MaskedUnaryOperation': 26, '_DomainGreaterEqual': 2, '_DomainGreater': 3, '_DomainTan': 1, '_DomainCheckInterval': 3, '_MaskedBinaryOperation': 18, '_DomainedBinaryOperation': 6, '_DomainSafeDivide': 6, '_MaskedPrintOption': 1, 'MaskedArray': 1, 'MaskedConstant': 1, '_frommethod': 26, '_extrema_operation': 2, '_convert2ma': 14, '_fromnxfunction_allargs': 3, '_fromnxfunction_seq': 5, '_fromnxfunction_single': 2, 'mr_class': 1, 'MachArLike': 6, 'Orientation': 8, 'StreamSettings': 5, 'PartAttributes': 1, 'SegmentAttributes': 1, 'StreamType': 2, 'CameraEntityFeature': 3, 'ImageAttributes': 1, 'CoverDeviceClass': 10, 'CoverEntityFeature': 15, 'FanEntityFeature': 5, 'HumidifierEntityFeature': 2, 'HumidifierDeviceClass': 2, 'ImageProcessingDeviceClass': 3, 'StreamSettingsAttributes': 1, 'NumberDeviceClass': 44, 'NumberMode': 6, 'LockEntityFeature': 2, 'VacuumEntityFeature': 34, 'SwitchDeviceClass': 2, 'Cloud': 1, 'CloudIoT': 1, 'GoogleReportState': 1, 'Cloudhooks': 1, 'RemoteUI': 1, 'CognitoAuth': 1, 'CloudConnectionState': 2, 'ResourceFactory': 1, 'Loader': 1, 'JSONFileLoader': 1, 'ExtrasProcessor': 1, 'Voice': 1, 'CollectionFactory': 1, 'DNSAddress': 18, 'GoogleActionsSyncView': 1, 'CloudLoginView': 1, 'CloudLogoutView': 1, 'CloudRegisterView': 1, 'CloudResendConfirmView': 1, 'CloudForgotPasswordView': 1, 'BluetoothManager': 1, 'AdvertisementTracker': 1, 'BluetoothCallbackMatcherIndex': 1, 'cycle': 9, 'HassIODiscovery': 1, 'HassIOAuth': 1, 'HassIOPasswordReset': 1, 'HassIOIngress': 1, 'SupervisorIssues': 1, 'DiagnosticsPlatformData': 15, 'DNSNsec': 10, 'CloudClient': 1, 'EventAliaser': 1, 'HassIOAddonPanel': 1, 'CloudPreferences': 1, 'HierarchicalEmitter': 1, 'ComponentLocator': 2, 'SessionVarDict': 1, '_PrefixTrie': 1, 'ResponseParserFactory': 1, 'ConfigValueStore': 1, 'ClientExceptionsFactory': 1, 'ChainProvider': 33, 'SectionConfigProvider': 2, 'NodeList': 97, 'ScopedConfigProvider': 34, 'EnvironmentProvider': 25, 'InstanceVarProvider': 33, 'ConstantProvider': 14, 'UpdateEntityFeature': 12, 'UpdateDeviceClass': 1, 'UpdateEntityDescription': 1, 'HassioBinarySensorEntityDescription': 1, 'NicDuplex': 3, 'BatteryTime': 2, '_WrapNumbers': 1, 'IOPriority': 4, 'Negsignal': 32, 'Connections': 1, 'scputimes': 11, 'SysMonitorSensorEntityDescription': 24, 'SensorEntityDescription': 114, 'SystemMonitorSensor': 9, 'SensorData': 9, 'ZoneStorageCollection': 1, 'HistoryConfig': 1, 'HistoryPeriodView': 1, 'LegacySensorType': 3, 'SensorType': 18, 'DewPointPerception': 8, 'FrostRisk': 4, 'SummerSimmerPerception': 9, 'RelativeStrainPerception': 6, 'ScharlauPerception': 5, 'HumidexPerception': 6, 'ThomsDiscomfortPerception': 6, 'Profiles': 1, 'Profile': 4, 'WebSocketView': 1, 'LogbookConfig': 1, 'LogbookView': 1, 'GroupIntegrationRegistry': 1, 'LocalSource': 1, 'LocalMediaView': 1, 'UploadMediaView': 1, 'SystemHealthRegistration': 6, 'Element': 374, 'BlueZManager': 1, 'AsyncServiceInfo': 1, 'IntegrationMatcher': 1, 'LinuxAdapters': 1, 'BluetoothStorage': 1, 'BleakSlotManager': 1, 'TagStorageCollection': 1, 'DeviceIcon': 8, 'DescriptionCache': 1, 'IntegrationMatchers': 1, 'SsdpProtocol': 4, 'MessageBus': 1, '__pyx_scope_struct__build_message_reader': 1, 'BluetoothMatcherIndex': 1, 'BlueZDBusObjects': 1, 'AsyncMacLookup': 1, 'TagIDManager': 1, 'SsdpListener': 1, 'UpnpServer': 1, 'AuthExternal': 1, '_MessageWriter': 1, 'BufferedRWPair': 1, 'Unmarshaller': 1, 'Application': 1, 'AiohttpSessionRequester': 3, 'HassUpnpServiceDevice': 1, 'SsdpDeviceTracker': 1, 'SsdpAdvertisementListener': 1, 'SsdpSearchListener': 1, 'TCPSite': 1, 'SsdpSearchResponder': 1, 'NopRequester': 1, 'CaseInsensitiveDict': 13, 'SsdpDevice': 1, 'InputNumber': 1, 'DomainBlueprints': 2, 'AllStates': 1, 'PayloadSentinel': 2, 'PublishMessageAttributes': 1, 'ReceiveMessageAttributes': 1, 'TimestampedPublishMessageAttributes': 1, 'SubscriptionAttributes': 1, 'EntitySubscriptionAttributes': 1, 'FastPath': 7, 'Lookup': 12, 'FreezableDefaultDict': 24, 'Unique': 2, 'SirenEntityFeature': 7, 'TextMode': 2, 'dict_keys': 2, 'SourceAdapter': 4, 'Sun': 1, 'Location': 1, 'LocationInfo': 1, 'Blueprint': 7, 'InputButton': 1, 'Input': 58, 'SunSensorEntityDescription': 8, '_rrulestr': 1, 'SettingsStoreDataAttributes': 1, 'BrowserStoreDataAttributes': 1, 'CalendarEntityFeature': 5, 'ConfigStoreDataAttributes': 1, 'RemoteEntityFeature': 4, 'WaterHeaterEntityFeature': 4, 'InputBoolean': 2, 'InputSelect': 1, 'DeviceThermalComfort': 3, 'ComputeState': 45, 'SensorThermalComfort': 45, 'DeviceState': 4, 'TransportState': 8, 'PlayMode': 8, 'DlnaOrgOp': 3, 'DlnaOrgCi': 2, 'DlnaOrgPs': 2, 'DlnaOrgFlags': 12, 'ContentDirectoryErrorCode': 19, 'Action': 8, 'DlnaDmsData': 1, 'UpnpFactory': 2, 'DmsDeviceSource': 1, 'EnergyManager': 1, 'MediaPlayerImageView': 1, 'CameraPreferences': 1, 'CameraImageView': 1, 'CameraMjpegStream': 1, 'CameraMediaSource': 1, 'SensorManager': 1, 'EnergyCostSensor': 2, 'LightGroup': 2, 'BinarySensorTemplate': 2, 'DmsDevice': 1, 'DmsMediaSource': 1, 'SensorTemplate': 3, '_TemplateAttribute': 5, 'UpnpDevice': 1, 'UpnpService': 3, 'ServiceInfo': 4, 'UpnpStateVariable': 40, 'UpnpAction': 10, 'StateVariableInfo': 40, 'ActionInfo': 10, 'StateVariableTypeInfo': 40, 'Argument': 39, 'ActionArgumentInfo': 38, 'SsdpAdvertisementAnnouncer': 1, 'ApplicationCredentialsStorageCollection': 1, 'TimerStorageCollection': 1, 'CounterStorageCollection': 1, 'Zone': 1, '_TrackStateChangeFiltered': 6, 'InputTextStorageCollection': 1, 'ScheduleStorageCollection': 1, 'DateTimeStorageCollection': 1, 'BrowserModStore': 1, 'InputButtonStorageCollection': 1, 'InputSelectStorageCollection': 1, 'InputBooleanStorageCollection': 1, 'NumberStorageCollection': 1, 'SunSensor': 6, 'TrackStates': 6, 'ConfigStoreData': 1, 'InputSelectStore': 1, 'IDLessCollection': 1, 'SettingsStoreData': 4, 'BrowserStoreData': 2, 'ENGINE_TYPES': 4, 'VEHICLE_LOCK_ACTION': 2, 'CHARGE_PORT_ACTION': 2, 'OrderStatus': 4, 'SelectorList': 189, 'Selector': 136, 'SelectorTag': 69, 'SelectorPattern': 15, 'SelectorAttribute': 77, 'SelectorNth': 1, 'SpecialPseudoPattern': 1, 'TreeBuilderRegistry': 1, 'HTMLFormatter': 4, 'XMLFormatter': 2, 'Trie': 1, 'tuple_iterator': 1, '_ImmutableMapping': 1, '_RotatingErrorLog': 1, 'ParserBasedElementClassLookup': 1, '_ParserDictionaryContext': 1, 'XMLParser': 1, '_ResolverRegistry': 2, 'HTMLParser': 1, 'XPath': 1, '_ErrorLog': 1, '_XPathContext': 1, '_ExceptionContext': 1, '_TempStore': 1, 'tzfile': 2, '_ExsltRegExp': 1, '_ttinfo': 10, 'ns': 17, 'LightCapability': 10, 'Live': 3, 'NightlightMode': 4, '_DefaultSize': 1, 'TTLCache': 1, '_Timer': 1, '_Link': 3, 'UtilityMeterSensor': 8, 'TariffSelect': 3, 'AdGuardHomeEntityDescription': 8, 'AdGuardHomeSwitchEntityDescription': 6, 'LogEntry': 28, 'WLEDSensorEntityDescription': 10, 'AdGuardHomeSensor': 7, 'WLEDNumberEntityDescription': 2, 'WLEDUpdateBinarySensor': 1, 'WLEDSegmentLight': 18, 'WLEDLiveOverrideSelect': 2, 'WLEDPlaylistSelect': 2, 'WLEDPresetSelect': 2, 'WLEDSensorEntity': 8, 'WLEDUpdateEntity': 2, 'FlowControlDataQueue': 8, 'WebSocketReader': 6, 'WLEDRestartButton': 2, 'WLEDNumber': 36, 'WLEDNightlightSwitch': 2, 'WLEDReverseSwitch': 18, 'WLEDSyncSendSwitch': 1, 'WLEDSyncReceiveSwitch': 1, 'TimeRE': 2, 'LocaleTime': 2, 'HyundaiKiaBinarySensorEntityDescription': 29, 'NumberEntityDescription': 2, 'HyundaiKiaConnectLock': 1, 'HyundaiKiaConnectTracker': 1, 'HyundaiKiaConnectBinarySensor': 20, 'HyundaiKiaConnectSensor': 20, 'VehicleEntity': 1, 'HyundaiKiaConnectNumber': 2, 'DeviceTracker': 1, 'SequenceType': 2, 'ParseType': 7, 'ResponseType': 7, 'RangeType': 3, 'AgentManager': 1, 'ConversationProcessView': 1, 'BooleanSelector': 1, 'TextSelector': 4, 'SelectSelector': 3, 'FileSelector': 3, 'MqttData': 1, 'EntityTopicState': 1, 'NumberSelector': 4, 'HttpStatusCode': 20, 'GitHubRequestAcceptHeader': 3, 'GitHubClientKwarg': 4, 'GitHubRequestKwarg': 6, 'GitHubIssueLockReason': 4, 'HttpMethod': 5, 'HttpContentType': 6, 'DeviceFlowError': 7, 'HacsGitHubRepo': 2, 'HacsCategory': 8, 'HacsDispatchEvent': 8, 'RepositoryFile': 2, 'ConfigurationType': 2, 'LovelaceMode': 4, 'HacsStage': 5, 'HacsDisabledReason': 6, 'RepositoryDataAttributes': 1, 'HacsManifestAttributes': 1, 'HacsCommon': 1, 'HacsConfiguration': 1, 'HacsCore': 1, 'HacsRepositories': 1, 'HacsStatus': 1, 'HacsSystem': 1, 'CurrentChannelSensor': 4, 'AsteriskExtension': 4, 'AsteriskCallee': 4, 'RegisteredSensor': 4, 'ChannelDTMF': 1, 'NaTType': 1, 'FreqGroup': 13, 'Resolution': 10, 'CallableDynamicDoc': 4, 'DictWrapper': 1, 'RegisteredOption': 78, 'Timedelta': 4, 'Timestamp': 3, '__pyx_scope_struct___op_unary_method': 3, '__pyx_scope_struct_1__binary_op_method_timedeltalike': 4, 'OffsetMeta': 1, 'NAType': 1, 'fused_cython_function': 502, '__pyx_scope_struct__apply_index_wraps': 8, '__pyx_scope_struct_1_apply_array_wraps': 8, '__pyx_scope_struct_2_apply_wraps': 16, '__pyx_scope_struct___create_binary_propagating_op': 22, 'NoDefault': 1, 'ABCBase': 20, 'DeprecatedOption': 2, '_Version': 2, 'AdGuardHome': 1, 'WLEDDataUpdateCoordinator': 2, 'WLED': 2, 'WLEDMasterLight': 1, 'WLEDPaletteSelect': 17, 'AdGuardHomeSwitch': 6, 'HyundaiKiaConnectDataUpdateCoordinator': 1, 'Vehicle': 1, 'AdGuardHomeFiltering': 1, 'AdGuardHomeParental': 1, 'AdGuardHomeQueryLog': 1, 'AdGuardHomeSafeBrowsing': 1, 'AdGuardHomeSafeSearch': 1, 'AdGuardHomeStats': 1, 'VehicleManager': 1, 'Effect': 236, 'KiaUvoApiEU': 1, 'Token': 75, 'CompatValidator': 24, 'disallow': 11, 'bottleneck_switch': 6, 'Int8Dtype': 1, 'Int16Dtype': 1, 'Int32Dtype': 1, 'Int64Dtype': 1, 'UInt8Dtype': 1, 'UInt16Dtype': 1, 'UInt32Dtype': 1, 'UInt64Dtype': 1, 'Float32Dtype': 1, 'Float64Dtype': 1, 'BusinessDay': 1, 'CachedAccessor': 8, '_IndexSlice': 1, '_Options': 1, 'AxisProperty': 3, 'BadLineHandleMethod': 3, '_DeprecationConfig': 4, 'CSSResolver': 1, '_MainProcess': 1, 'DefaultContext': 1, 'ForkContext': 1, 'SpawnContext': 1, 'ForkServerContext': 1, 'AuthenticationString': 1, 'TypeWithDefault': 2, 'FluxSerializationMode': 3, 'QueryOptions': 2, 'Trampoline': 1, 'PriorityQueue': 1, 'WriteOptions': 4, 'WriteType': 3, 'ThreadPoolScheduler': 1, 'ThreadPoolExecutor': 1, 'PointSettings': 2, 'HacsBase': 1, 'QueueManager': 1, 'HacsData': 1, 'HacsDataClient': 1, 'InfluxThread': 1, 'MQTT': 1, 'EnsureJobAfterCooldown': 1, 'CO2SensorEntityDescription': 2, 'NodeKind': 3, 'DigestHashAlgorithm': 2, 'DigestScheme': 1, '_ThreadLocal': 1, 'codes': 62, 'UnsetType': 1, 'Limits': 1, 'CLIENT': 1, 'SERVER': 1, 'IDLE': 1, 'SEND_RESPONSE': 1, 'SEND_BODY': 1, 'DONE': 1, 'MUST_CLOSE': 1, 'CLOSED': 1, 'ERROR': 1, 'MIGHT_SWITCH_PROTOCOL': 1, 'SWITCHED_PROTOCOL': 1, '_SWITCH_UPGRADE': 1, '_SWITCH_CONNECT': 1, 'NEED_DATA': 1, 'PAUSED': 1, 'HTTPConnectionState': 14, '_BooleanConfigOption': 5, 'SettingCodes': 7, 'StreamInputs': 19, 'StreamState': 8, 'StreamClosedBy': 4, 'ConnectionState': 8, 'ConnectionInputs': 20, 'AllowedStreamIDs': 2, 'H2Configuration': 2, 'DummyLogger': 2, 'UseClientDefault': 1, 'ClientState': 3, 'UnprocessedParamType': 1, 'StringParamType': 1, 'IntParamType': 1, 'FloatParamType': 1, 'BoolParamType': 1, 'UUIDParameterType': 1, 'ParameterSource': 5, '_automodule': 1, 'TerminalTheme': 1, 'ColorTriplet': 4, 'Style': 183, 'Color': 20, 'ColorType': 5, 'ColorSystem': 4, '_Bit': 13, 'Theme': 1, 'ControlType': 15, 'Box': 18, 'NoChange': 1, 'NullHighlighter': 1, 'ReprHighlighter': 1, '_TokenType': 79, 'StyleMeta': 1, 'Command': 1, 'Option': 17, 'UDPMode': 3, 'File': 2, 'Tuple': 6, 'MQTTMatcher': 306, 'Node': 1520, 'FilterBy': 14, 'ExistingCountries': 1, 'Subdivisions': 1, 'HistoricCountries': 1, 'Currencies': 1, 'Languages': 1, 'LanguageFamilies': 1, 'Scripts': 1, 'Extra': 3, 'IfConfig': 9, 'ConstrainedNumberMeta': 22, 'JsonMeta': 1, 'PaymentCardBrand': 4, 'ModelMetaclass': 119, 'Protocol': 2, 'ClassAttribute': 125, 'ModelField': 1394, 'FieldInfo': 1394, '__pyx_scope_struct_7__generic_validator_basic': 950, 'TriggerInstanceAttributes': 1, 'TriggerAttributes': 1, 'RadioBrowser': 1, 'AIOGitHubAPI': 1, 'GitHub': 1, 'GitHubClient': 1, 'GitHubReposNamespace': 1, 'GitHubContentsNamespace': 1, 'GitHubEventsReposNamespace': 1, 'GitHubGitNamespace': 1, 'GitHubIssuesNamespace': 1, 'GitHubPullsNamespace': 1, 'GitHubReleasesNamespace': 1, 'GitHubTrafficNamespace': 1, 'GitHubRepositoryProjectsNamespace': 1, 'GitHubUserNamespace': 1, 'GitHubUserProjectsNamespace': 1, 'GitHubUsersNamespace': 1, 'GitHubUsersProjectsNamespace': 1, 'GitHubOrgsNamespace': 1, 'GitHubOrganizationProjectsNamespace': 1, 'GitHubBaseProjectsNamespace': 1, 'AIOGitHubAPIClient': 1, 'GitHubBaseRequestDataModel': 1, 'AIOGitHubAPIRateLimit': 1, 'CO2Sensor': 2, 'Validator': 30, '__pyx_scope_struct_6__generic_validator_cls': 6, 'HacsIntegrationRepository': 884, 'RepositoryData': 1246, 'RepositoryContent': 1246, 'Validate': 1246, 'RepositoryReleases': 1246, 'RepositoryPath': 1246, 'HacsThemeRepository': 77, 'CO2SignalCoordinator': 1, 'InfluxClient': 1, 'InfluxDBClient': 1, 'RequestsCookieJar': 2, 'HTTPAdapter': 4, 'DefaultCookiePolicy': 2, 'PoolManager': 4, 'RecentlyUsedContainer': 4, 'HTTPConnectionPool': 1, 'LifoQueue': 2, 'HTTPConnection': 1, 'HacsPluginRepository': 285, 'HacsManifest': 1246, 'StaticResource': 1, 'MqttSensor': 125, 'MqttValueTemplate': 391, 'MqttSwitch': 2, 'EntitySubscription': 261, 'Subscription': 304, 'MqttCover': 2, 'GenericCamera': 2, 'HacsRepositoryUpdateEntity': 19, 'MqttCommandTemplate': 4, 'RadioMediaSource': 1, 'ReceiveMessage': 963, 'TemplateStateFromEntityId': 11, 'MQTTDiscoveryPayload': 210, 'EnumType': 15, 'OptionFlags': 8, 'Flags': 53, 'EnumProperty': 6, 'Descriptor': 131, 'Type': 21, '__pyx_scope_struct_2_flag_property': 88, 'ThreadType': 4, 'SkipType': 7, 'Flags2': 11, 'Colorspace': 4, 'PictureType': 29, 'Properties': 7, 'Capabilities': 23, 'FilterFlags': 5, 'HlsPlaylistView': 1, 'HlsSegmentView': 1, 'HlsInitView': 1, 'HlsMasterPlaylistView': 1, 'HlsPartView': 1, 'CTOCFlags': 2, 'ID3FramesSpec': 2, 'SizedIntegerSpec': 16, 'Latin1TextSpec': 23, 'Latin1TextListSpec': 1, 'CTOCFlagsSpec': 1, 'MultiSpec': 7, 'EncodingSpec': 16, 'EncodedTextSpec': 19, 'BinaryDataSpec': 16, 'ByteSpec': 24, 'EncodedNumericTextSpec': 1, 'EncodedNumericPartTextSpec': 1, 'TimeStampSpec': 1, 'KeyEventSpec': 1, 'StringSpec': 7, 'SynchronizedTextSpec': 1, 'VolumePeakSpec': 1, 'VolumeAdjustmentSpec': 1, 'ChannelSpec': 1, 'VolumeAdjustmentsSpec': 1, 'RVASpec': 2, 'PictureTypeSpec': 2, 'IntegerSpec': 5, 'FrameIDSpec': 2, 'ASPIIndexSpec': 1, 'ID3v1SaveOptions': 3, 'SchemaFlowFormStep': 4, 'DataType': 13, 'ModbusControlBlock': 1, 'ModbusCountersHandler': 1, 'ModbusDeviceIdentification': 1, 'ModbusPlusStatistics': 1, 'ConfEntry': 8, 'ENTRY': 12, 'ModbusHub': 2, 'ModbusUdpClient': 1, 'ModbusSocketFramer': 2, 'DictTransactionManager': 2, 'RunEntry': 16, '_params': 2, 'ClientDecoder': 2, 'Throttle': 1, 'LocalCalendarStore': 1, 'ModbusTcpClient': 1, 'BlankCollection': 3, 'MessageKey': 21, 'ItemEvent': 3, 'EventKey': 69, 'WebsocketSignal': 2, 'WebsocketState': 4, 'UnifiWirelessClients': 1, 'WeeklyCollection': 1, 'CalendarListView': 1, 'CalendarEventView': 1, 'tzoffset': 2, 'EntitiesCalendarData': 1, 'version_info': 1, '_lazyclassproperty': 7, 'Diagnostics': 11, 'Empty': 2, 'DebugActions': 211, 'LineStart': 1, 'LineEnd': 3, 'StringStart': 1, 'StringEnd': 1, 'Word': 4, 'FrameSummary': 1, 'Regex': 52, 'MatchFirst': 13, '_NullToken': 1, 'Combine': 17, '_SingleCharLiteral': 51, 'Opt': 36, 'SkipTo': 1, 'CharsNotIn': 1, 'Suppress': 10, 'OpAssoc': 2, 'OneOrMore': 2, 'Dict': 1, '_WordRegex': 11, 'Literal': 10, 'ZeroOrMore': 5, 'NotAny': 3, 'White': 1, 'FollowedBy': 1, 'CalendarUserType': 4, 'ParticipationStatus': 6, 'Role': 4, 'Classification': 3, 'FreeBusyType': 4, 'Weekday': 7, 'WebsocketWrapper': 1, 'Frequency': 4, '__pyx_scope_struct_2__add_pydantic_validation_attributes': 6, 'EventStatus': 3, '__pyx_scope_struct_1_make_arbitrary_type_validator': 4, 'JournalStatus': 3, '_TZifVersion': 3, '_ObservanceType': 2, 'TodoStatus': 4, 'SystemStatus': 1, 'ForecastSolarSensorEntityDescription': 10, 'AccountType': 3, 'ModbusRegisterSensor': 153, 'ModbusBinarySensor': 1, 'ModbusSwitch': 3, '_SSLPipe': 6, 'MemoryBIO': 12, 'SSLObject': 8, '_SSLSocket': 11, 'AsteriskServer': 1, 'LGHorizonApi': 1, 'LGHorizonMqttClient': 1, 'SSLSocket': 3, 'PsutilWrapper': 1, 'LGHorizonAuth': 1, 'LGHorizonCustomer': 1, 'LGHorizonBox': 2, 'LGHorizonChannel': 234, 'LGHorizonPlayingInfo': 2, 'Cookie': 2, 'HTTPSConnectionPool': 1, 'HTTPSConnection': 1, 'HTML5PushRegistrationView': 1, 'HTML5PushCallbackView': 1, 'BLEConnectionError': 10, 'DescriptorPool': 1, 'DescriptorDatabase': 1, 'Int32ValueChecker': 2, 'Int64ValueChecker': 2, 'Uint32ValueChecker': 2, 'Uint64ValueChecker': 2, 'DoubleValueChecker': 1, 'FloatValueChecker': 1, 'BoolValueChecker': 1, 'TypeCheckerWithDefault': 1, 'SymbolDatabase': 1, 'FileDescriptor': 4, 'EnumDescriptor': 36, 'EnumValueDescriptor': 165, 'FieldDescriptor': 609, 'GeneratedProtocolMessageType': 128, '_FieldProperty': 602, 'UnicodeValueChecker': 154, 'EnumTypeWrapper': 36, 'EnumValueChecker': 16, 'MessageOptions': 23, 'ServiceDescriptor': 1, 'MethodDescriptor': 33, 'FanDirection': 2, 'FanSpeed': 3, 'LegacyCoverState': 2, 'LegacyCoverCommand': 3, 'CoverOperation': 3, 'LightColorCapability': 14, 'LastResetType': 3, 'ClimateMode': 7, 'ClimateFanMode': 10, 'ClimateSwingMode': 4, 'ClimateAction': 6, 'ClimatePreset': 8, 'UserServiceArgType': 8, 'LockState': 5, 'LockCommand': 3, 'MediaPlayerCommand': 5, 'BluetoothDeviceRequestType': 7, 'LogLevel': 8, 'DefaultNoiseBackend': 1, 'PingRequest': 1, 'PingResponse': 1, 'Keypair': 4, 'NoiseConnectionState': 4, 'EsphomeEnumMapper': 3, 'DomainData': 1, 'ServiceMetadata': 8, 'QuotedString': 2, 'RegistrationsView': 1, 'MobileAppNotificationService': 1, 'AutomationEntity': 32, 'Script': 49, 'LGHorizonMediaPlayer': 2, 'ScriptVariables': 18, 'WeakMethod': 1, 'DlnaDmrData': 1, 'DlnaDmrEntity': 1, 'EventListenAddr': 1, 'ReloadServiceHelper': 1, 'ForecastSolarSensorEntity': 7, 'MobileAppSensor': 19, 'MobileAppBinarySensor': 1, 'MobileAppEntity': 1, 'UnifiTrackerEntityDescription': 2, 'UnifiSensorEntityDescription': 4, 'UnifiSwitchEntityDescription': 4, 'UnifiUpdateEntityDescription': 1, 'UnifiDeviceUpdateEntity': 3, 'LGHorizonSensor': 1, 'UnifiScannerEntity': 11, 'JSMPEGProxyView': 1, 'MSEProxyView': 1, 'WebRTCProxyView': 1, 'NotificationsProxyView': 1, 'SnapshotsProxyView': 1, 'RecordingProxyView': 1, 'ThumbnailsProxyView': 1, 'VodProxyView': 1, 'VodSegmentProxyView': 1, '_DeprecatedParam': 1, 'SpeechManager': 1, 'Presentation': 102, 'SetReq': 144, 'Internal': 125, 'MySensorsBinarySensorDescription': 8, 'CoverState': 4, 'TextToSpeechView': 1, 'TextToSpeechUrlView': 1, 'GoogleProvider': 1, 'TTSMediaSource': 1, 'Tokenizer': 1, 'MySensorsBinarySensor': 21, 'MySensorsSwitch': 22, 'MySensorsSensor': 20, 'ChromecastInfoAttributes': 1, 'CastBrowser': 1, 'HostBrowser': 1, 'ZeroConfListener': 1, 'ServiceBrowser': 1, 'SocketClient': 1, 'ReceiverController': 1, 'MediaController': 1, 'MediaStatus': 1, 'HeartbeatController': 1, 'MultizoneManager': 1, 'CastStatusListener': 1, 'CastListener': 1, 'HostStatus': 1, 'CastMediaPlayerEntity': 1, 'Chromecast': 1, 'ConnectionController': 1, 'CastInfo': 3, 'FrigateContainerUpdate': 1, 'HTML5NotificationService': 1, 'MethodOptions': 27, 'GarbageCollectionCalendar': 1, 'LocalCalendarEntity': 1, 'MetDataUpdateCoordinator': 1, 'ForecastSolarDataUpdateCoordinator': 1, 'ReconnectLogic': 6, 'MetWeather': 1, 'UniFiController': 1, 'Devices': 1, 'Clients': 1, 'Ports': 1, 'DPIRestrictionGroups': 1, 'Outlets': 1, 'EventHandler': 1, 'AsyncTCPGateway': 1, 'Calendar': 1, 'MetWeatherData': 2, 'ForecastSolar': 1, 'Controller': 1, 'AsyncTasks': 1, 'DPIRestrictionGroup': 1, 'WSClient': 1, 'Sensor': 13, 'AsyncTCPMySensorsProtocol': 1, 'MessageHandler': 1, 'ClientsAll': 1, 'DPIRestrictionApps': 1, 'Wlans': 1, 'OTAFirmware': 1, 'Persistence': 1, 'AsyncTransport': 1, 'Morsel': 2, 'ChildSensor': 42, 'Wlan': 2, 'ClientConnectionError': 1, 'FrigateMediaSource': 1, 'IdentifierAttributes': 1, 'FrigateMediaType': 2, 'EventIdentifierAttributes': 1, 'EventSearchIdentifierAttributes': 1, 'RecordingIdentifierAttributes': 1, 'EventSummaryDataAttributes': 1, '_AndValidator': 14, 'BrowserSensor': 14, 'BrowserBinarySensor': 6, 'BrowserModBrowser': 2, 'ActivityBinarySensor': 2, 'BrowserModLight': 2, 'BrowserModPlayer': 2, 'Coordinator': 2, 'AIOGitHubAPIRepository': 1, 'AIOGitHubAPIRepositoryTraffic': 1, 'AIOGitHubAPIRepositoryTreeContent': 66, 'AIOGitHubAPIResponse': 1, 'GitHubReleaseModel': 5, 'GitHubBaseUserModel': 5, 'GitHubReactionModel': 2, 'FrigateDataUpdateCoordinator': 1, 'FrigateApiClient': 1, 'FrigateFpsSensor': 1, 'DetectorSpeedSensor': 1, 'CameraFpsSensor': 20, 'FrigateObjectCountSensor': 20, 'FrigateCamera': 5, 'FrigateMqttSnapshots': 10, 'FrigateSwitch': 15, 'FrigateObjectOccupancySensor': 25, 'FrigateMotionSensor': 5, 'DomainStates': 1, 'TrackTemplateResultInfo': 5, 'KeyedRateLimit': 5, 'TrackTemplate': 5, 'RenderInfo': 5, 'RemovedRepository': 209, 'DADict': 4, 'EtherDA': 1, 'ManufDA': 1, 'DynamicStreamSettings': 17, 'KeyFrameConverter': 3, 'TurboJPEG': 1, 'OSError': 1, 'PcapReader_metaclass': 4, 'TextClause': 11, 'ERFEthernetReader_metaclass': 1, 'NetworkInterfaceDict': 1, 'TriggerInstance': 1, 'Counter': 3, 'HlsStreamOutput': 1, 'RandNumExpo': 2, 'IdleTimer': 1, 'Field_metaclass': 137, 'InputContainer': 1, 'Packet_metaclass': 155, '_SuperSocket_metaclass': 13, 'StrField': 16, 'ModelType': 19, 'EventType': 51, 'StateType': 3, 'ProtectWSPayloadFormat': 3, 'SmartDetectObjectType': 10, 'SmartDetectAudioType': 3, 'DoorbellMessageType': 3, 'LightModeEnableType': 3, 'LightModeType': 4, 'VideoMode': 4, 'RecordingMode': 3, 'AnalyticsOption': 3, 'RecordingType': 3, 'ResolutionStorageType': 3, 'IRLEDMode': 5, 'MountType': 5, 'SensorStatusType': 5, 'SleepStateType': 5, 'AutoExposureMode': 5, 'FocusMode': 4, 'MountPosition': 3, 'GeofencingSetting': 2, 'MotionAlgorithm': 2, 'AudioCodecs': 3, 'LowMedHigh': 3, 'StorageType': 5, 'FirmwareReleaseChannel': 5, 'ChimeType': 3, 'LockStatusType': 12, 'PermissionNode': 6, 'LensType': 4, 'Route': 1, 'WSAction': 3, 'NetworkInterface': 19, 'ModelPrivateAttr': 21, 'FlagValue': 31, 'ReferenceAM': 6, 'PacketList': 2, 'SndRcvList': 1, 'Neighbor': 1, 'CacheInstance': 2, 'XShortEnumField': 9, 'SourceMACField': 3, 'DestMACField': 2, 'LenField': 1, 'ByteField': 145, 'XByteField': 3, 'StrFixedLenField': 17, 'ShortField': 55, 'XShortField': 54, 'ShortEnumField': 16, 'ByteEnumField': 94, 'IntField': 34, 'FCSField': 1, 'OUIField': 1, 'BitField': 76, 'BCDFloatField': 4, 'MACField': 6, 'StrLenField': 19, 'FieldLenField': 29, 'ConditionalField': 18, 'LoIntEnumField': 1, 'XIntField': 11, '_Generic_metaclass': 1, 'Automaton_metaclass': 2, 'AS_resolver_multi': 1, 'AS_resolver_cymru': 1, 'AS_resolver_radb': 1, 'BitEnumField': 23, 'FieldListField': 2, 'IPField': 55, 'PacketListField': 3, 'Emph': 2, 'FlagsField': 8, 'TCPOptionsField': 1, 'DestIPField': 1, 'SourceIPField': 2, 'RandShort': 2, '_ATMT_to_supersocket': 1, 'MultipleTypeField': 5, '_TimerList': 7, 'ICMPTimeStampField': 3, 'Timer': 2, 'MultiEnumField': 1, 'IP6Field': 21, 'SourceIP6Field': 2, 'Route6': 1, 'DestIP6Field': 1, '_OTypeField': 6, '_OptionsField': 8, '_PhantomAutoPadField': 7, 'IP6ListField': 7, 'X3BytesField': 2, 'TruncPktLenField': 1, '_IP6PrefixField': 1, 'DomainNameListField': 1, 'XBitField': 6, 'NIQueryDataField': 1, 'NonceField': 2, 'NIQueryCodeField': 1, 'NIReplyDataField': 1, 'RandBin': 2, 'NTPTimestampField': 1, '_DHCPParamReqFieldListField': 1, 'ClasslessFieldListField': 1, 'ClasslessStaticRoutesField': 1, 'LifetimeField': 1, 'StrEnumField': 1, '_BOOTP_chaddr': 1, 'DHCPOptionsField': 1, 'AS_resolver6': 1, 'Net': 1, '__pyx_scope_struct__make_literal_validator': 5, 'DefaultSession': 1, 'L2ListenSocket': 1, 'ObjectPipe': 1, 'UnifiService': 1, 'ESPHomeDashboard': 1, 'ESPHomeDashboardAPI': 1, 'FixSizeOrderedDict': 1, 'Symbol': 1, 'Lark': 1, 'LarkOptions': 1, 'Grammar': 2, 'Tree': 263, 'Meta': 263, 'LexerConf': 2, 'ParseTreeBuilder': 1, 'ExpandSingleChild': 15, 'ChildFilterLALR_NoPlaceholders': 48, 'LALR_ContextualLexer': 1, 'Rule': 114, 'TerminalDef': 48, 'NonTerminal': 197, 'RuleOptions': 45, 'Terminal': 112, 'PatternStr': 18, 'PatternRE': 30, 'ContextualLexer': 1, 'TraditionalLexer': 19, 'Reconstructor': 1, 'Parser': 1, 'WriteTokensTransformer': 1, 'MakeMatchTree': 31, 'ParserConf': 3, 'VideoStream': 1, 'TimestampValidator': 1, 'PeekIterator': 1, 'StreamMuxer': 1, 'filter': 1, 'closing': 2, '__pyx_scope_struct__demux': 1, '_HapBleStatusCodes': 1, 'EntryPoint': 504, 'PathDistribution': 196, 'HAP_TLV': 27, 'HapStatusCode': 13, '_BleCharacteristicFormats': 1, 'Categories': 33, 'CurrentMediaStateValues': 3, 'TargetMediaStateValues': 3, 'RemoteKeyValues': 13, 'InputEventValues': 3, 'HeatingCoolingCurrentValues': 3, 'HeatingCoolingTargetValues': 4, 'InUseValues': 2, 'IsConfiguredValues': 2, 'ProgramModeValues': 3, 'ValveTypeValues': 4, 'ActivationStateValues': 2, 'SwingModeValues': 2, 'CurrentHeaterCoolerStateValues': 4, 'TargetHeaterCoolerStateValues': 3, 'StreamingStatusValues': 3, 'SessionControlCommandValues': 5, 'VideoCodecTypeValues': 1, 'ProfileIDValues': 3, 'ProfileSupportLevelValues': 3, 'PacketizationModeValues': 1, 'CVOEnabledValues': 2, 'AudioCodecValues': 4, 'BitRateValues': 2, 'SampleRateValues': 3, 'SRTPCryptoSuiteValues': 3, 'ThreadNodeCapabilities': 5, 'ThreadStatus': 7, 'LALR_Parser': 2, 'FeatureFlags': 2, 'IntParseTable': 2, '_Parser': 2, 'TransportTuning': 1, 'Transport': 3, 'StatusFlags': 3, 'ExtensibleEnumMeta': 4, 'Code': 40, 'ContentFormat': 62, '_MediaTypes': 1, '_MediaTypesRev': 1, 'OptionNumber': 28, 'Sentinel': 1, 'TransportType': 3, 'MeshcopTLVType': 40, 'SelectableGroups': 1, 'EntryPoints': 31, 'ConnectionMode': 5, 'ThreadInterfaceStatus': 3, 'Availability': 2, 'NlaMapAdapter': 6, 'AddrPool': 3, 'TestLoader': 1, 'RuntimeEntryData': 6, 'APIClient': 6, 'ConnectionParams': 6, '_SentinelObject': 3, '_ANY': 1, '_Call': 1, 'APIConnection': 3, 'EsphomeBinarySensor': 54, 'EsphomeSwitch': 3, 'APIPlaintextFrameHelper': 3, 'EsphomeSensor': 7, 'EsphomeTextSensor': 1, 'APIVersion': 6, 'EsphomeMediaPlayer': 1, 'EsphomeLight': 65, 'ESPHomeUpdateEntity': 3, 'BinarySensorInfo': 108, 'SwitchInfo': 6, 'BinarySensorState': 54, 'SQLSchema': 31, 'check_auth': 32, 'DBProvider': 2, 'SwitchState': 3, 'LimitedSizeDict': 17, 'AutomationTrace': 52, 'SensorInfo': 14, 'TextSensorInfo': 2, 'TraceElement': 398, 'LinkModeBit': 69, 'MockLink': 3, 'MockAddress': 3, 'MockRoute': 10, 'MetaPopen': 1, 'PyRoute2ModuleFinder': 1, 'FastName': 254, 'TextSensorState': 1, 'MediaPlayerInfo': 2, 'LightInfo': 130, 'LightState': 65, 'MediaPlayerEntityState': 1, 'ReadOnlyProperties': 14, 'Delete': 36, 'Update': 25, 'InsertDMLState': 19, '_InsertManyValues': 19, 'SimpleResultMetaData': 19, 'CachingEntityRegistry': 1, '_ERDict': 1, 'PropRegistry': 5, 'RecorderRuns': 8, 'AnnotatedTable': 11, '_MapperEntity': 2, '__pyx_scope_struct__tuplegetter': 2, '_PsycopgNumeric': 1, 'AnnotatedUpdate': 8, 'BulkORMUpdate': 6, 'LinuxInterfaceProvider': 1, 'AsyncSniffer': 1, 'GrammarLoader': 1, 'CompileMissingStatisticsTask': 1, 'DHCPWatcher': 1, 'NetworkWatcher': 1, 'LALR_TraditionalLexer': 1, 'CanonizeTree': 1, 'DiscoverHosts': 1, 'IPRoute': 1, 'LockFactory': 1, 'MarshalRtnl': 1, 'EngineThreadSafe': 1, 'NetlinkProxy': 1, 'LockProxy': 1, '_ORMJoin': 13, '_RawColumnEntity': 19, 'LinkedLambdaElement': 59, 'AlertUpdateCoordinator': 1, 'Data': 1, 'NoPayload': 1, 'ClientWebSocketResponse': 3, 'WebSocketWriter': 8, 'ActiveConnection': 5, 'WebSocketHandler': 5, 'WebSocketAdapter': 5, '_GeneratorContextManager': 10, 'suppress': 4, 'AuthPhase': 3, 'WebSocketResponse': 5, 'AnnotatedAlias': 3, 'RestoredTrace': 14, 'CompoundSelect': 10, 'CompoundSelectState': 3, 'CTE': 6, 'ScalarSelect': 14, 'LambdaElement': 4, 'TemplateState': 1224, 'AnnotatedStatementLambdaElement': 9, 'BulkORMDelete': 8, '_RecorderRunsHistory': 1, '_ConnectionRecord': 5, 'connection': 5, 'VideoFrame': 2, 'Wrapper': 37, 'TimestampedPublishMessage': 7, 'Ether': 1, 'IP': 1, 'UDP': 1, 'BOOTP': 1, 'DHCP': 1, 'LogRecord': 1, 'HassioDataUpdateCoordinator': 1, 'SupervisorOSUpdateEntity': 1, 'SupervisorAddonUpdateEntity': 12, 'SupervisorCoreUpdateEntity': 1, 'SupervisorSupervisorUpdateEntity': 1, 'CoreSensor': 1, 'WeakInstanceDict': 5, '_ScriptRun': 3, 'StopReason': 2, 'enumerate': 3, '_AsyncGeneratorContextManager': 3, 'async_generator': 3, 'EofStream': 1, 'CastStatus': 1, 'PoolKey': 2, 'HTTPResponse': 2, 'HTTPMessage': 2, 'Ratelimit': 1, 'Estimate': 1, 'DailyDrivingStats': 28, 'ChromecastInfo': 1, 'CalendarEvent': 1, 'FileResponse': 1, 'Preset': 25, 'Playlist': 1, 'Info': 2, 'Filesystem': 2, 'Leds': 2, 'Wifi': 2, 'Nightlight': 2, 'Sync': 2, 'PlaylistEntry': 14, 'ServiceCall': 1, '_WSRequestContextManager': 1}
2023-04-06 14:02:31.412 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] New object builtin_function_or_method (671764/672939) at ["Failed to serialize <class 'list'>", '<built-in method read of SocketIO object at 0x7f1c4a5683d0>']: <built-in method read of SocketIO object at 0x7f1c4a5683d0>
2023-04-06 14:02:49.999 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] New object tuple (105473/107215) at ["Failed to serialize <class 'list'>", "(bytearray(b'\\r'),)"]: (bytearray(b'\r'),)
2023-04-06 14:03:20.929 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] New object list (59248/59395) at ["Failed to serialize <class 'list'>", '[]']: []
2023-04-06 14:03:33.875 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] New object tuple (105473/107215) at ["(<class 'homeassistant.components.recorder.db_schema.States'>, (231497906,), None)", '(231497906,)']: (231497906,)
2023-04-06 14:03:46.663 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] New object tuple (105473/107215) at ["{(<class 'homeassistant.components.recorder.db_schema.States'>, (231497906,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd3683820>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231497897,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1c7414e440>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231497904,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd1d45480>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231497908,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd542c0a0>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231497901,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd542c8e0>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231497895,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd3682fe0>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231497896,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd542d120>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231497905,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd1d47160>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231497900,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bf305a980>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231497911,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd1d44a00>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231497898,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd542ee60>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231497907,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1c33135660>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231497894,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1c35a1be80>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231497902,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd542f6a0>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231497909,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd36836a0>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231497903,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1c4db28ac0>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231497899,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd542eb60>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231497910,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd36823e0>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231497976,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd542da20>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231498054,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd1971060>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231498053,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd19730a0>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231498049,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd1973100>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231498080,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd1972920>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231498057,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bc6b5d120>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231498055,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bc6b5f940>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231498052,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd19709a0>, (<class 'homeassistant.components.recorder.db_schema.StateAttributes'>, (2136850,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bc6b5da20>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231498083,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd1973a60>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231498082,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd1972320>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231498081,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd19713c0>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231498058,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd19724a0>, (<class 'homeassistant.components.recorder.db_schema.StateAttributes'>, (2136848,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd19704c0>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231498050,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd1970d00>, (<class 'homeassistant.components.recorder.db_schema.StateAttributes'>, (2136849,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1c339a0580>, (<class 'homeassistant.components.recorder.db_schema.StateAttributes'>, (2136847,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd19705e0>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231498048,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd1972620>, (<class 'homeassistant.components.recorder.db_schema.StateAttributes'>, (2136851,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bc6b5d7e0>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231498084,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bc6b5c640>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231498051,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bd1973700>, (<class 'homeassistant.components.recorder.db_schema.States'>, (231498056,), None): <sqlalchemy.orm.state.InstanceState object at 0x7f1bc6b5f760>}", "(<class 'homeassistant.components.recorder.db_schema.States'>, (231497906,), None)"]: (<class 'homeassistant.components.recorder.db_schema.States'>, (231497906,), None)
2023-04-06 14:03:48.444 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] New objects overflowed by {'tuple': 1873, 'ReferenceType': 822, 'dict': 1671, 'set': 55, 'set_iterator': 1, 'builtin_function_or_method': 1530, 'State': 309, 'ReadOnlyDict': 345, 'Context': 2622, 'Event': 321, 'TimerHandle': 564, 'Task': 594, 'Future': 762, 'function': 1120, 'coroutine': 2735, 'cell': 3729, 'frame': 2375, 'method': 831, 'FutureIter': 562, 'deque': 34, 'MQTTDiscoveryPayload': 23, 'RenderInfo': 5, 'frozenset': 16, 'MimeType': 1, 'list': 340, 'MultiDictProxy': 1, 'MultiDict': 1, 'ETag': 1, 'Handle': 14, 'SensorState': 7, 'HassJob': 10, 'module': 34, 'HassLogger': 8, '_UnionGenericAlias': 12, 'type': 35, '_GenericAlias': 6, 'Pattern': 6, 'BytesIO': 7, 'OutputContainer': 5, 'PyIOFile': 5, 'StreamContainer': 5, 'Stream': 5, 'VideoCodecContext': 6, 'VideoFormat': 5, 'VideoFormatComponent': 18, 'FileFinder': 3, 'PlaceHolder': 2, 'PosixPath': 2, 'partial': 2, 'SourceFileLoader': 34, 'ModuleSpec': 34, 'getset_descriptor': 20, 'builtin_method': 11, 'staticmethod': 25, 'property': 15, 'classmethod': 4, 'LogEntry': 9, 'UpdateFailed': 1, 'traceback': 13, 'FrigateApiClientError': 1, 'TimeoutError': 1, 'ServerDisconnectedError': 1, 'CancelledError': 1, 'Timeout': 8, 'ConnectionKey': 3, 'SSLProtocol': 2, 'CancelOnDisconnectRequestHandler': 2, '_SSLProtocolTransport': 2, '_SelectorSocketTransport': 7, 'HttpRequestParser': 1, 'HomeAssistantAccessLogger': 2, 'TransportSocket': 7, 'socket': 9, 'Schema': 6, 'Required': 1, 'Insert': 2, 'PopulateDict': 2, 'portable_instancemethod': 2, 'CacheKey': 2, 'ConnectionResetError': 1, 'DNSPointer': 1, 'Object': 1, 'All': 3, 'In': 4, 'Range': 1, 'Coerce': 3, 'States': 18, 'InstanceState': 17, '_WorkItem': 4, 'ReadCoilsRequest': 1, 'Condition': 4, 'RLock': 4, '_GatheringFuture': 3, '_TransportPlaceholder': 1, 'TaskStepMethWrapper': 8, 'list_iterator': 2}
2023-04-06 14:07:14.580 CRITICAL (SyncWorker_10) [homeassistant.components.profiler] New object tuple_iterator (1/2) at ["Failed to serialize <class 'list'>", '<tuple_iterator object at 0x7f1bd3750280>']: <tuple_iterator object at 0x7f1bd3750280>
2023-04-06 14:07:50.976 CRITICAL (SyncWorker_10) [homeassistant.components.profiler] New object managedbuffer (1/3) at ["Failed to serialize <class 'list'>", '<managedbuffer object at 0x7f1c4d790b40>']: <managedbuffer object at 0x7f1c4d790b40>
2023-04-06 14:09:15.493 CRITICAL (SyncWorker_10) [homeassistant.components.profiler] New object memoryview (1/5) at ["Failed to serialize <class 'list'>", '<memory at 0x7f1c361507c0>']: <memory at 0x7f1c361507c0>

@bdraco
Copy link
Member

bdraco commented Apr 7, 2023

That's unfortunate that you can't get it to run longer as its not enough data to know whats going on.

It looks like something is leaking tuples but thats a bad guess without more data

@jjk0giap
Copy link

problem still exists, below some logs from another 10 minute run

2023-05-15 13:18:52.726 CRITICAL (SyncWorker_1) [homeassistant.components.profiler] New object EventData (0/1) at ["Failed to serialize <class 'list'>", '<recorder.EventData(id=60196, hash=\'1009106005\', data=\'{"domain":"profiler","service":"start_log_object_sources","service_data":{"scan_interval":30,"max_objects":1}}\')>']: <recorder.EventData(id=60196, hash='1009106005', data='{"domain":"profiler","service":"start_log_object_sources","service_data":{"scan_interval":30,"max_objects":1}}')>

2023-05-15 13:18:53.188 CRITICAL (SyncWorker_1) [homeassistant.components.profiler] New objects overflowed by {'InstanceState': 39, 'method': 90592, 'ReferenceType': 104819, 'set': 11470, 'dict': 96889, 'States': 24, 'list': 57288, 'BindParameter': 463, 'frozenset': 4177, 'ExposedEntity': 206, 'cell': 61862, 'tuple': 100566, 'function': 101127, 'HassJob': 2899, '_FilterableJob': 140, 'TimerHandle': 526, 'Context': 169200, 'ReadInputRegistersResponse': 1, 'builtin_method': 72, 'MQTTMessage': 2, 'MQTTMessageInfo': 2, 'Condition': 64, 'RLock': 52, 'builtin_function_or_method': 175225, 'deque': 955, 'StatesMeta': 1, 'coroutine': 330447, 'frame': 330340, 'Task': 82565, 'StateAttributes': 1, 'Events': 40, '_GeneratorContextManager': 9, 'generator': 19, 'UOWTransaction': 1, 'defaultdict': 226, 'SaveUpdateAll': 5, 'DeleteAll': 5, 'Preprocess': 9, 'ReadOnlyProperties': 9, 'SessionTransaction': 2, 'PopulateDict': 41, 'History': 9, 'ProcessAll': 8, 'WeakSequence': 21, 'SaveUpdateState': 24, 'ProcessState': 8, 'Insert': 26, 'portable_instancemethod': 77, 'CacheKey': 56, 'lock': 150, 'GenericAlias': 407, 'SplitResult': 26, 'Timeout': 16, 'coroutine_wrapper': 3, 'JsonPayload': 2, 'CIMultiDict': 297, 'URL': 21, 'TimeoutHandle': 7, 'TimerContext': 10, 'SimpleCookie': 22, 'ClientRequest': 4, 'ConnectionKey': 7, 'Connection': 7, 'HttpResponseParser': 5, 'Part': 34, 'CIMultiDictProxy': 274, 'RequestInfo': 7, 'HassClientResponse': 7, 'Future': 82557, 'FutureIter': 82547, '_GatheringFuture': 3, '_TransportPlaceholder': 1, 'SensorStateResponse': 1, 'SensorState': 8, 'State': 3230, 'ReadOnlyDict': 7328, 'Event': 1451, 'EventTask': 6, 'dict_items': 8, 'ScalarInvalid': 6, 'traceback': 25, 'chain': 6, 'socket': 43, 'RawRequestMessage': 8, 'MySensorsJSONEncoder': 1, 'WSMessage': 13, 'Coerce': 201, 'Range': 54, 'All': 641, 'In': 131, 'Object': 3, 'Schema': 3862, 'ReceiveMessage': 811, 'BasicAuth': 1, 'dict_itemiterator': 1, 'LRUCache': 16, 'BooleanClauseList': 81, 'BinaryExpression': 362, 'Update': 9, 'groupby': 1, 'list_iterator': 5, 'immutabledict': 405, 'PGCompiler': 53, 'prefix_anon_map': 79, 'InsertDMLState': 14, 'attrgetter': 349, 'ResultColumnsEntry': 204, 'PGExecutionContext_psycopg2': 1, 'cursor': 1, 'Packet': 160, 'ReadHoldingRegistersResponse': 1, 'CancelOnDisconnectRequestHandler': 8, 'HttpRequestParser': 7, 'HomeAssistantAccessLogger': 8, 'SSLProtocol': 8, '_SSLProtocolTransport': 8, '_SelectorSocketTransport': 16, 'TransportSocket': 23, 'KeyedRef': 143, 'StreamWriter': 7, 'HomeAssistantRequest': 7, 'TaskStepMethWrapper': 1, 'Handle': 43, 'Client': 101, 'Device': 5, 'Port': 3, '_SSLPipe': 8, 'MemoryBIO': 16, 'SSLObject': 8, '_SSLSocket': 11, 'SelectorKey': 28, 'UrlMappingMatchInfo': 7, 'hamt_bitmap_node': 71, 'hamt': 63, 'Response': 4, 'managedbuffer': 2, 'memoryview': 3, 'wrapper_descriptor': 3754, 'method_descriptor': 3324, 'classmethod_descriptor': 99, 'getset_descriptor': 9920, 'member_descriptor': 3779, 'staticmethod': 1353, 'SimpleNamespace': 1, 'module': 4164, 'type': 10493, 'ModuleSpec': 4161, 'property': 6784, 'classmethod': 1983, 'FileFinder': 557, 'ABCMeta': 1242, '_abc_data': 1537, 'TextIOWrapper': 6, 'IncrementalDecoder': 2, 'IncrementalEncoder': 4, 'SourceFileLoader': 3891, 'CodecInfo': 6, 'BufferedReader': 3, 'FileIO': 6, 'BufferedWriter': 5, '_Environ': 2, 'DistutilsMetaFinder': 1, 'Repr': 1, 'Quitter': 2, '_Printer': 3, '_Helper': 1, '_Feature': 10, '_NamespaceLoader': 11, '_NamespacePath': 11, '_tuplegetter': 993, 'EnumMeta': 516, '_NamedIntConstant': 74, 'RegexFlag': 23, '_lru_cache_wrapper': 201, 'Pattern': 993, 'method-wrapper': 54, 'WeakSet': 6, '_MainThread': 1, 'count': 16, '_SpecialForm': 12, '_LiteralSpecialForm': 1, '_ProtocolMeta': 125, 'TypeVar': 454, '_SpecialGenericAlias': 38, '_CallableType': 1, '_TupleType': 1, 'NamedTupleMeta': 1, '_TypedDictMeta': 186, '_UnionGenericAlias': 1330, 'Load': 1, 'Store': 41, 'Del': 1, 'And': 90, 'Or': 5, 'Add': 1, 'Sub': 1, 'Mult': 1, 'MatMult': 1, 'Div': 1, 'Mod': 1, 'Pow': 1, 'LShift': 1, 'RShift': 1, 'BitOr': 1, 'BitXor': 1, 'BitAnd': 1, 'FloorDiv': 1, 'Invert': 1, 'Not': 1, 'UAdd': 1, 'USub': 1, 'Eq': 1, 'NotEq': 1, 'Lt': 1, 'LtE': 1, 'Gt': 1, 'GtE': 1, 'Is': 1, 'IsNot': 1, 'NotIn': 3, '_ABC': 5, 'DynamicClassAttribute': 2, 'ExtensionFileLoader': 218, '_Precedence': 17, '_ParameterKind': 5, '_AnyMeta': 1, 'partial': 425, '_ExtensionsSpecialForm': 2, '_UnpackSpecialForm': 1, '_CallableGenericAlias': 326, '_NamedTupleMeta': 1, 'Platform': 32, 'UnitOfApparentPower': 1, 'UnitOfPower': 3, 'UnitOfEnergy': 5, 'UnitOfElectricCurrent': 2, 'UnitOfElectricPotential': 2, 'UnitOfTemperature': 3, 'UnitOfTime': 9, 'UnitOfLength': 8, 'UnitOfFrequency': 4, 'UnitOfPressure': 9, 'UnitOfSoundPressure': 2, 'UnitOfVolume': 7, 'UnitOfVolumeFlowRate': 2, 'UnitOfMass': 7, 'UnitOfIrradiance': 2, 'UnitOfVolumetricFlux': 4, 'UnitOfPrecipitationDepth': 3, 'UnitOfSpeed': 5, 'UnitOfInformation': 21, 'UnitOfDataRate': 11, 'EntityCategory': 5, '_Sentinel': 2, 'Formatter': 7, 'WeakValueDictionary': 14, '_StderrHandler': 1, 'RootLogger': 1, 'PercentStyle': 6, 'Manager': 1, '_WindowsFlavour': 1, '_PosixFlavour': 1, '_NormalAccessor': 1, '_HAS_DEFAULT_FACTORY_CLASS': 1, '_MISSING_TYPE': 1, '_KW_ONLY_TYPE': 1, 'mappingproxy': 1851, '_FIELD_BASE': 3, 'AwesomeVersionStrategy': 7, '_DataclassParams': 398, 'Field': 1533, 'Undefined': 1, 'AwesomeVersionStrategyDescription': 6, 'SignalDict': 18, 'Logger': 61, 'PlaceHolder': 97, 'AddressFamily': 33, 'SocketKind': 7, 'MsgFlag': 16, 'AddressInfo': 8, 'Signals': 32, 'Handlers': 2, 'Sigmasks': 3, '_SSLMethod': 6, 'Options': 21, 'AlertDescription': 27, 'SSLErrorNumber': 9, 'VerifyFlags': 7, 'VerifyMode': 3, 'TLSVersion': 7, '_TLSContentType': 6, '_TLSAlertType': 34, '_TLSMessageType': 22, 'Purpose': 2, '_SendfileMode': 3, '_ASN1Object': 2, '_RunningLoop': 1, 'JSONEncoder': 2, 'JSONDecoder': 2, 'Scanner': 3, '_GenericAlias': 1809, 'CType': 207, 'Lib': 3, '_Reasons': 12, 'SHA1': 6, 'SHA224': 3, 'SHA256': 11, 'SHA384': 8, 'SHA512': 8, 'SHA3_224': 2, 'SHA3_256': 2, 'SHA3_384': 2, 'SHA3_512': 2, 'MD5': 1, 'PBES': 2, 'Encoding': 13, 'PrivateFormat': 5, 'PublicFormat': 6, 'ParameterFormat': 1, '_MaxLength': 2, '_Auto': 1, '_DigestLength': 1, '_ModuleWithDeprecations': 3, '_DeprecatedValue': 11, 'PyJWS': 1, '_SSHFormatRSA': 1, '_SSHFormatDSA': 1, '_SSHFormatEd25519': 1, '_SSHFormatECDSA': 3, 'SSHCertificateType': 2, 'NoneAlgorithm': 2, 'HMACAlgorithm': 6, 'RSAAlgorithm': 6, 'ECAlgorithm': 10, 'RSAPSSAlgorithm': 6, 'OKPAlgorithm': 2, 'SECP256R1': 1, 'SECP384R1': 1, 'SECP521R1': 1, '_localized_day': 2, '_localized_month': 2, 'TextCalendar': 1, 'PyJWT': 1, 'HTTPStatus': 62, 'Charset': 2, 'Random': 3, 'Compat32': 1, '_QByteMap': 1, '_State': 8, 'cached_property': 30, 'IPv4Network': 39, 'IPv4Address': 70, 'IPv6Network': 40, 'IPv6Address': 66, 'UCD': 1, '_TypingMeta': 2, 'slice': 98, '_Unquoter': 3, 'WeakKeyDictionary': 138, 'uname_result': 1, 'ParamSpec': 13, 'UUID': 6, 'UnionType': 113, 'SafeUUID': 3, 'ForwardRef': 1226, '_local': 6, '_Nothing': 1, 'Attribute': 398, 'itemgetter': 492, '_AndValidatorAttributes': 1, '_InstanceOfValidatorAttributes': 1, '_MatchesReValidatorAttributes': 1, '_ProvidesValidatorAttributes': 1, '_OptionalValidatorAttributes': 1, '_InValidatorAttributes': 1, '_IsCallableValidatorAttributes': 1, 'VersionInfo': 2, '_DeepMappingAttributes': 1, '_NumberValidatorAttributes': 1, '_MaxLengthValidatorAttributes': 1, '_MinLengthValidatorAttributes': 1, '_SubclassOfValidatorAttributes': 1, '_NotValidatorAttributes': 1, 'VersionInfoAttributes': 1, '_OptionalValidator': 2, '_IsCallableValidator': 5, '_DeepIterable': 1, '_InstanceOfValidator': 13, '_SubclassOfValidator': 1, '_NoThreads': 1, 'ProxyInfoAttributes': 1, 'MimeTypeAttributes': 1, 'ETagAttributes': 1, 'HttpVersion': 2, 'EmptyStreamReader': 1, 'ParseState': 4, 'ChunkState': 5, 'Struct': 888, 'WSMsgType': 9, 'WSCloseCode': 13, 'WSParserState': 4, 'Order': 23, 'PayloadRegistry': 1, 'reify': 41, 'ContentDispositionAttributes': 1, 'RequestInfoAttributes': 1, 'ConnectionKeyAttributes': 1, 'Factory': 29, '_DeepIterableAttributes': 1, 'TraceRequestStartParamsAttributes': 1, 'TraceRequestChunkSentParamsAttributes': 1, 'TraceResponseChunkReceivedParamsAttributes': 1, 'TraceRequestEndParamsAttributes': 1, 'TraceRequestExceptionParamsAttributes': 1, 'TraceRequestRedirectParamsAttributes': 1, 'TraceConnectionQueuedStartParamsAttributes': 1, 'TraceConnectionQueuedEndParamsAttributes': 1, 'TraceConnectionCreateStartParamsAttributes': 1, 'TraceConnectionCreateEndParamsAttributes': 1, 'TraceConnectionReuseconnParamsAttributes': 1, 'ClientTimeout': 2, 'TraceDnsResolveHostStartParamsAttributes': 1, 'TraceDnsResolveHostEndParamsAttributes': 1, 'TraceDnsCacheHitParamsAttributes': 1, 'TraceDnsCacheMissParamsAttributes': 1, 'TraceRequestHeadersSentParamsAttributes': 1, 'ClientTimeoutAttributes': 1, 'ContentCoding': 3, 'FileFieldAttributes': 1, '_ErrInfoAttributes': 1, 'array': 4, 'UnitSystem': 2, 'Any': 207, 'ConfigSource': 4, 'HassJobType': 3, 'CoreState': 6, 'EventOrigin': 2, 'FlowResultType': 8, 'UndefinedType': 2, 'DeviceEntryDisabler': 3, 'DeviceEntryType': 1, 'DeviceEntryAttributes': 1, 'DeletedDeviceEntryAttributes': 1, 'RegistryEntryDisabler': 5, 'RegistryEntryHider': 2, 'SystemRandom': 3, 'PermissionLookupAttributes': 1, '_OwnerPermissions': 1, 'Optional': 1477, 'GroupAttributes': 1, 'UserAttributes': 1, 'RefreshTokenAttributes': 1, '_InValidator': 4, '_PyJWSWithLoadCache': 1, '_PyJWTWithVerify': 1, 'CredentialsAttributes': 1, 'PlistFormat': 2, 'VendorImporter': 1, 'abstractproperty': 3, 'ExceptionTrap': 1, 'InfinityType': 3, 'NegativeInfinityType': 3, 'Interpolation': 12, 'BasicInterpolation': 1, 'EIClass': 2, 'EIData': 2, 'EMachine': 5, 'NewType': 7, 'EmptyProvider': 1, 'ResourceManager': 1, 'MemoizedZipManifests': 1, 'WorkingSet': 1, 'DistInfoDistribution': 1259, 'PathMetadata': 1261, 'EggInfoDistribution': 2, 'Dialect': 18, 'Registry': 18, 'Required': 946, 'FoldedCase': 10, 'MissingType': 1, '_PassArg': 3, 'NodeType': 69, 'RegistryEntryAttributes': 1, 'PyCSimpleType': 28, 'StgDict': 129, 'LibraryLoader': 2, 'PyDLL': 1, 'CFunctionType': 5, '_swapped_meta': 1, 'PyCPointerType': 36, 'PyCFuncPtrType': 11, 'TemplateEnvironment': 3, 'AreaEntryAttributes': 1, 'ExactSequence': 8, 'LoopControlExtension': 3, 'Remove': 145, 'Exclusive': 56, 'IssueSeverity': 3, 'YAMLObjectMetaclass': 1, 'Namespace': 2, 'SunListenerAttributes': 1, 'EntityPlatformState': 3, 'NumberSelectorMode': 2, 'SelectSelectorMode': 2, 'TextSelectorType': 13, 'RouteDefAttributes': 1, 'StaticDefAttributes': 1, 'WebSocketReadyAttributes': 1, 'LogEntryType': 2, 'Version': 7, 'SignatureAlgorithm': 4, '_ASN1Type': 12, 'ReasonFlags': 10, 'TLSFeatureType': 2, 'PyCStructType': 39, 'CField': 187, 'CallableProxyType': 13, 'PyCArrayType': 13, 'CDLL': 3, 'PosixPath': 7192, 'SSLContext': 9, 'SSLCipherList': 3, 'RuntimeConfig': 1, 'HassEventLoopPolicy': 1, '_UnixSelectorEventLoop': 1, 'EpollSelector': 1, '_SelectorMapping': 1, 'InterruptibleThreadPoolExecutor': 1, 'Semaphore': 28, '_Local': 2, 'SimpleQueue': 6, 'ConfigEntryState': 7, 'ConfigEntryChange': 3, 'ConfigEntryDisabler': 1, 'HomeAssistant': 1, 'EventBus': 1, 'ServiceRegistry': 2, 'StateMachine': 1, 'Config': 1, '_ConfigStore': 1, 'Lock': 280, 'Components': 1, 'Helpers': 1, 'TimeoutManager': 1, 'AnsiFore': 1, 'AnsiBack': 1, 'AnsiStyle': 1, 'AnsiCursor': 1, 'HomeAssistantQueueHandler': 1, 'QueueListener': 1, 'Thread': 21, 'RotatingFileHandler': 1, 'StreamHandler': 4, 'ColoredFormatter': 1, 'PidfdChildWatcher': 1, 'ConfigEntries': 1, 'ConfigEntriesFlowManager': 1, 'OptionsFlowManager': 1, 'ConfigEntry': 48, 'EntityRegistryDisabledHandler': 1, 'AreaRegistry': 1, 'AreaRegistryStore': 1, 'DeviceRegistry': 1, 'DeviceRegistryStore': 1, 'EntityRegistry': 1, 'EntityRegistryStore': 1, 'IssueRegistry': 1, 'IssueRegistryStore': 1, '_RecursiveWildcardSelector': 1, '_WildcardSelector': 1, '_TerminatingSelector': 1, 'HassLoader': 1, 'OrderedDict': 334, 'AreaEntry': 21, 'Debouncer': 77, 'IssueEntry': 5, 'DeviceRegistryItems': 2, 'DeviceEntry': 104, 'DeletedDeviceEntry': 30, 'EntityRegistryItems': 1, 'RegistryEntry': 1266, '_EntityOptions': 1266, 'Integration': 619, 'RequirementsManager': 1, 'Service': 277, 'BinarySensorDeviceClass': 28, 'SensorDeviceClass': 48, 'SensorStateClass': 7, 'ExposedEntities': 1, 'AuthManager': 1, 'AuthManagerFlowManager': 1, 'EntityValues': 2, 'AuthStore': 1, 'HassAuthProvider': 1, 'TotpAuthModule': 1, 'NodeDictClass': 2447, 'RecorderData': 1, 'LogPersistance': 3, 'LogSettingsType': 2, 'LoggerDomainConfig': 1, 'LoggerSettings': 1, 'LogErrorHandler': 1, 'DedupStore': 1, 'DeviceAutomationDetails': 3, 'DeviceAutomationType': 3, 'HassLogger': 648, 'SourceType': 4, 'DeviceTrackerPlatformAttributes': 1, 'Length': 20, 'RequestDataValidator': 18, 'Manifest': 1, 'Panel': 24, 'DictStorageCollectionWebsocket': 16, 'LovelaceStorage': 3, 'HomeAssistantHTTP': 1, 'PermissionLookup': 1, 'Group': 8, 'User': 6, 'Credentials': 3, 'RefreshToken': 50, 'Network': 1, '_FuncPtr': 73, 'ApiConfig': 1, 'MfaFlowManager': 1, 'DiagnosticsData': 1, 'IntegrationPlatform': 9, 'DiagnosticsType': 1, 'DiagnosticsSubType': 1, 'RepairsFlowManager': 1, 'ResourceStorageCollection': 1, 'HomeAssistantApplication': 1, 'NodeListClass': 266, 'IDManager': 16, 'UrlDispatcher': 2, 'FrozenList': 5, 'Signal': 10, 'CleanupContext': 2, 'DashboardsCollection': 1, 'IpBanManager': 1, 'CorsConfig': 1, 'DynamicResource': 58, 'PlainResource': 53, '_CorsConfigImpl': 1, 'ResourceOptions': 9, 'ResourcesUrlDispatcherRouterAdapter': 1, 'ResourceRoute': 259, '_ResourceConfig': 109, 'RepairsFlowResourceView': 1, 'RepairsFlowIndexView': 1, 'LoginFlowResourceView': 1, 'LoginFlowIndexView': 1, 'AuthProvidersView': 1, 'WellKnownOAuthInfoView': 1, 'OAuth2AuthorizeCallbackView': 1, 'LinkUserView': 1, 'RevokeTokenView': 1, 'TokenView': 1, 'APIErrorLog': 1, 'APITemplateView': 1, 'APIComponentsView': 1, 'APIDomainServicesView': 1, 'APIServicesView': 1, 'APIEventView': 1, 'APIEventListenersView': 1, 'APIEntityStateView': 1, 'APIStatesView': 1, 'APIConfigView': 1, 'APIEventStream': 1, 'APIStatusView': 1, 'RGBColor': 149, 'ColorMode': 10, 'XYPointAttributes': 1, 'GamutTypeAttributes': 1, 'LightEntityFeature': 11, 'Clamp': 6, 'EditAutomationConfigView': 1, 'ConfigManagerEntryIndexView': 1, 'ConfigManagerEntryResourceView': 1, 'ConfigManagerEntryResourceReloadView': 1, 'ConfigManagerFlowIndexView': 1, 'ConfigManagerFlowResourceView': 1, 'ConfigManagerAvailableFlowView': 1, 'OptionManagerFlowIndexView': 1, 'CheckConfigView': 1, 'Inclusive': 40, 'EditScriptConfigView': 1, 'EditSceneConfigView': 1, 'OptionManagerFlowResourceView': 1, 'FileUploadView': 1, 'DownloadDiagnosticsView': 1, 'Base': 268, 'GPS': 32, 'Interop': 5, 'IFD': 5, 'LightSource': 21, 'TagInfo': 147, 'VoidType': 1, 'PointerType': 2, 'ArrayType': 1, 'PrimitiveType': 1, 'Quantize': 4, 'ImageStorageCollection': 1, 'Resampling': 6, 'Transpose': 7, 'Transform': 5, 'Dither': 4, 'Palette': 148, 'WebsocketAPIView': 1, 'ImageUploadView': 1, 'ImageServeView': 1, 'UTC': 1, '_CountryTimezoneDict': 1, '_CountryNameDict': 1, 'LazyList': 2, 'LazySet': 2, 'Depression': 3, 'SunDirection': 2, '_SixMetaPathImporter': 4, 'MovedAttribute': 352, 'MovedModule': 184, '_MovedItems': 4, 'Module_six_moves_urllib_parse': 4, 'Module_six_moves_urllib_error': 4, 'Module_six_moves_urllib_request': 4, 'Module_six_moves_urllib_response': 4, 'Module_six_moves_urllib_robotparser': 4, 'Module_six_moves_urllib': 4, 'methodcaller': 15, '_RetryMeta': 2, 'Retry': 5, 'NullHandler': 14, 'LookupDict': 1, 'SupervisorEntityModel': 5, 'AddonState': 5, 'APIEndpointSettings': 11, '_ModuleRegistry': 1, 'cython_function_or_method': 2484, '_LiteralGenericAlias': 43, '_IntFlagMeta': 4, 'greenlet': 1, '_memoized_property': 170, 'symbol': 48, 'ResetStyle': 3, 'EventsDispatch': 1, '_ConnDialect': 1, 'hybridproperty': 3, 'dispatcher': 12, '_non_memoized_property': 71, 'PoolEventsDispatch': 2, '_AsyncConnDialect': 1, '_ClsLevelDispatch': 104, 'InternalTraversal': 39, 'CacheConst': 1, 'CacheTraverseTarget': 5, '_CacheKeyTraversal': 1, '_CopyInternalsTraversal': 1, '_GetChildrenTraversal': 1, '_NoArg': 1, '_NoneName': 1, '_OpLimit': 2, '_MetaOptions': 8, 'hybridmethod': 9, '_SentinelDefaultCharacterization': 7, 'BinaryElementImpl': 1, 'ByOfImpl': 1, 'ColumnArgumentOrKeyImpl': 1, 'ColumnArgumentImpl': 1, 'ColumnsClauseImpl': 1, 'CompoundElementImpl': 1, 'ConstExprImpl': 1, 'DDLConstraintColumnImpl': 1, 'DDLExpressionImpl': 1, 'DDLReferredColumnImpl': 1, 'DMLColumnImpl': 1, 'DMLSelectImpl': 1, 'DMLTableImpl': 1, 'ExecutableOptionImpl': 1, 'ExpressionElementImpl': 1, 'FromClauseImpl': 1, 'GroupByImpl': 1, 'HasCTEImpl': 1, 'HasCacheKeyImpl': 1, 'InElementImpl': 1, 'IsCTEImpl': 1, 'JoinTargetImpl': 1, 'LabeledColumnExprImpl': 1, 'LimitOffsetImpl': 1, 'LiteralValueImpl': 1, 'OnClauseImpl': 1, 'OrderByImpl': 1, 'ReturnsRowsImpl': 1, 'SelectStatementImpl': 1, 'StatementOptionImpl': 1, 'StatementImpl': 1, 'StrAsPlainColumnImpl': 1, 'StrictFromClauseImpl': 1, 'TruncatedLabelImpl': 1, 'WhereHavingImpl': 1, 'AnonymizedFromClauseImpl': 1, '_NoValueInList': 1, 'memoized_attribute': 75, 'Null': 1, 'False_': 1, 'True_': 1, '_OverRange': 2, 'Integer': 57, 'String': 40, 'NullType': 2, 'Boolean': 44, 'Numeric': 4, 'MatchType': 1, 'TableValueType': 1, 'DateTime': 10, 'Time': 3, 'BigInteger': 8, 'Unicode': 4, 'SelectLabelStyle': 4, 'Float': 4, 'Uuid': 1, 'Date': 2, 'Interval': 1, 'LargeBinary': 3, 'Enum': 147, 'quoted_name': 613, '_CompoundSelectKeyword': 6, 'SchemaConst': 3, '_FunctionGenerator': 16, 'CompilerState': 3, 'Linting': 4, '_CTEOpts': 1, 'CacheStats': 5, 'BindTyping': 3, 'ExecuteStyle': 3, 'echo_property': 1, 'ConnectionEventsDispatch': 3, 'PluginLoader': 2, '_NoRow': 1, 'NoCursorDQLFetchStrategy': 1, 'NoCursorDMLFetchStrategy': 1, 'CursorFetchStrategy': 1, '_NoResultMetaData': 1, 'ObjectKind': 5, 'ObjectScope': 3, 'IsolationLevelCharacteristic': 1, 'LoaderCallableStatus': 5, 'EventConstants': 4, 'RelationshipDirection': 3, 'DDLEventsDispatch': 907, 'DialectEventsDispatch': 1, 'NotExtension': 1, '_AttributeOptions': 16, 'RootRegistry': 1, 'rw_hybridproperty': 1, 'InstrumentationFactory': 1, '_TraceAdaptRole': 11, 'default_load_options': 1, '_NoObject': 1, '_ExpiredObject': 1, '_StateChangeStates': 3, 'SessionTransactionState': 5, '_AnnotatedAlias': 1, 'SessionTransactionOrigin': 4, 'DCTransformDeclarative': 1, 'DeclarativeAttributeIntercept': 14, 'InstrumentationEventsDispatch': 2, 'InstanceEventsDispatch': 13, 'MapperEventsDispatch': 13, 'HoldInstanceEventsDispatch': 1, 'HoldMapperEventsDispatch': 1, 'slots_dispatcher': 1, 'AttributeEventsDispatch': 93, 'QueryEventsDispatch': 5, 'SessionEventsDispatch': 6, 'TableClause': 1, 'ColumnSet': 49, 'MetaData': 3, 'DedupeColumnCollection': 108, 'FacadeDict': 3, 'Table': 40, 'PrimaryKeyConstraint': 40, '_EmptyListener': 236, 'ReadOnlyColumnCollection': 101, 'Alias': 20, '_ColumnMetrics': 934, 'Column': 760, 'NUMBER': 85, 'VARCHAR2': 273, 'DATE': 11, 'custom_op': 19, 'Text': 24, 'LONG': 4, 'RAW': 2, 'CHAR': 18, 'ARRAY': 14, 'OID': 45, 'NAME': 10, 'SmallInteger': 18, '_ListenerCollection': 122, 'INT2VECTOR': 2, 'OIDVECTOR': 2, 'PG_NODE_TREE': 3, 'REGCLASS': 8, 'PGReadOnlyConnectionCharacteristic': 1, 'PGDeferrableConnectionCharacteristic': 1, 'SupportedDialect': 3, 'Unused': 2, 'UnusedDateTime': 2, '_dispatcher': 2, 'INTEGER': 1, 'JSON': 3, 'JSONB': 1, 'DATETIME': 1, 'FAST_PYSQLITE_DATETIME': 1, 'DOUBLE': 1, 'DOUBLE_PRECISION': 3, 'NativeLargeBinary': 1, 'ClassManager': 12, '_ModuleMarker': 11, '_ModNS': 11, '_MultipleClassMarker': 48, '_DialectArgDict': 18, 'Index': 20, 'conv': 13, 'ForeignKeyConstraint': 7, 'Mapper': 12, 'ColumnCollection': 60, '_ColumnMapping': 12, 'InstrumentedAttribute': 94, 'ColumnProperty': 87, 'Comparator': 307, 'OrderedSet': 413, 'LONGTEXT': 2, 'ForeignKey': 51, 'Identity': 13, 'MappedColumn': 14, 'CallableColumnDefault': 5, 'ScalarElementColumnDefault': 1, 'TypeCoerce': 8, 'AliasedClass': 1, 'DetectKeySwitch': 5, 'ScalarObjectAttributeImpl': 5, 'AttributeEventToken': 276, 'JSONLiteral': 2, 'Cast': 27, 'AnnotatedColumn': 196, 'TypeClause': 14, '_anonymous_label': 206, 'JSONStrIndexType': 11, 'ColumnLoader': 87, 'ScalarAttributeImpl': 87, 'Label': 100, 'AwesomeVersion': 30, 'AliasedInsp': 1, 'Case': 9, 'ORMAdapter': 1, 'WeakPopulateDict': 1, 'Grouping': 52, 'Relationship': 5, 'CascadeOptions': 5, 'LazyLoader': 5, '_RelationshipArgs': 5, 'JoinCondition': 5, 'ManyToOneDP': 5, '_RelationshipArg': 30, 'max': 17, 'min': 3, 'ClauseList': 36, '_ColumnTypesForDialect': 3, 'CommitTask': 1, 'KeepAliveTask': 1, 'WaitTask': 1, 'AdjustLRUSizeTask': 1, 'Function': 10, 'Over': 2, 'UnaryExpression': 6, 'Analytics': 1, 'TCPConnector': 2, 'ThreadedResolver': 2, '_DNSCacheTable': 2, 'ClientSession': 3, 'CookieJar': 3, 'AnalyticsData': 1, 'EntityComponent': 40, 'EntityPlatform': 169, 'Person': 2, 'RestoreStateData': 1, 'StoredState': 509, 'RestoredExtraData': 405, 'CachingStaticResource': 5, 'IndexView': 1, 'UrlManager': 2, 'AppRunner': 2, 'Server': 5, 'HomeAssistantTCPSite': 1, 'ManifestJSONView': 1, 'Recorder': 1, 'RecorderRunsManager': 1, 'StatesManager': 1, 'EventDataManager': 1, 'EventTypeManager': 1, 'StatesMetaManager': 1, 'StateAttributesManager': 1, 'StatisticsMetaManager': 1, 'RangeCaster': 6, 'Engine': 1, 'DatabaseEngine': 1, 'TDComparator': 3, 'Select': 185, 'DatabaseOptimizer': 1, 'CollectionAggregate': 3, '_truncated_label': 166, 'scoped_session': 1, 'ThreadLocalRegistry': 1, 'Session': 9, 'sessionmaker': 1, 'SelectState': 8, 'FromLinter': 38, 'CursorResultMetaData': 47, '_ColumnsPlusNames': 174, 'Join': 6, 'Delete': 8, 'ORMSelectCompileState': 30, '_CompileLabel': 15, '_ORMColumnEntity': 68, 'SimpleResultMetaData': 13, 'CachingEntityRegistry': 5, '_ERDict': 5, 'PropRegistry': 70, 'AnnotatedTable': 10, '_MapperEntity': 6, 'QueuePool': 1, '_OffsetLimitParam': 7, 'default_compile_options': 60, 'AnnotatedBindParameter': 4, 'AnnotatedBinaryExpression': 4, 'Queue': 8, 'SchemaValidationStatus': 1, 'RecorderRuns': 10, '_DefaultDescriptionTuple': 1, '_RecorderRunsHistory': 1, 'AnalyzedCode': 22, 'AnalyzedFunction': 42, 'StatementLambdaElement': 27, 'PyWrapper': 124, 'LambdaOptions': 45, 'KeyMethod': 7, 'Backend': 1, 'GetCipherByName': 55, 'Binding': 2, 'Algorithms': 1, 'Zips': 1, 'UNSIGNED': 1, 'PKCS1v15': 4, 'OAEP': 2, 'MGF1': 5, '_TzSingleton': 1, 'tzutc': 1, '_TzOffsetFactory': 1, '_TzStrFactory': 1, 'GettzFunc': 1, 'weekday': 14, 'parser': 1, '_tzparser': 1, 'isoparser': 1, 'parserinfo': 1, 'CachedProperty': 190, 'HistoryRecorder': 1, 'FunctionRegistry': 1, 'DocumentedShape': 3, 'ClientMethodAlias': 1, 'AutoPopulatedParam': 16, 'AppendParamDocumentation': 4, 'HideParamFromOperations': 1, 'DeprecatedServiceDocumenter': 1, 'ParameterAlias': 3, 'CLIArguments': 1, 'Env': 1, 'MultiplexerChannelIdAttributes': 1, 'MultiplexerMessageAttributes': 1, '_CountingAttr': 1, '_UtilDeprecationModule': 1, 'JSONObjectWithFieldsMeta': 48, '_JWAHS': 3, '_JWARS': 3, '_JWAPS': 3, '_JWAEC': 3, 'PSS': 3, '_TypedField': 74, 'Header': 2, '_FieldsDeprecationModule': 1, 'Resource': 7, '_ThreadingDescriptor': 6, '_MessagesDeprecationModule': 1, '_ClientDeprecationModule': 1, 'ChallengeHandlerAttributes': 1, 'Gender': 2, 'SniTunTokenAttributes': 1, 'CertificateAttributes': 1, 'CertificateStatus': 5, 'AudioOutput': 2, 'IdentifierType': 2, 'Status': 8, 'RFC3339Field': 3, 'DBInterruptibleThreadPoolExecutor': 1, 'HassIO': 1, 'WebhookView': 1, 'USBDiscovery': 1, 'ModuleWrapper': 6, 'MimeType': 14, 'MultiDictProxy': 16, 'MultiDict': 15, 'NameRelation': 5, 'IDNA2003Codec': 2, 'IDNA2008Codec': 4, 'Name': 14, 'Signature': 305, 'Parameter': 2802, 'RdataClass': 6, 'RdataType': 80, 'OptionType': 29, 'Flag': 23, 'EDNSFlag': 1, 'Opcode': 5, 'EntropyPool': 1, 'EDECode': 25, 'Rcode': 20, 'MessageSection': 4, 'Match': 2, 'ScapyColoredFormatter': 1, 'ScapyFreqFilter': 1, 'ColorTable': 1, 'Conf': 1, '_ConcatenateGenericAlias': 2, 'registry': 1, 'CollectionChangeSet': 7, 'PersonStorageCollection': 1, 'YamlCollection': 9, 'EntityFilter': 4, 'PGDialect_psycopg2': 1, 'PGIdentifierPreparer_psycopg2': 1, 'Subquery': 45, 'ColumnClause': 57, 'STTResponseAttributes': 1, 'Interceptor': 8, 'LayersList': 1, 'CommandsList': 1, 'Num2Layer': 2, 'ProgPath': 1, 'Resolve': 2, 'Emphasize': 1, 'NetCache': 1, 'DeviceTrackerRegisteredWatcher': 1, 'PersonStore': 1, 'PGTypeCompiler': 1, 'AsBoolean': 2, 'array_agg': 2, '_PsycopgARRAY': 3, 'NoTheme': 1, 'DeviceTrackerWatcher': 1, '_PsycopgFloat': 2, '_PsycopgINT2VECTOR': 1, 'JoinedDDLEventsDispatch': 5, 'aggregate_order_by': 2, 'TEXT': 1, 'HassIOView': 1, 'InterfaceChoice': 2, 'ServiceStateChange': 6, 'IPVersion': 3, 'DNSQuestionType': 2, 'HaAsyncZeroconf': 1, 'PolicyPermissions': 2, '_TranslationCache': 1, 'Environment': 1, 'Template': 269, 'HaZeroconf': 1, '_SelectorDatagramTransport': 7, 'Lexer': 1, 'ChainMap': 1, 'ZeroconfDiscovery': 1, 'ErrorHandler': 4, 'AsyncEngine': 1, 'DNSCache': 1, 'QuestionHistory': 1, 'QueryHandler': 1, 'RecordManager': 1, 'MulticastOutgoingQueue': 2, 'AsyncListener': 3, '_WrappedTransport': 8, 'HomeKitDiscoveredIntegration': 59, '_Rule': 16, 'OptionalLStrip': 2, 'Failure': 2, 'NotificationSubType': 3, 'SsdpSource': 7, 'UpnpActionErrorCode': 9, 'SsdpChange': 3, 'FlowDispatcher': 1, 'DNSText': 18, 'DNSNsec': 4, 'DNSPointer': 25, 'Codec': 2, 'HVACMode': 7, 'HVACAction': 6, 'ClimateEntityFeature': 8, 'SpeechType': 2, 'IntentCategory': 2, 'IntentResponseType': 4, 'IntentResponseErrorCode': 4, 'IntentResponseTargetType': 6, 'CardType': 2, 'CodeFormat': 2, 'AlarmControlPanelEntityFeature': 7, 'ButtonDeviceClass': 2, 'MediaPlayerState': 11, 'MediaClass': 20, 'MediaType': 21, 'RepeatMode': 3, 'MediaPlayerEntityFeature': 39, 'MediaPlayerEnqueue': 4, 'MediaPlayerDeviceClass': 3, '_NoValueType': 1, '_CopyMode': 3, 'Infinity': 1, 'NegativeInfinity': 1, '_typedict': 5, '_unspecified': 1, 'PytestTester': 9, 'iinfo': 3, 'MGridClass': 1, 'OGridClass': 1, 'RClass': 1, 'CClass': 1, 'IndexExpression': 2, '_FileOpeners': 1, 'RandomState': 1, 'MT19937': 1, 'SeedSequence': 1, 'errstate': 1, '_MaskedUnaryOperation': 26, '_DomainGreaterEqual': 2, '_DomainGreater': 3, '_DomainTan': 1, '_DomainCheckInterval': 3, '_MaskedBinaryOperation': 18, '_DomainedBinaryOperation': 6, '_DomainSafeDivide': 6, '_MaskedPrintOption': 1, 'MaskedArray': 1, 'MaskedConstant': 1, '_frommethod': 26, '_extrema_operation': 2, '_convert2ma': 14, '_fromnxfunction_allargs': 3, '_fromnxfunction_seq': 5, '_fromnxfunction_single': 2, 'mr_class': 1, 'MachArLike': 6, 'StreamSettings': 4, 'Orientation': 8, 'StreamSettingsAttributes': 1, 'PartAttributes': 1, 'SegmentAttributes': 1, 'StreamType': 2, 'CameraEntityFeature': 3, 'ImageAttributes': 1, 'CoverDeviceClass': 10, 'CoverEntityFeature': 15, 'FanEntityFeature': 5, 'HumidifierEntityFeature': 2, 'HumidifierDeviceClass': 2, 'ImageProcessingDeviceClass': 3, 'NumberDeviceClass': 44, 'LockEntityFeature': 2, 'NumberMode': 6, 'SwitchDeviceClass': 2, 'VacuumEntityFeature': 34, 'AudioCodecs': 5, 'AudioFormats': 2, 'AudioBitRates': 4, 'AudioSampleRates': 9, 'AudioChannels': 2, 'SpeechResultState': 2, 'SequenceType': 2, 'ParseType': 7, 'ResponseType': 7, 'RangeType': 3, 'PictureType': 29, 'CTOCFlags': 2, 'ID3FramesSpec': 2, 'SizedIntegerSpec': 16, 'Latin1TextSpec': 23, 'Latin1TextListSpec': 1, 'CTOCFlagsSpec': 1, 'MultiSpec': 7, 'EncodingSpec': 16, 'ByteSpec': 24, 'EncodedTextSpec': 19, 'EncodedNumericTextSpec': 1, 'EncodedNumericPartTextSpec': 1, 'TimeStampSpec': 1, 'BinaryDataSpec': 16, 'KeyEventSpec': 1, 'StringSpec': 7, 'SynchronizedTextSpec': 1, 'VolumePeakSpec': 1, 'VolumeAdjustmentSpec': 1, 'ChannelSpec': 1, 'VolumeAdjustmentsSpec': 1, 'RVASpec': 2, 'PictureTypeSpec': 2, 'IntegerSpec': 5, 'FrameIDSpec': 2, 'ID3v1SaveOptions': 3, 'ASPIIndexSpec': 1, 'PipelineStage': 3, 'PipelineEventType': 9, '_RandomNameSequence': 1, 'DNSService': 7, 'DNSAddress': 2, 'CloudConnectionState': 2, 'Cloud': 1, 'CloudIoT': 1, 'GoogleReportState': 1, 'Cloudhooks': 1, 'RemoteUI': 1, 'CognitoAuth': 1, 'ResourceFactory': 1, 'CollectionFactory': 1, 'Loader': 1, 'JSONFileLoader': 1, 'ExtrasProcessor': 1, 'Voice': 1, 'DeviceInfo': 5, 'GoogleActionsSyncView': 1, 'CloudLoginView': 1, 'CloudLogoutView': 1, 'CloudRegisterView': 1, 'CloudResendConfirmView': 1, 'CloudForgotPasswordView': 1, 'cycle': 7, 'SupervisorIssues': 1, 'HassioDataUpdateCoordinator': 1, 'HassIODiscovery': 1, 'HassIOAuth': 1, 'HassIOPasswordReset': 1, 'HassIOIngress': 1, 'HassIOAddonPanel': 1, 'CloudClient': 1, 'EventAliaser': 1, 'CloudPreferences': 1, 'HierarchicalEmitter': 1, 'ComponentLocator': 2, 'SessionVarDict': 1, 'CloudPreferencesStore': 1, '_PrefixTrie': 1, 'ResponseParserFactory': 1, 'ConfigValueStore': 1, 'ClientExceptionsFactory': 1, 'ChainProvider': 33, 'SectionConfigProvider': 2, 'NodeList': 97, 'ScopedConfigProvider': 34, 'EnvironmentProvider': 25, 'InstanceVarProvider': 33, 'ConstantProvider': 14, 'MimeTypes': 1, 'HassioBinarySensorEntityDescription': 1, 'NicDuplex': 3, 'BatteryTime': 2, '_WrapNumbers': 1, 'IOPriority': 4, 'Negsignal': 32, 'Connections': 1, 'scputimes': 11, 'SysMonitorSensorEntityDescription': 24, 'UpdateEntityFeature': 12, 'UpdateDeviceClass': 1, 'UpdateEntityDescription': 1, 'SensorEntityDescription': 194, 'SupervisorOSUpdateEntity': 1, 'SupervisorAddonUpdateEntity': 14, 'SupervisorCoreUpdateEntity': 1, 'SupervisorSupervisorUpdateEntity': 1, 'DiagnosticsPlatformData': 18, 'GattCharacteristicsFlags': 10, 'MessageType': 9, 'MessageFlag': 4, 'BusType': 2, 'NameFlag': 4, 'RequestNameReply': 4, 'ReleaseNameReply': 3, 'PropertyAccess': 3, 'ArgDirection': 2, 'ErrorType': 59, 'HeaderField': 9, '_AuthResponse': 5, 'SignatureTree': 20, 'SignatureType': 66, 'ModuleNotFoundError': 1, 'CoreSensor': 1, 'SystemMonitorSensor': 9, '__pyx_scope_struct__unpack_parser_factory': 18, 'SensorData': 9, 'AdvertisementDataType': 15, '_Property': 7, '__pyx_scope_struct_1_decorator': 4, '__pyx_scope_struct__method': 4, '_Method': 4, 'Property': 95, 'Method': 4, 'Arg': 2, 'BluetoothScanningMode': 2, 'BluetoothChange': 1, 'AddressType': 3, 'SupportedSettings': 18, 'ADType': 44, 'ErrorCodes': 35, 'Commands': 71, 'OrPattern': 2, 'AsyncTextIndirectIOWrapper': 3, 'AsyncIndirectBufferedIOBase': 3, 'BluetoothManager': 1, 'AdvertisementTracker': 1, 'BluetoothCallbackMatcherIndex': 1, 'BlueZManager': 1, 'SocketIO': 1, 'LinuxAdapters': 1, 'BluetoothStorage': 1, 'BleakSlotManager': 1, 'MessageBus': 1, 'BlueZDBusObjects': 1, 'AsyncMacLookup': 1, 'AuthExternal': 1, '_MessageWriter': 1, 'BufferedRWPair': 1, '__pyx_scope_struct__build_message_reader': 1, 'Unmarshaller': 1, 'IntegrationMatcher': 1, 'BluetoothMatcherIndex': 1, 'HaAsyncServiceBrowser': 1, 'AsyncServiceInfo': 1, 'Element': 374, 'DeviceIcon': 8, 'QueryScheduler': 2, 'DescriptionCache': 1, 'IntegrationMatchers': 1, 'SsdpProtocol': 4, 'SsdpListener': 1, 'UpnpServer': 1, 'Application': 1, 'AiohttpSessionRequester': 3, 'HassUpnpServiceDevice': 1, 'SsdpDeviceTracker': 1, 'SsdpAdvertisementListener': 1, 'SsdpSearchListener': 1, 'TCPSite': 1, 'SsdpSearchResponder': 1, 'NopRequester': 1, 'CaseInsensitiveDict': 13, 'SsdpDevice': 1, 'Profiles': 1, 'SensorType': 18, 'LegacySensorType': 3, 'DewPointPerception': 8, 'FrostRisk': 4, 'SummerSimmerPerception': 9, 'RelativeStrainPerception': 6, 'ScharlauPerception': 5, 'HumidexPerception': 6, 'ThomsDiscomfortPerception': 6, 'SpeechToTextView': 1, 'CameraPreferences': 1, 'HistoryPeriodView': 1, 'CameraImageView': 1, 'CameraMjpegStream': 1, 'ZoneStorageCollection': 1, 'Profile': 4, 'AgentManager': 1, 'ConversationProcessView': 1, 'SystemStatus': 1, 'GroupIntegrationRegistry': 1, 'LocalSource': 1, 'LocalMediaView': 1, 'UploadMediaView': 1, 'LogbookConfig': 1, 'LogbookView': 1, 'SystemHealthRegistration': 6, 'CameraMediaSource': 1, 'DomainBlueprints': 2, 'AllStates': 2, 'PayloadSentinel': 2, 'PublishMessageAttributes': 1, 'ReceiveMessageAttributes': 1, 'TimestampedPublishMessageAttributes': 1, 'SubscriptionAttributes': 1, 'EntitySubscriptionAttributes': 1, 'SirenEntityFeature': 7, 'Unique': 3, 'TextMode': 2, 'dict_keys': 2, 'SourceAdapter': 4, 'InputNumber': 1, 'Sun': 1, 'Location': 1, 'LocationInfo': 1, 'Blueprint': 7, 'Input': 58, 'SunSensorEntityDescription': 8, 'LocalCalendarStore': 1, '_rrulestr': 1, 'CalendarEntityFeature': 5, 'RemoteEntityFeature': 4, 'WaterHeaterEntityFeature': 4, 'SettingsStoreDataAttributes': 1, 'BrowserStoreDataAttributes': 1, 'ConfigStoreDataAttributes': 1, 'InputBoolean': 2, 'DeviceThermalComfort': 3, 'ComputeState': 45, 'InputButton': 1, 'InputSelect': 1, 'NaTType': 1, 'tzfile': 2, '_ttinfo': 10, 'FreqGroup': 13, 'Resolution': 10, 'CallableDynamicDoc': 4, 'DictWrapper': 1, 'RegisteredOption': 78, 'TimeRE': 2, 'LocaleTime': 2, 'OffsetMeta': 1, '__pyx_scope_struct__apply_index_wraps': 8, '__pyx_scope_struct_1_apply_array_wraps': 8, '__pyx_scope_struct_2_apply_wraps': 16, 'Timedelta': 4, 'Timestamp': 3, '__pyx_scope_struct___op_unary_method': 3, '__pyx_scope_struct_1__binary_op_method_timedeltalike': 4, 'NAType': 1, 'fused_cython_function': 502, '__pyx_scope_struct___create_binary_propagating_op': 22, 'NoDefault': 1, 'ABCBase': 20, 'DeprecatedOption': 2, '_Version': 2, 'CompatValidator': 24, 'disallow': 11, 'bottleneck_switch': 6, 'TagStorageCollection': 1, 'SsdpAdvertisementAnnouncer': 1, 'PsutilWrapper': 1, 'Zone': 1, '_TrackStateChangeFiltered': 6, 'TimerStorageCollection': 1, 'CounterStorageCollection': 1, 'ApplicationCredentialsStorageCollection': 1, 'PyNUTData': 1, 'DateTimeStorageCollection': 1, 'ScheduleStorageCollection': 1, 'InputTextStorageCollection': 1, 'TagIDManager': 1, 'TrackStates': 6, 'PyNUTClient': 1, 'NUTDeviceInfo': 1, 'IDLessCollection': 1, 'Int8Dtype': 1, 'Int16Dtype': 1, 'Int32Dtype': 1, 'Int64Dtype': 1, 'UInt8Dtype': 1, 'UInt16Dtype': 1, 'UInt32Dtype': 1, 'UInt64Dtype': 1, 'Float32Dtype': 1, 'Float64Dtype': 1, 'BusinessDay': 1, 'CachedAccessor': 8, '_IndexSlice': 1, '_Options': 1, 'AxisProperty': 3, '_DeprecationConfig': 4, 'CSSResolver': 1, 'BadLineHandleMethod': 3, '_MainProcess': 1, 'DefaultContext': 1, 'ForkContext': 1, 'SpawnContext': 1, 'ForkServerContext': 1, 'AuthenticationString': 1, 'TypeWithDefault': 2, 'FluxSerializationMode': 3, 'QueryOptions': 2, 'Trampoline': 1, 'PriorityQueue': 1, 'WriteOptions': 4, 'WriteType': 3, 'ThreadPoolScheduler': 1, 'ThreadPoolExecutor': 1, 'PointSettings': 2, 'DeviceState': 4, 'TransportState': 8, 'PlayMode': 8, 'DlnaOrgOp': 3, 'DlnaOrgCi': 2, 'DlnaOrgPs': 2, 'DlnaOrgFlags': 12, 'ContentDirectoryErrorCode': 19, 'Action': 8, 'LogEntry': 18, 'BooleanSelector': 1, 'TextSelector': 4, 'SelectSelector': 3, 'FileSelector': 3, 'NumberSelector': 4, 'DlnaDmsData': 1, 'UpnpFactory': 2, 'CalendarListView': 1, 'CalendarEventView': 1, 'ExistingCountries': 1, 'Subdivisions': 1, 'HistoricCountries': 1, 'Currencies': 1, 'Languages': 1, 'LanguageFamilies': 1, 'Scripts': 1, 'FilterBy': 14, 'Extra': 3, 'IfConfig': 9, 'ConstrainedNumberMeta': 22, 'JsonMeta': 1, 'PaymentCardBrand': 4, 'ModelMetaclass': 120, 'Protocol': 2, 'ClassAttribute': 126, 'ModelField': 1423, 'FieldInfo': 1423, '__pyx_scope_struct_7__generic_validator_basic': 970, 'MediaPlayerImageView': 1, 'Validator': 30, '__pyx_scope_struct_6__generic_validator_cls': 6, 'version_info': 1, '_lazyclassproperty': 7, 'Diagnostics': 13, '_NullToken': 1, 'Empty': 2, 'DebugActions': 211, 'LineStart': 1, 'LineEnd': 3, 'StringStart': 1, 'StringEnd': 1, 'Word': 4, 'FrameSummary': 1, 'Regex': 52, 'MatchFirst': 13, 'Combine': 17, '_SingleCharLiteral': 51, 'SkipTo': 1, 'Literal': 10, '_WordRegex': 11, 'Suppress': 10, 'OpAssoc': 2, 'Opt': 36, 'Dict': 1, 'ZeroOrMore': 5, 'CharsNotIn': 1, 'OneOrMore': 2, 'SensorThermalComfort': 45, 'BrowserModStore': 1, 'InputButtonStorageCollection': 1, 'NotAny': 3, 'ConfigStoreData': 1, 'SettingsStoreData': 6, 'BrowserStoreData': 3, 'White': 1, 'FollowedBy': 1, 'InfluxThread': 1, 'CalendarUserType': 4, 'ParticipationStatus': 6, 'Role': 4, 'Frequency': 4, 'Weekday': 7, 'Classification': 3, 'FreeBusyType': 4, '__pyx_scope_struct_2__add_pydantic_validation_attributes': 6, 'EventStatus': 3, '__pyx_scope_struct_1_make_arbitrary_type_validator': 4, 'JournalStatus': 3, '_TZifVersion': 3, '_ObservanceType': 2, 'TodoStatus': 4, 'RadioBrowser': 1, 'EnergyManager': 1, 'MqttData': 1, 'EntityTopicState': 1, 'NodeKind': 3, 'DigestHashAlgorithm': 2, 'DigestScheme': 1, '_ThreadLocal': 1, 'codes': 62, 'UnsetType': 1, 'Limits': 1, 'CLIENT': 1, 'SERVER': 1, 'IDLE': 1, 'SEND_RESPONSE': 1, 'SEND_BODY': 1, 'DONE': 1, 'MUST_CLOSE': 1, 'CLOSED': 1, 'ERROR': 1, 'MIGHT_SWITCH_PROTOCOL': 1, 'SWITCHED_PROTOCOL': 1, '_SWITCH_UPGRADE': 1, '_SWITCH_CONNECT': 1, 'NEED_DATA': 1, 'PAUSED': 1, 'HTTPConnectionState': 14, '_BooleanConfigOption': 5, 'SettingCodes': 7, 'StreamInputs': 19, 'StreamState': 8, 'StreamClosedBy': 4, 'ConnectionState': 8, 'ConnectionInputs': 20, 'AllowedStreamIDs': 2, 'H2Configuration': 2, 'DummyLogger': 2, 'UseClientDefault': 1, 'ClientState': 3, 'UnprocessedParamType': 1, 'StringParamType': 1, 'IntParamType': 1, 'FloatParamType': 1, 'BoolParamType': 1, 'UUIDParameterType': 1, 'ParameterSource': 5, '_automodule': 1, 'TerminalTheme': 1, 'ColorTriplet': 4, 'Style': 183, 'Color': 20, 'Theme': 1, 'ColorType': 5, 'ColorSystem': 4, '_Bit': 13, 'ControlType': 15, 'Box': 18, 'NoChange': 1, 'NullHighlighter': 1, 'ReprHighlighter': 1, '_TokenType': 79, 'StyleMeta': 1, 'Command': 1, 'Option': 17, 'Argument': 39, 'UDPMode': 3, 'File': 2, 'Tuple': 6, 'MQTTMatcher': 406, 'Node': 2221, 'DataType': 13, 'ModbusControlBlock': 1, 'ModbusCountersHandler': 1, 'ModbusDeviceIdentification': 1, 'ModbusPlusStatistics': 1, 'ConfEntry': 8, 'ENTRY': 12, 'ModbusHub': 2, 'ModbusUdpClient': 1, 'ModbusSocketFramer': 2, 'DictTransactionManager': 2, 'RunEntry': 16, '_params': 2, 'ClientDecoder': 2, 'ModbusTcpClient': 1, 'TriggerInstanceAttributes': 1, 'TriggerAttributes': 1, 'CO2SensorEntityDescription': 2, 'LightGroup': 2, 'BinarySensorTemplate': 2, 'SensorTemplate': 3, '_TemplateAttribute': 5, 'RadioMediaSource': 1, 'SunSensor': 6, 'NUTSensor': 6, 'QuotedString': 2, 'FastPath': 7, 'Lookup': 12, 'FreezableDefaultDict': 24, 'LocalCalendarEntity': 1, 'MqttSensor': 225, 'MqttValueTemplate': 690, 'Calendar': 1, 'EntitySubscription': 462, 'ModbusBinarySensor': 1, 'ModbusRegisterSensor': 153, 'DataUpdateCoordinator': 1, 'InfluxClient': 1, 'InputSelectStorageCollection': 1, 'MQTT': 1, 'InputBooleanStorageCollection': 1, 'SensorManager': 1, 'EnergyCostSensor': 2, 'Subscription': 404, 'CO2Sensor': 2, 'DeviceTracker': 1, 'NumberStorageCollection': 1, 'InputSelectStore': 1, 'MqttCover': 2, 'MetWeather': 1, 'MqttCommandTemplate': 4, 'ModbusSwitch': 3, 'MqttSwitch': 2, 'DmsMediaSource': 1, 'TemplateStateFromEntityId': 11, 'MQTTDiscoveryPayload': 410, 'AMIClient': 1, 'AutoReconnect': 1, 'EventListener': 36, 'GitHubRequestAcceptHeader': 3, 'GitHubClientKwarg': 4, 'GitHubRequestKwarg': 6, 'HttpStatusCode': 20, 'GitHubIssueLockReason': 4, 'HttpMethod': 5, 'HttpContentType': 6, 'DeviceFlowError': 7, 'HacsGitHubRepo': 2, 'HacsCategory': 9, 'HacsDispatchEvent': 8, 'RepositoryFile': 2, 'ConfigurationType': 2, 'LovelaceMode': 4, 'HacsStage': 5, 'HacsDisabledReason': 6, 'RepositoryDataAttributes': 1, 'HacsManifestAttributes': 1, 'HacsCommon': 1, 'HacsConfiguration': 1, 'HacsCore': 1, 'HacsRepositories': 1, 'HacsStatus': 1, 'HacsSystem': 1, '_MissingSentinel': 1, '_EnumValue_ChannelType': 11, '_EnumValue_MessageType': 24, '_EnumValue_VoiceRegion': 23, '_EnumValue_SpeakingState': 4, '_EnumValue_VerificationLevel': 5, '_EnumValue_ContentFilter': 3, '_EnumValue_Status': 5, '_EnumValue_DefaultAvatar': 5, '_EnumValue_NotificationLevel': 2, '_EnumValue_AuditLogActionCategory': 3, '_EnumValue_UserFlags': 18, '_EnumValue_ActivityType': 7, '_EnumValue_TeamMembershipState': 2, '_EnumValue_WebhookType': 3, '_EnumValue_ExpireBehaviour': 2, '_EnumValue_StickerType': 2, '_EnumValue_StickerFormatType': 3, '_EnumValue_InviteTarget': 3, '_EnumValue_InteractionType': 4, '_EnumValue_InteractionResponseType': 6, '_EnumValue_ApplicationCommandType': 3, '_EnumValue_ApplicationCommandOptionType': 10, '_EnumValue_VideoQualityMode': 2, '_EnumValue_ComponentType': 3, '_EnumValue_ButtonStyle': 5, '_EnumValue_StagePrivacyLevel': 2, '_EnumValue_NSFWLevel': 4, '_EnumValue_ScheduledEventEntityType': 3, '_EnumValue_ScheduledEventPrivacyLevel': 1, '_EnumValue_ScheduledEventStatus': 4, '_EnumValue_AuditLogAction': 47, 'flag_value': 90, 'alias_flag_value': 5, 'permission_alias': 5, '_FakeBool': 1, '_cached_property': 6, '_Undefined': 1, 'CachedSlotProperty': 12, '_EmptyEmbed': 1, '_GuildLimit': 5, 'ContextVar': 1, '_WebhookContext': 1, 'AsyncWebhookAdapter': 1, 'MetDataUpdateCoordinator': 1, 'DmsDeviceSource': 1, 'CO2SignalCoordinator': 1, 'EnsureJobAfterCooldown': 1, 'InfluxDBClient': 1, 'MetWeatherData': 2, 'DmsDevice': 1, 'UpnpDevice': 1, 'RequestsCookieJar': 2, 'HTTPAdapter': 4, 'UpnpService': 3, 'DefaultCookiePolicy': 2, 'PoolManager': 4, 'ServiceInfo': 5, 'UpnpStateVariable': 40, 'UpnpAction': 10, 'RecentlyUsedContainer': 4, 'StateVariableInfo': 40, 'ActionInfo': 10, 'StateVariableTypeInfo': 40, 'HTTPConnectionPool': 1, 'ActionArgumentInfo': 38, 'LifoQueue': 2, 'HTTPConnection': 1, 'HacsBase': 1, 'QueueManager': 1, 'HacsData': 1, 'HacsDataClient': 1, 'SchemaFlowFormStep': 4, 'AMIConnected': 1, 'RegisteredSensor': 4, 'Throttle': 1, 'DeviceStateSensor': 4, 'ConnectedLineSensor': 4, 'DTMFSentSensor': 4, 'DTMFReceivedSensor': 4, 'AIOGitHubAPI': 1, 'GitHub': 1, 'GitHubClient': 1, 'GitHubReposNamespace': 1, 'GitHubContentsNamespace': 1, 'GitHubEventsReposNamespace': 1, 'GitHubGitNamespace': 1, 'GitHubIssuesNamespace': 1, 'GitHubPullsNamespace': 1, 'GitHubReleasesNamespace': 1, 'GitHubTrafficNamespace': 1, 'GitHubRepositoryProjectsNamespace': 1, 'GitHubUserNamespace': 1, 'GitHubUserProjectsNamespace': 1, 'GitHubUsersNamespace': 1, 'GitHubUsersProjectsNamespace': 1, 'GitHubOrgsNamespace': 1, 'GitHubOrganizationProjectsNamespace': 1, 'GitHubBaseProjectsNamespace': 1, 'AIOGitHubAPIClient': 1, 'GitHubBaseRequestDataModel': 1, 'AIOGitHubAPIRateLimit': 1, 'BlankCollection': 3, 'WeeklyCollection': 1, 'tzoffset': 1, 'EntitiesCalendarData': 1, 'HacsIntegrationRepository': 915, 'RepositoryData': 1288, 'RepositoryContent': 1288, 'Validate': 1288, 'RepositoryReleases': 1288, 'RepositoryPath': 1288, 'HacsPluginRepository': 293, 'HacsThemeRepository': 77, 'HacsTemplateRepository': 3, 'HacsManifest': 1288, 'StaticResource': 1, 'AdGuardHomeEntityDescription': 8, 'AdGuardHomeSwitchEntityDescription': 6, 'HacsRepositoryUpdateEntity': 19, 'AdGuardHomeSwitch': 6, 'AdGuardHomeSensor': 7, 'EnumType': 15, 'OptionFlags': 8, 'Flags': 53, 'EnumProperty': 6, 'Descriptor': 3, '__pyx_scope_struct_2_flag_property': 88, 'Type': 21, 'ThreadType': 4, 'SkipType': 7, 'Flags2': 11, 'Colorspace': 4, 'Properties': 7, 'Capabilities': 23, 'FilterFlags': 5, 'ForecastSolarSensorEntityDescription': 11, 'AccountType': 3, 'HlsPlaylistView': 1, 'HlsSegmentView': 1, 'HlsInitView': 1, 'HlsMasterPlaylistView': 1, 'HlsPartView': 1, 'WebsocketWrapper': 1, 'GenericCamera': 2, 'TTLCache': 1, '_Timer': 1, '_Link': 3, 'SSLSocket': 3, 'LightCapability': 10, 'Live': 3, 'NightlightMode': 4, '_DefaultSize': 1, 'WLEDDataUpdateCoordinator': 2, 'WLED': 2, 'MessageKey': 21, 'ItemEvent': 3, 'EventKey': 71, 'WebsocketSignal': 2, 'WebsocketState': 4, 'UnifiWirelessClients': 1, 'ns': 17, 'TariffSelect': 3, 'UtilityMeterSensor': 8, 'ResponseHandler': 6, 'ForecastSolarSensorEntity': 8, 'LGHorizonSensor': 1, 'Effect': 236, 'WLEDNumberEntityDescription': 2, 'WLEDSensorEntityDescription': 10, 'WLEDRestartButton': 2, 'WLEDUpdateEntity': 2, 'WLEDSensorEntity': 8, 'FlowControlDataQueue': 7, 'WebSocketReader': 7, 'ClientWebSocketResponse': 3, 'WebSocketWriter': 7, 'WLEDUpdateBinarySensor': 1, 'WLEDSegmentLight': 18, 'WLEDNumber': 36, 'WLEDLiveOverrideSelect': 2, 'WLEDPlaylistSelect': 2, 'WLEDPresetSelect': 2, 'WLEDNightlightSwitch': 2, 'WLEDReverseSwitch': 18, 'AdGuardHome': 1, 'GarbageCollectionCalendar': 1, 'LGHorizonMqttClient': 1, 'ForecastSolarDataUpdateCoordinator': 1, 'LGHorizonApi': 1, 'LGHorizonMediaPlayer': 2, 'AdGuardHomeParental': 1, 'AdGuardHomeQueryLog': 1, 'AdGuardHomeSafeBrowsing': 1, 'AdGuardHomeSafeSearch': 1, 'AdGuardHomeStats': 1, 'LGHorizonAuth': 1, 'ForecastSolar': 1, 'LGHorizonCustomer': 1, 'LGHorizonBox': 2, 'LGHorizonChannel': 233, 'LGHorizonPlayingInfo': 2, 'Cookie': 2, 'HTTPSConnectionPool': 1, 'HTTPSConnection': 1, 'WLEDMasterLight': 1, 'WLEDPaletteSelect': 17, 'WLEDSyncSendSwitch': 1, 'WLEDSyncReceiveSwitch': 1, 'Morsel': 2, 'UnifiTrackerEntityDescription': 2, 'UnifiSensorEntityDescription': 4, 'UnifiSwitchEntityDescription': 4, 'UnifiUpdateEntityDescription': 1, 'UnifiDeviceUpdateEntity': 3, 'UniFiController': 1, 'UnifiScannerEntity': 10, 'ENGINE_TYPES': 4, 'VEHICLE_LOCK_ACTION': 2, 'CHARGE_PORT_ACTION': 2, 'OrderStatus': 4, 'SelectorList': 189, 'Selector': 136, 'SelectorTag': 69, 'SelectorPattern': 15, 'SelectorAttribute': 77, 'SelectorNth': 1, 'SpecialPseudoPattern': 1, 'TreeBuilderRegistry': 1, 'HTMLFormatter': 4, 'XMLFormatter': 2, 'Trie': 1, 'tuple_iterator': 1, '_ImmutableMapping': 1, '_RotatingErrorLog': 1, 'ParserBasedElementClassLookup': 1, '_ParserDictionaryContext': 1, 'XMLParser': 1, '_ResolverRegistry': 2, 'HTMLParser': 1, 'XPath': 1, '_ErrorLog': 1, '_XPathContext': 1, '_ExceptionContext': 1, '_TempStore': 1, '_ExsltRegExp': 1, 'HyundaiKiaConnectDataUpdateCoordinator': 1, 'SpeechManager': 1, 'Tokenizer': 1, 'HTML5PushRegistrationView': 1, 'HTML5PushCallbackView': 1, 'TextToSpeechView': 1, 'TextToSpeechUrlView': 1, 'Counter': 5, 'GoogleProvider': 1, 'StatusCode': 2, 'TTSMediaSource': 1, 'HTML5NotificationService': 1, 'DiscordNotificationService': 1, 'PipelineData': 1, 'PipelineStorageCollectionWebsocket': 1, 'WeakMethod': 1, 'DlnaDmrData': 1, 'MobileAppNotificationService': 1, 'AutomationEntity': 33, 'DlnaDmrEntity': 1, 'Script': 39, 'EventListenAddr': 1, 'RegistrationsView': 1, 'ScriptVariables': 18, 'MobileAppSensor': 19, 'MobileAppBinarySensor': 1, 'ReloadServiceHelper': 1, 'MobileAppEntity': 1, 'HyundaiKiaBinarySensorEntityDescription': 29, 'NumberEntityDescription': 2, 'HyundaiKiaConnectBinarySensor': 20, 'Vehicle': 1, 'HyundaiKiaConnectSensor': 18, 'VehicleEntity': 1, 'HyundaiKiaConnectTracker': 1, 'HyundaiKiaConnectLock': 1, 'HyundaiKiaConnectNumber': 2, 'JSMPEGProxyView': 1, 'MSEProxyView': 1, 'WebRTCProxyView': 1, 'NotificationsProxyView': 1, 'SnapshotsProxyView': 1, 'RecordingProxyView': 1, 'ThumbnailsProxyView': 1, 'VodProxyView': 1, 'VodSegmentProxyView': 1, '_DeprecatedParam': 1, 'FrigateDataUpdateCoordinator': 1, 'FrigateApiClient': 1, 'Presentation': 102, 'SetReq': 144, 'Internal': 125, 'Stream': 11, 'BLEConnectionError': 10, 'DescriptorPool': 1, 'DescriptorMetaclass': 10, 'SymbolDatabase': 1, 'MessageMeta': 133, 'EnumTypeWrapper': 25, 'LegacyCoverState': 2, 'LegacyCoverCommand': 3, 'CoverOperation': 3, 'FanSpeed': 3, 'FanDirection': 2, 'LightColorCapability': 14, 'LastResetType': 3, 'ClimateMode': 7, 'ClimateFanMode': 10, 'ClimateSwingMode': 4, 'ClimateAction': 6, 'ClimatePreset': 8, 'UserServiceArgType': 8, 'LockState': 5, 'LockCommand': 3, 'MediaPlayerCommand': 5, 'BluetoothDeviceRequestType': 7, 'LogLevel': 8, 'VoiceAssistantEventType': 9, 'DefaultNoiseBackend': 1, 'PingRequest': 1, 'PingResponse': 1, 'Keypair': 4, 'NoiseConnectionState': 4, 'EsphomeEnumMapper': 4, 'BLEGAPType': 33, 'ServiceMetadata': 8, 'SelectEntityDescription': 1, 'DomainData': 1, 'MySensorsBinarySensorDescription': 8, 'CoverState': 4, 'ChromecastInfoAttributes': 1, 'BinarySensorEntityDescription': 1, 'CastBrowser': 1, 'HostBrowser': 1, 'ZeroConfListener': 1, 'ServiceBrowser': 1, 'HostStatus': 1, 'MySensorsBinarySensor': 21, 'MySensorsSwitch': 22, 'MySensorsSensor': 20, 'SocketClient': 1, 'ReceiverController': 1, 'MediaController': 1, 'HeartbeatController': 1, 'MediaStatus': 1, 'ConnectionController': 1, 'MultizoneManager': 1, 'CastStatusListener': 1, 'FrigateContainerUpdate': 1, 'FrigateMediaSource': 1, 'IdentifierAttributes': 1, 'FrigateMediaType': 2, 'EventIdentifierAttributes': 1, 'EventSearchIdentifierAttributes': 1, 'RecordingIdentifierAttributes': 1, 'EventSummaryDataAttributes': 1, '_AndValidator': 14, 'AdGuardHomeFiltering': 1, 'Devices': 1, 'Clients': 1, 'Ports': 1, 'DPIRestrictionGroups': 1, 'Outlets': 1, 'Controller': 1, 'EventHandler': 1, 'VehicleManager': 1, 'PipelineStorageCollection': 1, 'AsyncTCPGateway': 1, 'CastListener': 1, 'CastMediaPlayerEntity': 1, 'Chromecast': 1, 'FrigateFpsSensor': 1, 'DetectorSpeedSensor': 1, 'CameraFpsSensor': 20, 'FrigateObjectCountSensor': 20, 'FrigateCamera': 5, 'FrigateMqttSnapshots': 10, 'FrigateSwitch': 15, 'FrigateObjectOccupancySensor': 25, 'FrigateMotionSensor': 5, 'WebClient': 1, 'WSClient': 1, 'MessageHandler': 1, 'ClientsAll': 1, 'DPIRestrictionApps': 1, 'Wlans': 1, 'KiaUvoApiEU': 1, 'Token': 75, 'AsyncTasks': 1, 'CastInfo': 2, 'AsyncTCPMySensorsProtocol': 1, 'DPIRestrictionGroup': 1, 'Pipeline': 1, 'Sensor': 13, 'StreamReader': 3, 'OTAFirmware': 1, 'Persistence': 1, 'AsyncTransport': 1, 'Wlan': 2, 'ClientConnectionError': 1, 'ChildSensor': 42, 'ChromecastInfo': 1, 'TemplateState': 656, 'DomainStates': 1, 'TrackTemplateResultInfo': 5, 'KeyedRateLimit': 5, 'TrackTemplate': 5, 'RenderInfo': 5, 'RemovedRepository': 212, 'DADict': 4, 'CompileMissingStatisticsTask': 1, 'DynamicStreamSettings': 17, 'KeyFrameConverter': 2, 'TurboJPEG': 1, 'EtherDA': 1, 'HlsStreamOutput': 1, 'IdleTimer': 1, 'InputContainer': 1, 'ManufDA': 1, 'OSError': 1, 'TriggerInstance': 1, 'PcapReader_metaclass': 4, 'ERFEthernetReader_metaclass': 1, 'RandNumExpo': 2, 'NetworkInterfaceDict': 1, 'Field_metaclass': 137, 'Packet_metaclass': 155, 'StrField': 16, '_SuperSocket_metaclass': 13, 'ModelType': 19, 'EventType': 52, 'StateType': 3, 'ProtectWSPayloadFormat': 3, 'SmartDetectObjectType': 10, 'SmartDetectAudioType': 3, 'DoorbellMessageType': 3, 'LightModeEnableType': 3, 'LightModeType': 4, 'VideoMode': 4, 'RecordingMode': 3, 'AnalyticsOption': 3, 'RecordingType': 3, 'ResolutionStorageType': 3, 'IRLEDMode': 5, 'MountType': 5, 'SensorStatusType': 5, 'SleepStateType': 5, 'AutoExposureMode': 5, 'FocusMode': 4, 'MountPosition': 3, 'GeofencingSetting': 2, 'MotionAlgorithm': 2, 'LowMedHigh': 3, 'StorageType': 5, 'FirmwareReleaseChannel': 5, 'ChimeType': 3, 'LockStatusType': 12, 'PermissionNode': 6, 'LensType': 4, 'WSAction': 3, 'ModelPrivateAttr': 22, 'Route': 1, 'NetworkInterface': 21, 'FlagValue': 33, 'ReferenceAM': 6, 'PacketList': 2, 'SndRcvList': 1, 'Neighbor': 1, 'CacheInstance': 2, 'XShortEnumField': 9, 'SourceMACField': 3, 'DestMACField': 2, 'LenField': 1, 'ByteField': 145, 'XByteField': 3, 'StrFixedLenField': 17, 'ShortField': 55, 'XShortField': 54, 'ShortEnumField': 16, 'ByteEnumField': 94, 'IntField': 34, 'FCSField': 1, 'OUIField': 1, 'BitField': 76, 'BCDFloatField': 4, 'MACField': 6, 'StrLenField': 19, 'FieldLenField': 29, 'ConditionalField': 18, 'LoIntEnumField': 1, 'XIntField': 11, '_Generic_metaclass': 1, 'Automaton_metaclass': 2, 'AS_resolver_multi': 1, 'AS_resolver_cymru': 1, 'AS_resolver_radb': 1, 'BitEnumField': 23, 'FieldListField': 2, 'IPField': 55, 'PacketListField': 3, 'Emph': 2, 'FlagsField': 8, 'TCPOptionsField': 1, 'DestIPField': 1, 'SourceIPField': 2, 'RandShort': 2, '_ATMT_to_supersocket': 1, '_TimerList': 7, 'Timer': 2, 'Route6': 1, 'MultipleTypeField': 5, 'MultiEnumField': 1, 'ICMPTimeStampField': 3, 'IP6Field': 21, 'SourceIP6Field': 2, 'DestIP6Field': 1, '_OTypeField': 6, '_OptionsField': 8, '_PhantomAutoPadField': 7, 'IP6ListField': 7, 'X3BytesField': 2, 'TruncPktLenField': 1, '_IP6PrefixField': 1, 'DomainNameListField': 1, 'NIQueryDataField': 1, 'NonceField': 2, 'NIQueryCodeField': 1, 'RandBin': 2, 'XBitField': 6, 'NTPTimestampField': 1, 'LifetimeField': 1, '_DHCPParamReqFieldListField': 1, 'ClasslessFieldListField': 1, 'ClasslessStaticRoutesField': 1, 'StrEnumField': 1, '_BOOTP_chaddr': 1, 'DHCPOptionsField': 1, 'AS_resolver6': 1, 'Net': 1, '__pyx_scope_struct__make_literal_validator': 5, 'NIReplyDataField': 1, 'DefaultSession': 1, 'L2ListenSocket': 1, 'ObjectPipe': 1, 'UnifiService': 1, 'ESPHomeDashboard': 1, 'ESPHomeDashboardAPI': 1, 'FixSizeOrderedDict': 1, 'EntryPoint': 500, 'PathDistribution': 198, 'Symbol': 1, 'Lark': 1, 'LarkOptions': 1, 'Grammar': 2, 'Tree': 263, 'LexerConf': 2, 'ParseTreeBuilder': 1, 'ExpandSingleChild': 15, 'ChildFilterLALR_NoPlaceholders': 48, 'LALR_ContextualLexer': 1, 'Rule': 114, 'TerminalDef': 48, 'NonTerminal': 197, 'RuleOptions': 45, 'Terminal': 112, 'PatternStr': 18, 'PatternRE': 30, 'ContextualLexer': 1, 'TraditionalLexer': 19, 'StreamContainer': 4, 'VideoStream': 1, 'VideoCodecContext': 6, 'TimestampValidator': 1, 'PeekIterator': 1, 'StreamMuxer': 1, 'Reconstructor': 1, 'GrammarLoader': 1, 'Meta': 263, 'LALR_Parser': 2, 'filter': 1, 'closing': 2, 'VideoFormat': 4, 'LALR_TraditionalLexer': 1, 'CanonizeTree': 1, 'IntParseTable': 2, 'ParserConf': 3, '_Parser': 2, '__pyx_scope_struct__demux': 1, 'VideoFormatComponent': 12, 'Parser': 1, 'WriteTokensTransformer': 1, 'MakeMatchTree': 31, 'SelectableGroups': 1, 'EntryPoints': 31, 'NlaMapAdapter': 6, 'AddrPool': 3, 'HAP_TLV': 27, '_HapBleStatusCodes': 1, 'TestLoader': 1, 'HapStatusCode': 13, '_BleCharacteristicFormats': 1, 'Categories': 33, 'CurrentMediaStateValues': 3, 'TargetMediaStateValues': 3, 'RemoteKeyValues': 13, 'InputEventValues': 3, 'HeatingCoolingCurrentValues': 3, 'HeatingCoolingTargetValues': 4, 'InUseValues': 2, 'IsConfiguredValues': 2, 'ProgramModeValues': 3, 'ValveTypeValues': 4, 'ActivationStateValues': 2, 'SwingModeValues': 2, 'CurrentHeaterCoolerStateValues': 4, 'TargetHeaterCoolerStateValues': 3, 'StreamingStatusValues': 3, 'SessionControlCommandValues': 5, 'VideoCodecTypeValues': 1, 'ProfileIDValues': 3, 'ProfileSupportLevelValues': 3, 'PacketizationModeValues': 1, 'CVOEnabledValues': 2, 'AudioCodecValues': 4, 'BitRateValues': 2, 'SampleRateValues': 3, 'SRTPCryptoSuiteValues': 3, 'ThreadNodeCapabilities': 5, 'ThreadStatus': 7, '_SentinelObject': 3, '_ANY': 1, '_Call': 1, 'FeatureFlags': 2, 'TransportTuning': 1, 'ExtensibleEnumMeta': 4, 'Code': 40, 'Transport': 3, 'StatusFlags': 3, 'ContentFormat': 62, '_MediaTypes': 1, '_MediaTypesRev': 1, 'OptionNumber': 28, 'Sentinel': 1, 'TransportType': 3, 'MeshcopTLVType': 40, 'ConnectionMode': 5, 'ThreadInterfaceStatus': 3, 'Availability': 2, 'SQLSchema': 31, 'check_auth': 32, 'DBProvider': 2, 'LinkModeBit': 69, 'RuntimeEntryData': 3, 'APIClient': 3, 'ConnectionParams': 3, 'APIConnection': 3, 'EsphomeBinarySensor': 54, 'EsphomeSwitch': 3, 'MockLink': 3, 'MockAddress': 3, 'MockRoute': 10, 'ReconnectLogic': 3, 'MetaPopen': 1, 'PyRoute2ModuleFinder': 1, 'APIPlaintextFrameHelper': 3, 'APIVersion': 3, 'FastName': 254, 'ESPHomeUpdateEntity': 3, 'BinarySensorInfo': 54, 'SwitchInfo': 3, 'BinarySensorState': 54, 'SwitchState': 3, 'SensorInfo': 7, 'TextSensorInfo': 1, 'TextSensorState': 1, 'LimitedSizeDict': 18, 'AutomationTrace': 39, 'TraceElement': 155, 'MediaPlayerInfo': 1, 'LightInfo': 65, 'LightState': 65, 'MediaPlayerEntityState': 1, 'AlertUpdateCoordinator': 1, 'LinuxInterfaceProvider': 1, 'AsyncSniffer': 1, 'OutputContainer': 3, 'EsphomeSensor': 7, 'EsphomeTextSensor': 1, 'EsphomeMediaPlayer': 1, 'EsphomeLight': 65, 'DHCPWatcher': 1, 'PyIOFile': 3, 'BytesIO': 3, '_SentinelColumnCharacterization': 5, '_InsertManyValues': 5, 'NoPayload': 1, '_RawColumnEntity': 6, 'Data': 1, 'NetworkWatcher': 1, 'DiscoverHosts': 1, 'IPRoute': 1, '_ORMJoin': 4, 'LockFactory': 1, 'MarshalRtnl': 1, 'EngineThreadSafe': 1, 'NetlinkProxy': 1, 'CompoundSelect': 12, 'AnnotatedColumnClause': 18, 'LockProxy': 1, 'BrowserModBrowser': 2, 'Coordinator': 2, 'BrowserSensor': 14, 'BrowserBinarySensor': 6, 'ActivityBinarySensor': 2, 'BrowserModLight': 2, 'BrowserModPlayer': 2, 'LinkedLambdaElement': 17, 'WebSocketHandler': 4, 'WebSocketAdapter': 4, 'suppress': 5, 'AuthPhase': 4, 'ActiveConnection': 4, 'CastStatus': 1, 'WebSocketResponse': 4, '_ConnectionRecord': 5, 'connection': 5, 'RestoredTrace': 45, 'AnnotatedAlias': 2, 'CompoundSelectState': 1, 'CTE': 2, 'LambdaElement': 2, 'Ratelimit': 1, 'Estimate': 1, 'PoolKey': 2, 'HTTPResponse': 2, 'HTTPMessage': 2, 'DailyDrivingStats': 30, 'UpdateFailed': 1, 'FrigateApiClientError': 1, 'TimeoutError': 1, 'CancelledError': 1, 'VideoFrame': 1, 'WeakInstanceDict': 5, 'ServerDisconnectedError': 1, 'Ether': 1, 'IP': 1, 'UDP': 1, 'BOOTP': 1, 'DHCP': 1, '_ScriptRun': 2, 'StopReason': 1, 'enumerate': 2, '_AsyncGeneratorContextManager': 2, 'async_generator': 2, 'LogRecord': 1, 'Segment': 667, 'CalendarEvent': 1, '_ConnectionFairy': 1, '_WorkItem': 1, 'JoinedConnectionEventsDispatch': 1, 'RootTransaction': 1, 'Preset': 25, 'Playlist': 1, 'Info': 2, 'Filesystem': 2, 'Leds': 2, 'Wifi': 2, 'Nightlight': 2, 'Sync': 2, 'PlaylistEntry': 14, 'Telnet': 1, 'ServiceCall': 1, '_WSRequestContextManager': 1}
2023-05-15 13:19:37.836 CRITICAL (SyncWorker_8) [homeassistant.components.profiler] New object dict (96889/97081) at ["Failed to serialize <class 'list'>", "{'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'unit_of_measurement': 'V', 'device_class': 'voltage', 'icon': 'mdi:flash-outline', 'friendly_name': 'gosund_sp111 - Volt'}"]: {'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'unit_of_measurement': 'V', 'device_class': 'voltage', 'icon': 'mdi:flash-outline', 'friendly_name': 'gosund_sp111 - Volt'}
2023-05-15 13:19:38.846 CRITICAL (SyncWorker_8) [homeassistant.components.profiler] New objects overflowed by {'Context': 1337, 'dict': 1434, 'list': 245, 'cell': 1283, 'tuple': 1120, 'frame': 1144, 'Task': 361, 'ReferenceType': 763, 'builtin_function_or_method': 1100, 'method': 490, 'function': 602, 'TimerHandle': 278, 'coroutine': 1463, 'Future': 432, 'MQTTMessage': 6, 'MQTTMessageInfo': 5, 'Condition': 10, 'RLock': 10, 'deque': 17, 'States': 23, 'SaveUpdateState': 20, 'ProcessState': 8, 'generator': 9, 'defaultdict': 2, '_InsertManyValuesBatch': 1, 'FutureIter': 259, '_WorkItem': 4, 'Timeout': 12, 'ConnectionKey': 4, '_TransportPlaceholder': 2, '_GatheringFuture': 4, 'Handle': 71, 'Delete': 1, 'BooleanClauseList': 1, 'BinaryExpression': 1, 'module': 34, 'HassLogger': 8, 'type': 35, '_UnionGenericAlias': 12, 'Pattern': 6, 'builtin_method': 14, 'FileFinder': 3, 'PlaceHolder': 2, '_GenericAlias': 5, 'SourceFileLoader': 34, 'ModuleSpec': 34, 'getset_descriptor': 20, 'staticmethod': 25, 'property': 15, 'PosixPath': 2, 'partial': 2, 'classmethod': 4, 'LogEntry': 2, 'TemplateState': 2, 'StreamReader': 2, 'CursorResultMetaData': 1, 'SimpleResultMetaData': 1, 'itemgetter': 1}
2023-05-15 13:20:04.324 CRITICAL (SyncWorker_2) [homeassistant.components.profiler] New object method (90857/91001) at /usr/local/lib/python3.10/site-packages/influxdb/client.py: <bound method InfluxDBClient.write_points of <influxdb.client.InfluxDBClient object at 0x7fcd1b9dec80>>
2023-05-15 13:20:05.410 CRITICAL (SyncWorker_2) [homeassistant.components.profiler] New objects overflowed by {'method': 274, 'dict': 1192, 'Request': 1, 'list': 188, 'RLock': 10, 'OrderedDict': 3, 'Context': 765, 'frame': 779, 'WSMessage': 4, 'RawRequestMessage': 2, 'builtin_function_or_method': 450, 'Future': 229, 'coroutine': 614, 'FutureIter': 156, 'ReferenceType': 236, 'Task': 135, 'HassJob': 13, '_FilterableJob': 14, 'MQTTMessage': 6, 'MQTTMessageInfo': 6, 'deque': 16, 'TaskStepMethWrapper': 1, 'SocketIO': 1, 'BufferedReader': 1, 'ReadInputRegistersResponse': 1, 'TemplateState': 1, 'HomeAssistantRequest': 1, 'SplitResult': 12, 'CancelOnDisconnectRequestHandler': 3, 'KeyedRef': 3, 'SelectorKey': 3, 'HttpRequestParser': 2, 'HomeAssistantAccessLogger': 2, '_SSLProtocolTransport': 1, 'SSLProtocol': 2, '_SelectorSocketTransport': 2, 'SSLObject': 2, 'MemoryBIO': 5, 'TransportSocket': 3, 'socket': 1, 'WebSocketReader': 1, 'hamt': 2, 'StreamWriter': 1, 'FlowControlDataQueue': 1, 'WebSocketHandler': 1, 'hamt_bitmap_node': 2, 'ActiveConnection': 1, 'partial': 6, 'AuthPhase': 1}
2023-05-15 13:20:41.375 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] New object Context (170031/170268) at ["Failed to serialize <class 'list'>", '<homeassistant.core.Context object at 0x7fcd05559880>']: <homeassistant.core.Context object at 0x7fcd05559880>
2023-05-15 13:20:42.344 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] New objects overflowed by {'Context': 855, 'traceback': 15, 'frame': 897, 'coroutine': 887, 'Task': 221, 'ReferenceType': 261, 'builtin_function_or_method': 534, 'method': 273, 'Future': 275, 'FutureIter': 191, 'SplitResult': 15, 'URL': 5, 'ReadInputRegistersRequest': 1, 'RawRequestMessage': 3, 'CIMultiDictProxy': 3, 'StreamWriter': 3, 'HomeAssistantRequest': 2, 'CancelOnDisconnectRequestHandler': 1, 'HttpRequestParser': 1, 'HomeAssistantAccessLogger': 1, '_SSLProtocolTransport': 1, 'KeyedRef': 1, 'SSLProtocol': 1, '_SelectorSocketTransport': 1, 'UrlMappingMatchInfo': 3, '_SSLPipe': 1, 'MemoryBIO': 2, 'SSLObject': 1, 'SelectorKey': 2, 'HTTPNotFound': 1, '_SSLSocket': 1, 'FileNotFoundError': 1, 'partial': 6, 'PosixPath': 3, 'socket': 1, 'TransportSocket': 1, 'FileResponse': 1, 'slice': 1, 'ETag': 1, 'hamt': 1, 'hamt_bitmap_node': 1, 'TemplateState': 3, 'suppress': 1}
2023-05-15 13:21:10.382 CRITICAL (SyncWorker_5) [homeassistant.components.profiler] New object tuple (100836/100842) at ["Failed to serialize <class 'list'>", '(1024,)']: (1024,)
2023-05-15 13:21:11.275 CRITICAL (SyncWorker_5) [homeassistant.components.profiler] New objects overflowed by {'method': 334, 'list': 389, 'tuple': 1008, 'Context': 912, 'frame': 915, 'dict': 1216, 'set': 116, 'History': 18, 'SaveUpdateState': 34, 'ReferenceType': 293, 'builtin_function_or_method': 518, 'deque': 41, 'coroutine': 839, 'Future': 271, 'FutureIter': 199, 'traceback': 20, 'WSMessage': 8, 'State': 159, 'Task': 223, 'KeyedRef': 18, 'SelectorKey': 17, '_SelectorSocketTransport': 14, 'CancelOnDisconnectRequestHandler': 3, 'HttpRequestParser': 2, 'AccessLogger': 1, 'TransportSocket': 17, 'socket': 15, 'URL': 4, 'CIMultiDict': 32, 'SplitResult': 23, 'Response': 1, 'RawRequestMessage': 2, 'StreamWriter': 3, 'CIMultiDictProxy': 4, 'SimpleCookie': 8, 'UrlMappingMatchInfo': 3, '_SSLProtocolTransport': 2, 'HomeAssistantAccessLogger': 2, 'StreamReader': 14, 'HomeAssistantRequest': 1, 'PayloadAccessError': 3, 'SSLProtocol': 1, '_SSLPipe': 2, 'SSLObject': 1, 'MemoryBIO': 2, '_SSLSocket': 1, 'States': 35, 'InstanceState': 33, 'ResponseHandler': 13, 'HttpResponseParser': 16, 'TimerContext': 11}
2023-05-15 13:21:41.466 CRITICAL (SyncWorker_10) [homeassistant.components.profiler] New object Condition (69/73) at ["Failed to serialize <class 'list'>", '<Condition(<unlocked _thread.RLock object owner=0 count=0 at 0x7fcd049496c0>, 0)>']: <Condition(<unlocked _thread.RLock object owner=0 count=0 at 0x7fcd049496c0>, 0)>
2023-05-15 13:21:42.430 CRITICAL (SyncWorker_10) [homeassistant.components.profiler] New objects overflowed by {'RLock': 9, 'builtin_function_or_method': 543, 'Context': 766, 'frame': 904, 'Task': 213, 'ReferenceType': 245, 'method': 274, 'MQTTMessage': 4, 'MQTTMessageInfo': 10, 'Condition': 8, 'Future': 267, 'FutureIter': 200, 'coroutine': 829, 'Pattern': 1, 'TemplateState': 1, 'DNSPointer': 2, 'DNSService': 1}
2023-05-15 13:22:04.137 CRITICAL (SyncWorker_5) [homeassistant.components.profiler] New object frame (334206/334967) at /usr/src/homeassistant/homeassistant/helpers/update_coordinator.py: <frame at 0x7fccf94b7a40, file '/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py', line 204, code _handle_refresh_interval>
2023-05-15 13:22:04.963 CRITICAL (SyncWorker_5) [homeassistant.components.profiler] New objects overflowed by {'Task': 234, 'Context': 845, 'ReferenceType': 276, 'builtin_function_or_method': 507, 'method': 283, 'frame': 941, 'Timeout': 12, 'coroutine': 867, 'Future': 268, 'FutureIter': 223, 'TemplateState': 1, 'DNSAddress': 2, 'Request': 1}
2023-05-15 13:22:34.608 CRITICAL (SyncWorker_8) [homeassistant.components.profiler] New object method (91765/91932) at /usr/local/lib/python3.10/site-packages/influxdb/client.py: <bound method InfluxDBClient._write_points of <influxdb.client.InfluxDBClient object at 0x7fcd1b9dec80>>
2023-05-15 13:22:35.602 CRITICAL (SyncWorker_8) [homeassistant.components.profiler] New objects overflowed by {'method': 285, 'builtin_function_or_method': 516, 'Context': 807, 'frame': 822, 'State': 103, 'coroutine': 850, 'Future': 271, 'FutureIter': 172, 'Task': 204, 'ReferenceType': 269, 'DNSAddress': 1}
2023-05-15 13:23:11.218 CRITICAL (SyncWorker_9) [homeassistant.components.profiler] New object builtin_function_or_method (178164/178518) at ["Failed to serialize <class 'list'>", '<built-in method acquire of _thread.RLock object at 0x7fccf8cb6480>']: <built-in method acquire of _thread.RLock object at 0x7fccf8cb6480>
2023-05-15 13:23:12.037 CRITICAL (SyncWorker_9) [homeassistant.components.profiler] New objects overflowed by {'builtin_function_or_method': 504, 'coroutine': 791, 'Task': 221, 'Context': 851, 'frame': 861, 'method': 257, 'ReferenceType': 251, 'Action': 1, 'FutureResponse': 1, 'Future': 252, 'FutureIter': 200, 'TemplateState': 2}
2023-05-15 13:23:41.373 CRITICAL (SyncWorker_5) [homeassistant.components.profiler] New object builtin_function_or_method (178518/178891) at ["Failed to serialize <class 'list'>", '<built-in method _release_save of _thread.RLock object at 0x7fccf7c25cc0>']: <built-in method _release_save of _thread.RLock object at 0x7fccf7c25cc0>
2023-05-15 13:23:42.404 CRITICAL (SyncWorker_5) [homeassistant.components.profiler] New objects overflowed by {'builtin_function_or_method': 505, 'method': 315, 'Context': 822, 'Task': 220, 'ReferenceType': 282, 'Future': 266, 'coroutine': 863, 'frame': 895, 'FutureIter': 202, 'States': 41, 'InstanceState': 25}
2023-05-15 13:24:11.229 CRITICAL (SyncWorker_6) [homeassistant.components.profiler] New object builtin_function_or_method (178891/179296) at ["Failed to serialize <class 'list'>", '<built-in method acquire of _thread.RLock object at 0x7fccee119d00>']: <built-in method acquire of _thread.RLock object at 0x7fccee119d00>
2023-05-15 13:24:12.295 CRITICAL (SyncWorker_6) [homeassistant.components.profiler] New objects overflowed by {'builtin_function_or_method': 536, 'method': 254, 'Context': 869, 'ReferenceType': 248, 'ReadOnlyDict': 392, 'Task': 224, 'coroutine': 900, 'frame': 902, 'Future': 262, 'FutureIter': 188, 'TemplateState': 1}
2023-05-15 13:24:40.510 CRITICAL (SyncWorker_7) [homeassistant.components.profiler] New object Ether (1/2) at ["Failed to serialize <class 'list'>", "<Ether  dst=ff:ff:ff:ff:ff:ff src=dc:4f:22:75:da:f4 type=IPv4 |<IP  version=4 ihl=5 tos=0x0 len=336 id=0 flags= frag=0 ttl=255 proto=udp chksum=0xba9d src=0.0.0.0 dst=255.255.255.255 |<UDP  sport=bootpc dport=bootps len=316 chksum=0xe2a0 |<BOOTP  op=BOOTREQUEST htype=Ethernet (10Mb) hlen=6 hops=0 xid=0x8ed1d21d secs=0 flags= ciaddr=0.0.0.0 yiaddr=0.0.0.0 siaddr=0.0.0.0 giaddr=0.0.0.0 chaddr=dc:4f:22:75:da:f4 (+ 10 nul pad) sname='' file='' options=b'c\\x82Sc' (DHCP magic) |<DHCP  options=[message-type=discover max_dhcp_size=1500 param_req_list=[1, 3, 28, 6, 42] end pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad] |>>>>>"]: <Ether  dst=ff:ff:ff:ff:ff:ff src=dc:4f:22:75:da:f4 type=IPv4 |<IP  version=4 ihl=5 tos=0x0 len=336 id=0 flags= frag=0 ttl=255 proto=udp chksum=0xba9d src=0.0.0.0 dst=255.255.255.255 |<UDP  sport=bootpc dport=bootps len=316 chksum=0xe2a0 |<BOOTP  op=BOOTREQUEST htype=Ethernet (10Mb) hlen=6 hops=0 xid=0x8ed1d21d secs=0 flags= ciaddr=0.0.0.0 yiaddr=0.0.0.0 siaddr=0.0.0.0 giaddr=0.0.0.0 chaddr=dc:4f:22:75:da:f4 (+ 10 nul pad) sname='' file='' options=b'c\x82Sc' (DHCP magic) |<DHCP  options=[message-type=discover max_dhcp_size=1500 param_req_list=[1, 3, 28, 6, 42] end pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad pad] |>>>>>
2023-05-15 13:24:41.536 CRITICAL (SyncWorker_7) [homeassistant.components.profiler] New objects overflowed by {'IP': 1, 'FlagValue': 2, 'UDP': 1, 'BOOTP': 1, 'DHCP': 1, 'builtin_function_or_method': 514, 'method': 300, 'Context': 852, 'State': 102, 'ReadOnlyDict': 328, 'Future': 267, 'coroutine': 871, 'frame': 893, 'FutureIter': 190, 'Task': 223, 'ReferenceType': 270}
2023-05-15 13:25:10.561 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] New object tuple (100842/100907) at ["Failed to serialize <class 'list'>", '(1024,)']: (1024,)
2023-05-15 13:25:11.827 CRITICAL (SyncWorker_3) [homeassistant.components.profiler] New objects overflowed by {'tuple': 1015, 'Coerce': 3, 'All': 2, 'In': 1, 'Object': 2, 'Schema': 2, 'set': 118, 'function': 317, 'method': 325, 'Task': 224, 'ReferenceType': 284, 'builtin_function_or_method': 510, 'Context': 881, 'frame': 893, 'CaseInsensitiveDict': 3, 'OrderedDict': 4, 'History': 28, 'coroutine': 916, 'Future': 262, 'FutureIter': 203, 'TemplateState': 1, 'States': 36, 'SaveUpdateState': 46, 'ProcessState': 5}
2023-05-15 13:25:34.162 CRITICAL (SyncWorker_9) [homeassistant.components.profiler] New object method (92895/93071) at /usr/local/lib/python3.10/site-packages/pychromecast/socket_client.py: <bound method SocketClient.run_once of <SocketClient(Thread-8, started daemon 140518617475888)>>
2023-05-15 13:25:35.469 CRITICAL (SyncWorker_9) [homeassistant.components.profiler] New objects overflowed by {'method': 290, 'SensorState': 6, 'SensorStateResponse': 2, 'Context': 854, 'dict_items': 8, 'ScalarInvalid': 8, 'chain': 8, 'frame': 960, 'builtin_function_or_method': 545, 'ReferenceType': 280, 'coroutine': 888, 'Future': 262, 'FutureIter': 177, 'Task': 227, 'tuple_iterator': 1, 'set_iterator': 1}
2023-05-15 13:26:11.863 CRITICAL (SyncWorker_8) [homeassistant.components.profiler] New object builtin_function_or_method (180454/180810) at ["Failed to serialize <class 'list'>", '<built-in method release of _thread.RLock object at 0x7fcce2b5c140>']: <built-in method release of _thread.RLock object at 0x7fcce2b5c140>
2023-05-15 13:26:13.066 CRITICAL (SyncWorker_8) [homeassistant.components.profiler] New objects overflowed by {'builtin_function_or_method': 520, 'method': 343, 'Context': 929, 'frame': 918, 'Task': 237, 'ReferenceType': 284, 'FileIO': 1, 'Future': 270, 'coroutine': 998, 'FutureIter': 202, 'CIMultiDict': 56, 'URL': 7, 'TimeoutHandle': 6, 'TimerContext': 8, 'SimpleCookie': 29, 'ClientRequest': 4, 'Connection': 10, 'HassClientResponse': 9, 'ConnectionKey': 12, 'RequestInfo': 15, 'CIMultiDictProxy': 10, 'TemplateState': 1, 'DNSQuestion': 1, 'coroutine_wrapper': 3, 'ClientTimeout': 14}
2023-05-15 13:26:41.276 CRITICAL (SyncWorker_1) [homeassistant.components.profiler] New object Context (174544/174866) at ["Failed to serialize <class 'list'>", '<homeassistant.core.Context object at 0x7fcce81ee200>']: <homeassistant.core.Context object at 0x7fcce81ee200>
2023-05-15 13:26:42.378 CRITICAL (SyncWorker_1) [homeassistant.components.profiler] New objects overflowed by {'Context': 847, 'frame': 861, 'method': 285, 'ReferenceType': 269, 'builtin_function_or_method': 490, 'WSMessage': 6, 'Task': 195, 'coroutine': 690, 'TemplateState': 1, 'Future': 258, 'FutureIter': 199}
2023-05-15 13:27:04.541 CRITICAL (SyncWorker_7) [homeassistant.components.profiler] New object method (93457/93642) at /usr/local/lib/python3.10/site-packages/pychromecast/socket_client.py: <bound method SocketClient.run_once of <SocketClient(Thread-8, started daemon 140518617475888)>>
2023-05-15 13:27:05.703 CRITICAL (SyncWorker_7) [homeassistant.components.profiler] New objects overflowed by {'method': 272, 'Context': 823, 'builtin_function_or_method': 503, 'frame': 920, 'ReferenceType': 260, 'State': 100, 'Task': 233, 'coroutine': 940, 'Future': 268, 'FutureIter': 193}
2023-05-15 13:27:41.043 CRITICAL (SyncWorker_5) [homeassistant.components.profiler] New object builtin_function_or_method (181582/181933) at ["Failed to serialize <class 'list'>", '<built-in method acquire of _thread.RLock object at 0x7fcce20f7e00>']: <built-in method acquire of _thread.RLock object at 0x7fcce20f7e00>
2023-05-15 13:27:42.219 CRITICAL (SyncWorker_5) [homeassistant.components.profiler] New objects overflowed by {'builtin_function_or_method': 496, 'frame': 825, 'Task': 221, 'ReferenceType': 259, 'Context': 824, 'method': 245, 'coroutine': 840, 'Future': 256, 'FutureIter': 176, 'TemplateState': 2}
2023-05-15 13:28:04.388 CRITICAL (SyncWorker_4) [homeassistant.components.profiler] New object method (93782/93975) at /usr/local/lib/python3.10/site-packages/influxdb/client.py: <bound method InfluxDBClient.write_points of <influxdb.client.InfluxDBClient object at 0x7fcd1b9dec80>>
2023-05-15 13:28:05.787 CRITICAL (SyncWorker_4) [homeassistant.components.profiler] New objects overflowed by {'method': 273, 'builtin_function_or_method': 514, 'Context': 815, 'Task': 232, 'ReferenceType': 253, 'Future': 266, 'coroutine': 912, 'frame': 904, 'FutureIter': 194}
2023-05-15 13:28:40.516 CRITICAL (SyncWorker_10) [homeassistant.components.profiler] New object builtin_function_or_method (182331/182683) at ["Failed to serialize <class 'list'>", '<built-in method acquire of _thread.RLock object at 0x7fcd05eb1180>']: <built-in method acquire of _thread.RLock object at 0x7fcd05eb1180>
2023-05-15 13:28:41.754 CRITICAL (SyncWorker_10) [homeassistant.components.profiler] New objects overflowed by {'builtin_function_or_method': 528, 'method': 265, 'RawResponseMessage': 1, 'coroutine': 909, 'frame': 859, 'ReferenceType': 259, 'Context': 839, 'ReceiveMessage': 134, 'Task': 222, 'Future': 259, 'FutureIter': 190, 'Struct': 2, 'TemplateState': 3}
2023-05-15 13:29:04.473 CRITICAL (SyncWorker_10) [homeassistant.components.profiler] New object method (94139/94381) at /usr/local/lib/python3.10/site-packages/influxdb/client.py: <bound method InfluxDBClient.write_points of <influxdb.client.InfluxDBClient object at 0x7fcd1b9dec80>>
2023-05-15 13:29:05.677 CRITICAL (SyncWorker_10) [homeassistant.components.profiler] New objects overflowed by {'method': 298, 'builtin_function_or_method': 529, 'Context': 865, 'frame': 959, 'ReferenceType': 279, 'Future': 266, 'coroutine': 911, 'FutureIter': 215, 'Task': 241, 'State': 103}
2023-05-15 13:29:41.143 CRITICAL (SyncWorker_2) [homeassistant.components.profiler] New object builtin_function_or_method (183070/183424) at ["Failed to serialize <class 'list'>", '<built-in method acquire of _thread.RLock object at 0x7fcd0a132d00>']: <built-in method acquire of _thread.RLock object at 0x7fcd0a132d00>
2023-05-15 13:29:42.563 CRITICAL (SyncWorker_2) [homeassistant.components.profiler] New objects overflowed by {'builtin_function_or_method': 469, 'method': 258, 'frame': 904, 'ReferenceType': 254, 'Context': 840, 'ScalarInvalid': 12, 'traceback': 24, 'dict_items': 1, 'chain': 6, 'EventTask': 3, 'Task': 217, 'Future': 253, 'coroutine': 933, 'FutureIter': 173, 'TemplateState': 1}
2023-05-15 13:30:11.178 CRITICAL (SyncWorker_7) [homeassistant.components.profiler] New object Context (177125/177517) at ["Failed to serialize <class 'list'>", '<_contextvars.Context object at 0x7fcce2b4dcc0>']: <_contextvars.Context object at 0x7fcce2b4dcc0>
2023-05-15 13:30:12.496 CRITICAL (SyncWorker_7) [homeassistant.components.profiler] New objects overflowed by {'method': 308, 'frame': 973, 'ReferenceType': 276, 'Context': 871, 'State': 111, 'Event': 120, 'builtin_function_or_method': 533, 'coroutine': 907, 'Future': 271, 'FutureIter': 193, 'ReadHoldingRegistersRequest': 1, 'Task': 230}
2023-05-15 13:30:38.309 CRITICAL (SyncWorker_10) [homeassistant.components.profiler] New object Context (177517/177832) at ['<TimerHandle when=1524692.6382852271 async_track_point_in_utc_time.<locals>.run_action(<Job EntityPl...7fcd13a33250>>) at /usr/src/homeassistant/homeassistant/helpers/event.py:1326>', '<_contextvars.Context object at 0x7fcd055b7340>']: <_contextvars.Context object at 0x7fcd055b7340>
2023-05-15 13:30:39.707 CRITICAL (SyncWorker_10) [homeassistant.components.profiler] New objects overflowed by {'coroutine': 922, 'frame': 907, 'Context': 854, 'ReferenceType': 263, 'builtin_function_or_method': 523, 'method': 251, 'Task': 221, '_GatheringFuture': 5, 'Future': 259, 'FutureIter': 182, 'TemplateState': 1}
2023-05-15 13:31:12.053 CRITICAL (SyncWorker_0) [homeassistant.components.profiler] New object ReadHoldingRegistersResponse (1/2) at ["Failed to serialize <class 'list'>", '<pymodbus.register_read_message.ReadHoldingRegistersResponse object at 0x7fcce14fbf40>']: <pymodbus.register_read_message.ReadHoldingRegistersResponse object at 0x7fcce14fbf40>
2023-05-15 13:31:13.447 CRITICAL (SyncWorker_0) [homeassistant.components.profiler] New objects overflowed by {'Context': 867, 'builtin_function_or_method': 525, 'method': 305, 'TemplateState': 1, 'Task': 223, 'ReferenceType': 272, 'Future': 264, 'coroutine': 948, 'frame': 876, 'FutureIter': 207, 'ReadHoldingRegistersResponse': 1}```

@bdraco
Copy link
Member

bdraco commented May 15, 2023

Probably need it to run for another 10-15m to get it narrowed down some more

@jjk0giap
Copy link

ok, here is log from 1 hour run short after crash. Only way for longer profiler run is set "Maximum objects" to 1. How to read these logs?
ha_memory_grow.log

@bdraco
Copy link
Member

bdraco commented May 16, 2023

We disabled cleanup closed with python 3.11 and aiohttp a few days ago which should fix at least one leak #93013 (this only affects cpython 3.11.1, 3.11.2, 3.11.3)

A better fix will come in cpython 3.11.4 via python/cpython#104485

If you haven't updated to 2023.5.3 yet, please do and if the leak persists you have another different leak and a new fresh log is needed.

@jjk0giap
Copy link

If you haven't updated to 2023.5.3 yet

I have 2023.5.3 already, please check this log again. Leak for me is ~2000MB per day.

@jjk0giap
Copy link

jjk0giap commented Jun 30, 2023

New info about issue: 2023.6 limited memory leaks, but problem presists.
image

Below log from ~1h profiler objects growth:
ha_memory_grow2.log

@bdraco could you take a look?

@kleytonn
Copy link
Author

kleytonn commented Jul 4, 2023

I've been using home-assistant core 2023.6.3 and I guess this memory issue was solved after Python 3.11.4 update on Fedora 38. It looks good for me now. Someone else have same thought?

@bdraco
Copy link
Member

bdraco commented Jul 4, 2023

@jjk0giap You have a different leak. Something is leaking Task and coroutine objects.

I'd start a new issue with a list of all your integrations

@bdraco
Copy link
Member

bdraco commented Jul 4, 2023

Since most memory leaks are not the same its best to start a new issue for each leak instead of trying to do everything in a single issue as nothing will get solved as we will be chasing conflicting information and wasting everyone's time.

I'm going to close out this issue since there are at least 3 different leaks in here and the OP's leak was likely already fixed by a previous update.

@bdraco bdraco closed this as not planned Won't fix, can't repro, duplicate, stale Jul 4, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Aug 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants