Since someone websocket subscriptions will use an iden of 2 for state_changed event (most comment), and some will use another number for all events, the cache would not be used because the iden number was different. We now cache only the event and use a fast replace to insert the iden number into the serailized response. |
||
---|---|---|
.. | ||
__init__.py | ||
conftest.py | ||
test_auth.py | ||
test_commands.py | ||
test_connection.py | ||
test_http.py | ||
test_init.py | ||
test_messages.py | ||
test_sensor.py |