* Always do thread safety check when writing state Refactor the 3 most common places where the thread safety check for the event loop to be inline to make the check fast enough that we can keep it long term. While code review catches most of the thread safety issues in core, some of them still make it through, and new ones keep getting added. Its not possible to catch them all with manual code review, so its worth the tiny overhead to check each time. Previously the check was limited to custom components because they were the most common source of thread safety issues. * Always do thread safety check when writing state Refactor the 3 most common places where the thread safety check for the event loop to be inline to make the check fast enough that we can keep it long term. While code review catches most of the thread safety issues in core, some of them still make it through, and new ones keep getting added. Its not possible to catch them all with manual code review, so its worth the tiny overhead to check each time. Previously the check was limited to custom components because they were the most common source of thread safety issues. * async_fire is more common than expected with ccs * fix mock * fix hass mocking |
||
---|---|---|
.. | ||
__init__.py | ||
common.py | ||
conftest.py | ||
data.py | ||
test_alarm_control_panel.py | ||
test_api.py | ||
test_backup.py | ||
test_base.py | ||
test_binary_sensor.py | ||
test_button.py | ||
test_climate.py | ||
test_cluster_handlers.py | ||
test_config_flow.py | ||
test_cover.py | ||
test_device.py | ||
test_device_action.py | ||
test_device_tracker.py | ||
test_device_trigger.py | ||
test_diagnostics.py | ||
test_discover.py | ||
test_fan.py | ||
test_gateway.py | ||
test_helpers.py | ||
test_init.py | ||
test_light.py | ||
test_lock.py | ||
test_logbook.py | ||
test_number.py | ||
test_radio_manager.py | ||
test_registries.py | ||
test_repairs.py | ||
test_select.py | ||
test_sensor.py | ||
test_silabs_multiprotocol.py | ||
test_siren.py | ||
test_switch.py | ||
test_update.py | ||
test_websocket_api.py | ||
zha_devices_list.py |