* Improve check of new_entity_id in entity_registry.async_update_entity * Fix race in rfxtrx config flow * Make sure Event is created on time * Rename poorly named variable * Fix typing * Correct typing of _handle_state_change